bugFree UCS Outline Fonts - Bugs: bug #15956, Line height is too big in sans and...


bug #15956: Line height is too big in sans and serif

Submitted by:  Eeli Kaikkonen <eelik>
Submitted on:  Thu 02 Mar 2006 09:37:45 AM UTC  
Votes:  40  
Category:  font info Severity:  4 - Important
Item Group:  bulk text appearance poor Status:  Fixed
Privacy:  Public Assigned to:  Steve White <Stevan_White>
Open/Closed:  Closed Release:  2006-01-26

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


( Jump to the original submission)

Mon 28 Apr 2008 11:49:59 PM UTC, comment #8:

Will there be a new release of the fonts that includes this fix?

Thu 14 Feb 2008 06:35:25 PM UTC, comment #7:

The merge with Debian sources, which applies one of the attached patches, fixes this.

Tested in:


Looked at all variants of the faces.

Steve White <Stevan_White>
Project AdministratorIn charge of this item.
Wed 13 Feb 2008 08:20:44 PM UTC, comment #6:

The patch is applied.

This is only part of the story though.

The OS2WinAscent and Descent values are an explicit specification for the line height. But why did the line height get so out of hand in the first place?

I think the answer is that in a few ranges, the glyph baseline is set far from where it should be, and sometimes the size of the glyphs are incommensurate with other ranges.

For example, compare the Arabic and Tamil ranges of FreeSerif with those of FreeSans. Make a string with some Arabic or Tamil characters next to some Latin ones. In FreeSerif both Arabic and Tamil characters float far above the Latin baseline, and the glyphs dwarf the largest Latin letters.

I will open a separate bug report on this.

Steve White <Stevan_White>
Project AdministratorIn charge of this item.
Fri 14 Jul 2006 01:06:38 PM UTC, comment #5:

Jan Willem Stumpel found the very last missing bit of that problem. Vertical spacing is incorrect in OOo because OS2WinAscent and OS2WinDescent are not set. Setting them solves the issue.

OS2WinAscent value = HheadAscent value;
OS2WinDescent value = negative of HheadDescent value.

The attached patch solves all this

Christian Perrier <bubulle>
Project Member
Wed 12 Jul 2006 05:22:31 PM UTC, comment #4:

Jan Willem Stumpel has proposed a solution for openoffice:


Paul Wise <pabs>
Mon 13 Mar 2006 06:41:12 PM UTC, comment #3:

A workaround has been proposed in Debian. It solves all the vertical line spacing issues, except maybe in OOo

Christian Perrier <bubulle>
Project Member
Sun 05 Mar 2006 03:08:53 PM UTC, comment #2:

Today, I tried various things to confirm whether the problem only lies in the Debian packages I build or not. ALL TTF fonts grabbed from the download area show this problem...either on Debian systems...or on Windows systems.

Christian Perrier <bubulle>
Project Member
Thu 02 Mar 2006 10:26:10 PM UTC, comment #1:

This bug has also been reported in Debian: http://bugs.debian.org/254113

Christian Perrier <bubulle>
Project Member
Thu 02 Mar 2006 09:37:45 AM UTC, original submission:

I have used FreeSans And FreeSerif with many applications. The fonts seem have a problem with line height. Lines are much too high. That makes the fonts almost unusable for most purposes. FreeMono doesn't have that problem. See the screenshot, it has exactly the same (copied) text in OpenOffice in different fonts. You can see from the first line that there is too much space above the letters.

Eeli Kaikkonen <eelik>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #1524:  004_workaround-spacing-bug added by bubulle (7KiB - text/x-diff - Workaround proposed in Debian)
file #1741:  line_hight.png added by eelik (44KiB - image/png - Line height of some fonts in OpenOffice)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by Stevan_White (Updated the item)
  • -email is unavailable- added by bubulle

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 40 encouragements so far.

    Only logged-in users can vote.




    Follow 18 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-02-14 Stevan_White StatusFix posted => Fixed
        Open/ClosedOpen => Closed
    2008-02-10 Stevan_White CategoryNone => font info
        Severity3 - Normal => 4 - Important
        Item GroupNone => bulk text appearance poor
    2008-02-09 Stevan_White StatusConfirmed => Fix posted
    2008-01-31 Stevan_White Assigned topeterlin => Stevan_White
        ReleaseNone => 2006-01-26
    2006-07-14 bubulle Attached File- => Added 004_workaround-spacing-bug, #10346
    2006-04-15 peterlin StatusNone => Confirmed
        Assigned toNone => peterlin
    2006-04-10 cluk Carbon-Copy- => Added cluk
    2006-04-06 gkyla Carbon-Copy- => Added -email is unavailable-
        Carbon-Copy- => Added gkyla
    2006-03-13 bubulle Attached File- => Added 004_workaround-spacing-bug, #3498
    2006-03-05 bubulle Carbon-Copy- => Added bubulle
    2006-03-02 bubulle Carbon-Copy- => Added -email is unavailable-
    2006-03-02 eelik Attached File- => Added line_hight.png, #3464

    Back to the top

    Powered by Savane 3.3