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 infoSeverity: 4 - Important
Item Group: bulk text appearance poorStatus: Fixed
Privacy: PublicAssigned to: Steve White <Stevan_White>
Open/Closed: ClosedRelease: 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 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 File(s):

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
  • -unavailable- added by Stevan_White (Updated the item)
  • -unavailable- added by bubulle

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 18 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 14 Feb 2008 06:35:25 PM UTCStevan_WhiteStatusFix posted=>Fixed
    Sun 10 Feb 2008 08:13:14 AM UTCStevan_WhiteCategoryNone=>font info
      Severity3 - Normal=>4 - Important
      Item GroupNone=>bulk text appearance poor
    Sat 09 Feb 2008 11:14:15 AM UTCStevan_WhiteStatusConfirmed=>Fix posted
    Thu 31 Jan 2008 08:45:20 AM UTCStevan_WhiteAssigned topeterlin=>Stevan_White
    Fri 14 Jul 2006 01:06:38 PM UTCbubulleAttached File-=>Added 004_workaround-spacing-bug, #10346
    Sat 15 Apr 2006 09:31:19 PM UTCpeterlinStatusNone=>Confirmed
      Assigned toNone=>peterlin
    Mon 10 Apr 2006 08:48:18 PM UTCclukCarbon-Copy-=>Added cluk
    Thu 06 Apr 2006 02:35:19 PM UTCgkylaCarbon-Copy-=>Added -unavailable-
      Carbon-Copy-=>Added gkyla
    Mon 13 Mar 2006 06:41:12 PM UTCbubulleAttached File-=>Added 004_workaround-spacing-bug, #3498
    Sun 05 Mar 2006 03:08:53 PM UTCbubulleCarbon-Copy-=>Added bubulle
    Thu 02 Mar 2006 10:26:10 PM UTCbubulleCarbon-Copy-=>Added -unavailable-
    Thu 02 Mar 2006 09:37:45 AM UTCeelikAttached File-=>Added line_hight.png, #3464

    Back to the top

    Powered by Savane 3.1-cleanup1