https://bugzilla.redhat.com/show_bug.cgi?id=1786596
Bug ID: 1786596 Summary: Vertical alignment is off with PANGO_GRAVITY_EAST and PANGO_GRAVITY_HINT_LINE Product: Fedora Version: 31 OS: Linux Status: NEW Component: pango Assignee: pwu@redhat.com Reporter: abetakehiko@gmail.com QA Contact: extras-qa@fedoraproject.org CC: caillon+fedoraproject@gmail.com, fonts-bugs@lists.fedoraproject.org, gnome-sig@lists.fedoraproject.org, i18n-bugs@lists.fedoraproject.org, john.j5live@gmail.com, mclasen@redhat.com, pwu@redhat.com, rhughes@redhat.com, rstrode@redhat.com, sandmann@redhat.com, tagoh@redhat.com Target Milestone: --- Classification: Fedora
Description of problem:
Japanese chars and Latin chars in the same line do not vertically align when the pango context's gravity is set to PANGO_GRAVITY_EAST and its hint set to PANGO_GRAVITY_HINT_LINE.
Version-Release number of selected component (if applicable):
pango-1.44.7-1.fc31.x86_64
How reproducible:
Always
Steps to Reproduce:
pango-view --text="あーいうえお abcde" --gravity east --gravity-hint line --font="NotoSerifJP 24"
Actual results:
Japanese chars and Latin chars in the same line do not vertically align.
Expected results:
Japanese chars and Latin chars in the same line vertically align as before.
Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1786596
--- Comment #1 from Takehiko Abe abetakehiko@gmail.com --- Created attachment 1647755 --> https://bugzilla.redhat.com/attachment.cgi?id=1647755&action=edit Actural result
Screen shot of
pango-view --text="あーいうえお abcde" --gravity east --gravity-hint line --font="NotoSerifJP 24"
https://bugzilla.redhat.com/show_bug.cgi?id=1786596
--- Comment #2 from Takehiko Abe abetakehiko@gmail.com --- Created attachment 1647756 --> https://bugzilla.redhat.com/attachment.cgi?id=1647756&action=edit Expected result
The expected result of calling
pango-view --text="あーいうえお abcde" --gravity east --gravity-hint line --font="NotoSerifJP 24"
https://bugzilla.redhat.com/show_bug.cgi?id=1786596
Peng Wu pwu@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value
--- Comment #3 from Peng Wu pwu@redhat.com --- Could you also report this issue to pango upstream?
https://bugzilla.redhat.com/show_bug.cgi?id=1786596
--- Comment #4 from Takehiko Abe abetakehiko@gmail.com --- (In reply to Peng Wu from comment #3)
Could you also report this issue to pango upstream?
I just opened an issue at gitlab.gnome.org:
https://gitlab.gnome.org/GNOME/pango/issues/454
https://bugzilla.redhat.com/show_bug.cgi?id=1786596
Peng Wu pwu@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|31 |rawhide
https://bugzilla.redhat.com/show_bug.cgi?id=1786596
Peng Wu pwu@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2021-08-26 07:14:10
--- Comment #6 from Peng Wu pwu@redhat.com --- I think this bug is fixed in Fedora 34, close bug.
i18n-bugs@lists.fedoraproject.org