bugThe FreeType Project - Bugs: bug #20620, FT_SIZE_REQUEST_TYPE_REAL_DIM...


bug #20620: FT_SIZE_REQUEST_TYPE_REAL_DIM produces crazy scale values with Agenda font

Submitted by:  Evgeniy Stepanov <azzy_>
Submitted on:  Sun 29 Jul 2007 05:44:45 PM UTC  
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: PostponedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Open
Planned Release: None

Add a New Comment(Rich Markup)

You are not logged in

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


Mon 30 Jul 2007 11:32:19 AM UTC, comment #1:

The font is buggy indeed since the `ascender' and `descender'
values in the `hhea' table are zero. However, there are valid
ascender and descender values in the `OS/2' table.

It seems to be a good idea to take those values in case `hhea'
data is invalid — BTW, how does this font behave under Windows?

George, David, comments, please.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sun 29 Jul 2007 05:44:45 PM UTC, original submission:

With Agenda fonts (Agenda-MediumItalic in my case) face->ascender and face->descender are zero. For this reason, face->size->metrics.x_scale and y_scale, calculated by FT_Request_Size with FT_SIZE_REQUEST_TYPE_REAL_DIM are some very large values. Is this a bug in FreeType, or just a broken font ? Font file attached.

Evgeniy Stepanov <azzy_>


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

Attach File(s):

Attached Files
file #13519:  Agenda-MediumItalic.ttf.bz2 added by azzy_ (31KiB - application/x-bzip)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  • -unavailable- added by azzy_ (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 30 Jul 2007 11:33:37 AM UTCwlCarbon-Copy-=>Added -unavailable-
    Mon 30 Jul 2007 11:33:08 AM UTCwlCarbon-CopyRemoved pfaedit=>-
    Mon 30 Jul 2007 11:32:19 AM UTCwlStatusNone=>Postponed
      Assigned toNone=>wl
      Carbon-Copy-=>Added freetype
      Carbon-Copy-=>Added pfaedit
    Sun 29 Jul 2007 05:44:45 PM UTCazzy_Attached File-=>Added Agenda-MediumItalic.ttf.bz2, #13519

    Back to the top

    Powered by Savane 3.1-cleanup1