Re: [ft-devel] Relevance of new API FT_Get_Module_Flags ?

2006-02-22 Thread George Williams
On Mon, 2006-02-20 at 01:56, david turner wrote:
 If this function's purpose is to determine wether the bytecode 
 interpreter is activated in a given
 FreeType build, I'd rather like to see a specific API that returns a 
 boolean, or an enum, instead
Can't you avoid even that by using dlopen(NULL) to give you a handle to
the current image and then use dlsym to see if TT_Run_Ins exists? Or
does that not port to other systems?



___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


Re: [ft-devel] Outline dumper for windows

2006-02-22 Thread Werner LEMBERG

 This small program can dump the outlines, hinted or unhinted, of
 glyphs under windows.  It is helpful for identifying whether certain
 rendering differences result from the bytecode interpreter or from
 the monochrone raster.

Very good that you've written that!  I've asked for such a program
years ago.  BTW, perhaps you find a better name for this smal
program...

 For example, we can dump the glyph `8' from tahoma at 11ppem. [...]

 these 3 points are 1/64 pixel higher under windows.  We then know
 that the rendering difference should result from the bytecode
 interpreter.  (the IP just before the IUPs is suspicious.  It seems
 windows is doing something undocumented.)

Probably, I don't know

 Werner knew this. I don't know how he knew though :-)

Using FontForge to single-step through the bytecode instructions!
This makes great fun (and drives George crazy because of my many bug
reports and feature suggestions).


Werner


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


Re: [ft-devel] Outline dumper for windows

2006-02-22 Thread Chia-I Wu
On Wed, Feb 22, 2006 at 08:46:12AM +0100, Werner LEMBERG wrote:
 Very good that you've written that!  I've asked for such a program
 years ago.  BTW, perhaps you find a better name for this smal
 program...
On my box, I name it `a.c' :-)

 Using FontForge to single-step through the bytecode instructions!
 This makes great fun (and drives George crazy because of my many bug
 reports and feature suggestions).
I tried to debug the `7' of verdana with fontforge's bytecode debugger
and verify every calculation by hand.  It was fun until I met SDPVTL...

-- 
Regards,
olv


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel