Skip to content

Issue #322 - Vertical text doesn't fall back to rotated versions of horizontal glyphs when necessary

ONO Yoshio requested to merge yoshio/pango:issue-322 into master

Thank you for your great efforts about pango!

This patch fix #322 (closed).

Implemented UTR#50 to determine whether characters rotate or not in vertical layout.

pango-context used g_unichar_iswide() to determine whether characters rotate or not in vertical layout. But There are characters that are wide but defined as rotated in UTR#50. On the contrary, g_unichar_iswide() returns that some characters are not wide, but tey are defined as upright in UTR#50.

Some Hangul jamo is already defined forcedly as upright. But it is insufficient. This patch contains the range, So it does not break previous fix.

This patch fix that Some emoji are rotated in vertical layout.

Please review and merge this request. Thanks!

Merge request reports