Bug 1786596 - Vertical alignment is off with PANGO_GRAVITY_EAST and PANGO_GRAVITY_HINT_LINE
Summary: Vertical alignment is off with PANGO_GRAVITY_EAST and PANGO_GRAVITY_HINT_LINE
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: pango
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Peng Wu
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-26 12:15 UTC by Takehiko Abe
Modified: 2020-10-20 06:31 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)
Actural result (11.47 KB, image/png)
2019-12-26 12:16 UTC, Takehiko Abe
no flags Details
Expected result (10.83 KB, image/png)
2019-12-26 12:17 UTC, Takehiko Abe
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.