freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IMPORTANT! Re: [ft] Problem with Verdana Bold


From: Ismail Donmez
Subject: Re: IMPORTANT! Re: [ft] Problem with Verdana Bold
Date: Thu, 23 Nov 2006 14:21:34 +0200
User-agent: KMail/1.9.5

22 Kas 2006 Çar 12:36 tarihinde, Werner LEMBERG şunları yazmıştı: 
> > Currently, I can't debug the fpgm/prep tables with FontForge because
> > it crashes.  Rogier, maybe this information gives you further hints.
> > It seems that we have wrong assumptions on the storage area, and how
> > RS/WS interact with the CVT.
>
> George provided a quick patch, so I was able to debug it.
>
> I have found the problem, which is something completely different:
> Function #84 (defined in the <fpgm> table) in font verdanab.ttf
> (version 2.40) is called as the last subroutine in the <prep> table.
> Within the function, the GETINFO instruction is called to find out
> whether we do grayscaling.  If yes, storage[2] is set to 1 and to 0
> otherwise.  The <gasp> table indicates that you must not use gray
> scaling in the range 9-16, so everything is fine.
>
> However, verdanab.ttf exhibited two bugs in FreeType, which I've now
> fixed:
>
>   . `tt_loader_init' never reset `exec->grayscale' properly because a
>     wrong constant has been used in a comparison.
>
>   . A change from mono to grayscale rendering (and vice versa)
>     requires a re-execution of `tt_face_load_prep'.

Is the bug supposed to be fixed now? Becase I can still reproduce with latest 
CVS.

Regards,
ismail




reply via email to

[Prev in Thread] Current Thread [Next in Thread]