Bug 1786596

Summary: Vertical alignment is off with PANGO_GRAVITY_EAST and PANGO_GRAVITY_HINT_LINE
Product: [Fedora] Fedora Reporter: Takehiko Abe <abetakehiko>
Component: pangoAssignee: Peng Wu <pwu>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: caillon+fedoraproject, fonts-bugs, gnome-sig, i18n-bugs, john.j5live, mclasen, pwu, rhughes, rstrode, sandmann, tagoh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-26 07:14:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Actural result
none
Expected result none

Description Takehiko Abe 2019-12-26 12:15:20 UTC
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:

Comment 1 Takehiko Abe 2019-12-26 12:16:25 UTC
Created attachment 1647755 [details]
Actural result

Screen shot of

pango-view --text="あーいうえお abcde" --gravity east --gravity-hint line --font="NotoSerifJP 24"

Comment 2 Takehiko Abe 2019-12-26 12:17:26 UTC
Created attachment 1647756 [details]
Expected result

The expected result of calling

pango-view --text="あーいうえお abcde" --gravity east --gravity-hint line --font="NotoSerifJP 24"

Comment 3 Peng Wu 2020-01-02 05:46:54 UTC
Could you also report this issue to pango upstream?

Comment 4 Takehiko Abe 2020-01-03 09:13:28 UTC
(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

Comment 5 Ben Cotton 2021-02-09 15:13:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 6 Peng Wu 2021-08-26 07:14:10 UTC
I think this bug is fixed in Fedora 34, close bug.