Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TEST] Fix arabic display #85

Closed
wants to merge 3 commits into from
Closed

[TEST] Fix arabic display #85

wants to merge 3 commits into from

Conversation

ma8ma
Copy link
Owner

@ma8ma ma8ma commented Mar 30, 2024

このPRはテストのためマージしません。

[TEST] NodeTreeBase: Parse arabic chararacter reference

文字参照をデコードする処理を更新してアラビア文字のテキストの前後に双方向テキストの記号を追加します。

位置 記号
U+202B Right-to-left embedding (RLE)
U+202C Pop directional formatting (PDF)

[TEST] NodeTreeBase: Use U+200E Left-to-right mark (LRM)

RLE と PDF でアラビア文字を囲うかわりにアラビア文字のテキストの前にU+200E Left-to-right mark (LRM) を挿入する方法を使います。

[TEST] DrawAreaBase: Fix text baseline including arabic for PangoLayout mode

PangoLayout を使って文字を描画するモードのときアラビア文字のレイアウトがy座標で下にずれる問題を修正します。

関連のdiscussion: JDimproved#1367

文字参照をデコードする処理を更新してアラビア文字のテキストの前後に
双方向テキストの記号を追加します。

位置 | 記号
---  | ---
前   | U+202B Right-to-left embedding (RLE)
後   | U+202C Pop directional formatting (PDF)
RLE と PDF でアラビア文字を囲うかわりにアラビア文字のテキストの前に
U+200E Left-to-right mark (LRM) を挿入する方法を使います。
…ut mode

PangoLayout を使って文字を描画するモードのときアラビア文字のレイアウトが
y座標で下にずれる問題を修正します。
@ma8ma ma8ma added bug Something isn't working archive labels Mar 30, 2024
@ma8ma ma8ma changed the title rIdea arabic display [TEST] Fix arabic display Mar 30, 2024
@ma8ma
Copy link
Owner Author

ma8ma commented Apr 6, 2024

検証を終えたため閉じます。

@ma8ma ma8ma closed this Apr 6, 2024
@ma8ma ma8ma deleted the idea-arabic-display branch April 6, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
archive bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant