After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 777093 - Inconsistent line wrapping with Adobe Source Sans font
Inconsistent line wrapping with Adobe Source Sans font
Status: RESOLVED OBSOLETE
Product: pango
Classification: Platform
Component: general
1.40.x
Other All
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2017-01-10 13:58 UTC by Martin Natano
Modified: 2018-05-22 13:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
long text (6.70 KB, image/png)
2017-01-10 13:58 UTC, Martin Natano
Details
short text (5.62 KB, image/png)
2017-01-10 13:59 UTC, Martin Natano
Details

Description Martin Natano 2017-01-10 13:58:24 UTC
Created attachment 343245 [details]
long text

With the Adobe Source Sans Font the line wrapping sometimes produces sporadic results. The wrapping seems to be dependent on the following text, so that a short text doesn't "fit" on a line, but does if it is followed by more text. This phenomen can be observed with pango-view:

pango-view --text='W1D1,W1D7,W2D14,W3D21,W4D28' --width 158 --wrap=word-char --font='Source Sans Pro 14'
(long text; look at the first line)

pango-view --text='W1D1,W1D7,W2D14,W3D21,' --width 158 --wrap=word-char --font='Source Sans Pro 14'
(short text; only the first line of the previous example, but now wrapped to two lines)

I see this with pango 1.40.3 on OpenBSD and pango 1.38.1 on Ubuntu 16.04.1.
I was not able to reproduce this issue with other fonts.
Comment 1 Martin Natano 2017-01-10 13:59:08 UTC
Created attachment 343246 [details]
short text
Comment 2 Behdad Esfahbod 2017-01-10 18:24:16 UTC
Yeah I'm sure I've seen this.  It's annoying.  I don't have time to go down that rabbit hole currently though.
Comment 3 GNOME Infrastructure Team 2018-05-22 13:21:04 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pango/issues/267.