bugThe FreeType Project - Bugs: bug #20973, truetype hinting bug

 
 

bug #20973: truetype hinting bug

Submitted by:  None
Submitted on:  Tue 04 Sep 2007 07:59:47 PM UTC  
Votes:  10  
 
Severity: 3 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.3.6

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)

Sun 25 May 2008 08:21:29 PM UTC, comment #10:

Both bugs are fixed, it renders flawlessly now.

Samuel Lidén Borell <samuellb>
Sun 25 May 2008 08:05:48 PM UTC, comment #9:

I missed a cast. Should be fixed now, please test.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sun 25 May 2008 02:30:23 PM UTC, comment #8:

The first one is DejaVu Sans Book 10pt. The other one is DejaVu Serif Book 10pt.

Samuel Lidén Borell <samuellb>
Sun 25 May 2008 02:22:51 PM UTC, comment #7:

which font? which size?

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sun 25 May 2008 02:08:15 PM UTC, comment #6:

This bug is gone in CVS. However, it seems that another bug is caused by the fix for this bug (see the attached screenshot).

(file #15730)

Samuel Lidén Borell <samuellb>
Sun 25 May 2008 01:02:55 PM UTC, comment #5:

This bug is now fixed in the CVS, please test.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Mon 25 Feb 2008 10:05:20 PM UTC, comment #4:

Disabling FIX_BYTECODE in src/truetype/ttinterp.c fixes this bug.

Samuel Lidén Borell <samuellb>
Mon 25 Feb 2008 09:55:01 PM UTC, comment #3:

This bug was introduced between 16:50:53-54. The files that were modified then were:

ChangeLog
include/freetype/internal/ftgloadr.h
include/freetype/internal/tttypes.h
src/base/ftgloadr.c
src/base/ftobjs.c
src/truetype/ttgload.c
src/truetype/ttinterp.c

Samuel Lidén Borell <samuellb>
Mon 25 Feb 2008 09:17:32 PM UTC, comment #2:

I've done some binary search testing, and I can tell that FreeType2 from:
2006-08-16 16:30 works
2006-08-16 16:55 is broken

(the times are UTC)

I'll try to find out exactly which patch is causing this

Samuel Lidén Borell <samuellb>
Thu 06 Sep 2007 10:05:17 PM UTC, comment #1:

I confirm this with the current CVS. David?

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Tue 04 Sep 2007 07:59:47 PM UTC, original submission:

There seems to be a bug due to 2.2 to 2.3 changes in TrueType hinting.
See the example aring U+00E5 in DejaVu Sans Book [1] where the ring
above isn't properly rendered at some size with freetype 2.3.5. The
problem seem to occur wiht some MDRP instructions.
This also happens with a few other fonts.

[1] http://prdownloads.sourceforge.net/dejavu/dejavu-sans-ttf-2.19.zip?download

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #15730:  ft-different-rendering.png added by samuellb (26KiB - image/png - New bug in CVS)
file #13878:  DejaVuSans-aring-ft2.2-vs-2.3.png added by None (4KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by samuellb (Posted a comment)
  • -unavailable- added by samuellb (Voted in favor of this item)
  • -unavailable- added by wl (Posted a comment)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 25 May 2008 08:05:48 PM UTCwlStatusNeed Info=>Fixed
    Sun 25 May 2008 02:22:51 PM UTCwlStatusFixed=>Need Info
    Sun 25 May 2008 02:08:15 PM UTCsamuellbAttached File-=>Added ft-different-rendering.png, #15730
    Sun 25 May 2008 01:02:55 PM UTCwlStatusConfirmed=>Fixed
      Assigned tofreetype=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.3.6
    Mon 18 Feb 2008 07:06:35 PM UTCsamuellbCarbon-Copy-=>Added samuellb
    Thu 06 Sep 2007 10:05:17 PM UTCwlStatusNone=>Confirmed
      Assigned toNone=>freetype
    Tue 04 Sep 2007 07:59:47 PM UTCNoneAttached File-=>Added DejaVuSans-aring-ft2.2-vs-2.3.png, #13878

    Back to the top


    Powered by Savane 3.1-cleanup1