Bug 557862

Summary: Liberation Mono is not really monospaced font
Product: [Fedora] Fedora Reporter: Kirill Kolyshkin <kolyshkin>
Component: liberation-fontsAssignee: Caius Chance <K9>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: fonts-bugs, i18n-bugs, K9, petersen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: liberation-fonts-1.06.0.20100721-3.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-25 08:43:47 UTC Type: ---
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
lmbug1.png
none
lmbug2.png
none
lmbug3.png
none
lmbug4.png none

Description Kirill Kolyshkin 2010-01-22 18:03:22 UTC
Description of problem:
When using Liberation Mono as a default monospace font in Firefox,
I have noticed that the lines of equal width (in terms of characters)
all have different width. It can clearly be seen on a screenshots that
I will attach shortly.

It took me about 15 minutes to understand it. I tried with Andale Mono and it looks fine.

Version-Release number of selected component (if applicable):
$ rpm -q liberation-mono-fonts liberation-fonts-common fontconfig freetype firefox fedora-release
liberation-mono-fonts-1.05.1.20090721-2.fc12.noarch
liberation-fonts-common-1.05.1.20090721-2.fc12.noarch
fontconfig-2.8.0-1.fc12.x86_64
fontconfig-2.8.0-1.fc12.i686
freetype-2.3.11-3.fc12.x86_64
freetype-2.3.11-3.fc12.i686
firefox-3.5.6-1.fc12.x86_64
fedora-release-12-2.noarch


How reproducible:
always

Steps to Reproduce:
1. make sure liberation mono is installed (rpm -q liberation-mono-fonts) and available (fc-match 'liberation mono')
2. Open this page in your browser http://kir.sacred.ru/tmp/liberation-mono.html
3. Try increasing/decreasing text size (in case of Firefox use Ctrl with +/-).
  
Actual results:
Lines are of different width

Expected results:
Lines are of the same width

Additional info:

Comment 1 Kirill Kolyshkin 2010-01-22 18:03:54 UTC
Created attachment 386212 [details]
lmbug1.png

Comment 2 Kirill Kolyshkin 2010-01-22 18:04:27 UTC
Created attachment 386213 [details]
lmbug2.png

Comment 3 Kirill Kolyshkin 2010-01-22 18:05:01 UTC
Created attachment 386214 [details]
lmbug3.png

Comment 4 Kirill Kolyshkin 2010-01-22 18:05:23 UTC
Created attachment 386215 [details]
lmbug4.png

Comment 5 Kirill Kolyshkin 2010-01-22 18:11:03 UTC
(1) I consider this is a major bug.

(2) A very interesting thing (if you look at screenshots) is we have different relative line widths on different font sizes: say on lmbug3.png line #3 is longest, while on lmbug1.png and lmbug2.png it is shortest!

Comment 6 Kirill Kolyshkin 2010-01-22 18:50:24 UTC
This is becoming even more interesting. On a colleague's system (Fedora 11) it looks fine, here's the versions of packages she have:

$ rpm -q liberation-mono-fonts liberation-fonts-common fontconfig freetype firefox fedora-release
liberation-mono-fonts-1.04.93-10.fc11.noarch
liberation-fonts-common-1.04.93-10.fc11.noarch
fontconfig-2.8.0-1.fc11.x86_64
fontconfig-2.8.0-1.fc11.i586
freetype-2.3.9-5.fc11.i586
freetype-2.3.9-5.fc11.x86_64
firefox-3.5.6-1.fc11.x86_64
fedora-release-11-1.noarch

Comment 7 Kirill Kolyshkin 2010-01-22 18:53:45 UTC
Firefox is not guilty -- I have just reproduced the issue using Mousepad text editor from XFCE.

Comment 8 Kirill Kolyshkin 2010-01-22 19:04:19 UTC
Downgrading freetype to version from F11 (ie 2.3.9-5) not helped.

Rebuilding the font package from src (liberation-fonts-1.05.1.20090721-2.fc12.src.rpm) not helped

*Downgrading the font package (to a version from F11, ie 1.04.93-10.fc11) did helped!*

So the problem lies somewhere in between 1.0.4 and 1.0.5

Comment 9 Kirill Kolyshkin 2010-01-22 19:12:12 UTC
OK I guess it's dupe of #508899

Comment 10 Kirill Kolyshkin 2010-01-22 19:12:25 UTC
OK I guess it's dupe of bug #508899

Comment 11 Kirill Kolyshkin 2010-01-25 08:43:47 UTC

*** This bug has been marked as a duplicate of bug 508899 ***

Comment 12 Fedora Update System 2010-10-13 04:49:07 UTC
liberation-fonts-1.06.0.20100721-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/liberation-fonts-1.06.0.20100721-3.fc14

Comment 13 Fedora Update System 2010-10-18 05:41:15 UTC
liberation-fonts-1.06.0.20100721-3.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.