Bug 487581 - Liberation Mono: incorrect spacing for Combining Diacritical Marks.
Summary: Liberation Mono: incorrect spacing for Combining Diacritical Marks.
Alias: None
Product: Fedora
Classification: Fedora
Component: liberation-fonts
Version: 14
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Pravin Satpute
QA Contact: Fedora Extras Quality Assurance
Depends On: 503430
TreeView+ depends on / blocked
Reported: 2009-02-26 20:14 UTC by Adam Buchbinder
Modified: 2010-10-12 10:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-10-12 10:47:33 UTC

Attachments (Terms of Use)
Video of the issue being triggered. (290.73 KB, video/ogg)
2009-02-26 20:19 UTC, Adam Buchbinder
no flags Details
Text triggering the issue. (5 bytes, text/plain)
2009-07-03 14:05 UTC, Adam Buchbinder
no flags Details

Description Adam Buchbinder 2009-02-26 20:14:00 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2009020911 Ubuntu/8.10 (intrepid) Firefox/3.0.6

According to the bug on freedesktop.org (link below), Liberation Mono has an incorrect spacing definition for "Combining Diacritical Marks"; they should have zero space, and should render above the last letter, not the next one.

Paste following text with selected font:

Correct: accent above o
Incorrect: accent above g

Reproducible: Always

Steps to Reproduce:
1. Enter a string with a combining diacritic mark in Liberation Mono, e.g., "o̍g". Don't use gnome-terminal; it relies on vte, which doesn't handle combining characters. Use something like gedit; switching fonts will reveal the issue as the diacritical mark switches places.
Actual Results:  
The diacritic appears one letter to the right of where it should be.

Expected Results:  
The diacritic should appear in the proper place.

I'm using ttf-liberation 1.04.93-1 on Ubuntu Intrepid; I'm filing this as an upstream bug. If this should be filed elsewhere, please let me know.

I'm filing this because several monospace fonts have incorrect spacing for "Combining Diacritical Marks":


Comment 1 Adam Buchbinder 2009-02-26 20:19:23 UTC
Created attachment 333380 [details]
Video of the issue being triggered.

This video shows the diacritic changing position when the selected font is changed. Note that the diacritic moves to the right when Liberation Mono is selected.

Comment 2 Bug Zapper 2009-06-09 11:40:02 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:

Comment 4 Adam Buchbinder 2009-07-03 02:28:31 UTC
I downloaded the source and, I think, got the current ( version to display in gedit. (I removed ttf-liberation, then placed the compiled fonts in ~/.fonts and ran "fc-cache ~/.fonts".)

Can I ask why this bug was closed? I wasn't reporting it against a particular version of Red Hat or Fedora; I don't run a version of Red Hat or Fedora. I was under the impression that this was the upstream bugtracker for the Liberation fonts--is there somewhere else I should be submitting this?

I'm setting this to ASSIGNED, because Bugzilla won't let me change it to anything else other than CLOSED.

Comment 6 Adam Buchbinder 2009-07-03 14:04:04 UTC
As I said, I don't run a Red Hat-based OS, and the latest version packaged for anything Debian-based is 1.04.93. I performed the same test as the one shown in the attached video above, switching between the default Monospace font (I think it's DejaVu Sans Mono, but all I know for sure is that it isn't Liberation Mono, because the diacritics display properly) and what I'm reasonably sure is the new version of Liberation Mono.

When I do this, as in the video above, the diacritic hops from the top of the 'o' (where it should be) to the top of the 'g' (where it should not be).

Here's an easier way to reproduce it. Download "og.txt" (which I'll attach shortly) and run the following commands (you'll need the pango dev package for pango-view):

$ pango-view og.txt --font="DejaVu Sans Mono"
[Accent appears over the 'o']

$ pango-view og.txt --font="Liberation Mono"
[Accent appears over the 'g']

Does this make the problem more clear? It should be pretty trivial to reproduce.

Comment 7 Adam Buchbinder 2009-07-03 14:05:37 UTC
Created attachment 350439 [details]
Text triggering the issue.

Comment 8 Caius Chance 2009-07-06 04:49:14 UTC
Hi, is "o̍g" the only combination with this problem that spotted by you? I could see if I could fix, given that it is not hinting problem.

Comment 9 Caius Chance 2009-07-06 04:54:58 UTC
Confirmed problem exists in

Comment 12 Adam Buchbinder 2010-03-17 02:57:18 UTC
I just retested this on Ubuntu Karmic, which includes ttf-liberation version; the problem is still present, as before. (Apologies for the delay; it's difficult for me to test new versions of the fonts easily, as I haven't been able to come up with an easier way of checking.)

Comment 13 Caius Chance 2010-03-17 03:26:52 UTC
Thanks. I have planned to spend more time on this font set.

Comment 14 Bug Zapper 2010-04-27 13:03:29 UTC
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 11 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

Comment 15 Caius Chance 2010-05-06 08:39:25 UTC
I have checked on Dejavu Mono. To have the font behave like what you said, it involved 3 chars 'o', 'uni030d', 'g'. Then, it needs 3 GSUB lookup tables - 'ccmp', 'dlig' and 'mark' - to convert into what you expected.

In fact I have checked version 1.02 which is the initial archive, there had been no uni030D glyph ever existed. Hence, I would certainly Liberation Fonts do not support the languages that consist of 'o̍g'.

Yes, you are always welcomed to request for this, but this is not a bug but a feature request. Thank you very much. Please file a ticket at upstream tracker:


I am closing this because this is not a bug.

Comment 17 Fedora Admin XMLRPC Client 2010-07-15 00:22:12 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 18 Bug Zapper 2010-07-30 10:36:47 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.

More information and reason for this action is here:

Comment 19 Pravin Satpute 2010-10-12 10:47:33 UTC
While checking more on this i found there are characters from Range U+0300 to U+033E need GPOS rules for combining with previous characters.

Liberation is not supporting any of this shape, so this is not a bug.

Please report Request For Enhancements (RFE) if need this support, give information i.e in which language this thing is required etc

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