Bug 479371

Summary: Broken hinting on "u" in Liberation Mono Bold
Product: [Fedora] Fedora Reporter: Cody Boisclair <cody>
Component: liberation-fontsAssignee: Caius Chance <K9>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: fonts-bugs, i18n-bugs, K9
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-01 02:49:41 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:
Bug Depends On:    
Bug Blocks: 485746    
Attachments:
Description Flags
Liberation Mono Bold 1.04.93 with antialiasing on
none
Liberation Mono Bold 1.04.93 with antialiasing off
none
test fix, post auto-hinting applied with fontforge
none
Appearance of auto-hinted "u" in Liberation Mono
none
screenshot w/ fix sample
none
screenshot w/ fix sample
none
screenshot w/ fix sample
none
screenshot w/ fix sample
none
fixed by copying hinting from "u" in v1.03
none
Screenshot of fix from attachment 329538 none

Description Cody Boisclair 2009-01-09 05:34:49 UTC
Created attachment 328517 [details]
Liberation Mono Bold 1.04.93 with antialiasing on

Description of problem:
Though the hinting has been fixed in Sans Bold as of version 1.04.92, the letter  "u" still has incorrect hinting in Mono Bold, an error that's quite noticeable in certain sizes on any system with bytecode hinting enabled. I'm attaching a screenshot from Ubuntu to demonstrate; of particular note are 9 point (the second line) and 12 point (the 5th line).

Version-Release number of selected component (if applicable):
1.04.93

Comment 1 Cody Boisclair 2009-01-09 05:35:40 UTC
Created attachment 328518 [details]
Liberation Mono Bold 1.04.93 with antialiasing off

Comment 2 Caius Chance 2009-01-21 01:47:56 UTC
(In reply to comment #1)

Would you mean the pixel on bottom left corner?

Comment 3 Caius Chance 2009-01-21 01:49:42 UTC
Created attachment 329524 [details]
test fix, post auto-hinting applied with fontforge

Could you please check if this .ttf has 'u' fixed?

Comment 4 Cody Boisclair 2009-01-21 02:27:07 UTC
Created attachment 329526 [details]
Appearance of auto-hinted "u" in Liberation Mono

Comment 5 Cody Boisclair 2009-01-21 02:27:37 UTC
Still broken, but in a different way. See attachment 329526 [details].

For what it's worth, the "u" is OK in version 1.03 of the font - can the hinting be copied from that version?

Comment 6 Caius Chance 2009-01-21 02:50:20 UTC
I have checked again. The hinting instructions and cvt are totally same between ver 1.03 and current version.

Comment 7 Cody Boisclair 2009-01-21 03:00:23 UTC
Weird. No idea what would be causing that. I may have to play with it in FontForge some myself to see what might be causing this quirk...

Comment 8 Caius Chance 2009-01-21 03:15:04 UTC
I have triaged on my Fedora 10 and Liberation Mono Bold looks fine (attached screenshots).

Since I didn't have problem on my OpenOffice, I currently have no idea about this yet.

Comment 9 Caius Chance 2009-01-21 03:16:35 UTC
Created attachment 329532 [details]
screenshot w/ fix sample

Comment 10 Caius Chance 2009-01-21 03:17:14 UTC
Created attachment 329535 [details]
screenshot w/ fix sample

Comment 11 Caius Chance 2009-01-21 03:19:12 UTC
Created attachment 329536 [details]
screenshot w/ fix sample

Comment 12 Caius Chance 2009-01-21 03:20:14 UTC
Created attachment 329537 [details]
screenshot w/ fix sample

Comment 13 Cody Boisclair 2009-01-21 03:22:53 UTC
It looks fine with hinting turned off on my system too; same if I set fontconfig to use auto-hinting. Only if I use bytecode hinting (which is enabled by default in Ubuntu) does it look "wrong".

Comment 14 Cody Boisclair 2009-01-21 03:44:50 UTC
Created attachment 329538 [details]
fixed by copying hinting from "u" in v1.03

Comment 15 Cody Boisclair 2009-01-21 03:46:27 UTC
Created attachment 329539 [details]
Screenshot of fix from attachment 329538 [details]

Comment 16 Cody Boisclair 2009-01-21 03:48:04 UTC
I fixed it by using Edit -> Copy From -> TrueType Instructions to copy the "u" character from version 1.03 to 1.04. The font file itself is in attachment 329538 [details], and a screenshot of how the fixed version appears under bytecode hinting is in attachment 329539 [details]. Feel free to adopt this patched version.

Comment 17 Bug Zapper 2009-06-09 10:37:56 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 18 Caius Chance 2009-07-01 02:49:41 UTC
Zap this bug. Please reopen if bug persists after testing on latest version.