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: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: pango
Version: 34
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: 2021-08-26 07:14 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-08-26 07:14:10 UTC
Type: Bug
Embargoed:


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

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.


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