bugThe FreeType Project - Bugs: bug #31028, Outline rendering regression ...

 
 

bug #31028: Outline rendering regression 2.3.12->2.4.0

Submitted by:  Ineiev <ineiev>
Submitted on:  Tue 14 Sep 2010 06:48:40 AM UTC  
 
Severity: 3 - NormalItem Group: None
Status: InvalidPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 15 Sep 2010 11:47:18 AM UTC, comment #1:

I've just tested both 2.3.12 and the current git repository. In both cases, the lower left point gets shifted (approx by a half pixel) to the left. This looks like a hinting error in the font.

I suspect that your 2.3.12 version has disabled the bytecode interpreter (which was the default for 2.3.12, but which is now enabled by default since the patents have expired), and you get the results of the autohinter instead.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Tue 14 Sep 2010 06:48:40 AM UTC, original submission:

I render the glyph with index 109
of attached lohit_hi.ttf. it is a rectangle, and
ft2view confirms it, both 2.3.12 and 2.4.0
(the emboldened version doesn't look quite perfect,
but it is a different issue).

I run the attached sample program calling
FT_Outline_Decompose. when linked with 2.3.12,
it emits a rectangle (the command line is
'./dec 109 <lohit_hi.ttf'):

move_to (330 0)
line_to 330 1156
line_to 448 1156
line_to 448 0
line_to 330 0
line_to 330 0

With 2.4.0, it produces a trapezium
(note 'line_to 320 1152' instead of 290 1152):

move_to (290 0)
line_to 320 1152
line_to 406 1152
line_to 406 0
line_to 290 0
line_to 290 0

Ineiev <ineiev>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #21449:  dec.c added by ineiev (2KiB - text/x-csrc - sample program and offended font)
file #21450:  lohit_hi.ttf added by ineiev (77KiB - application/x-font-ttf - sample program and offended font)

 

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 ineiev (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 15 Sep 2010 11:47:18 AM UTCwlStatusNone=>Invalid
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
    Tue 14 Sep 2010 06:48:40 AM UTCineievAttached File-=>Added dec.c, #21449
      Attached File-=>Added lohit_hi.ttf, #21450

    Back to the top


    Powered by Savane 3.1-cleanup1