[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ft-devel] Regarding the 2.1.10 release (misbehavior offontforge)
From: |
Turner, David |
Subject: |
RE: [ft-devel] Regarding the 2.1.10 release (misbehavior offontforge) |
Date: |
Wed, 30 Mar 2005 16:39:41 +0200 |
Hello George,
given the amount of things you rely on, and the fact that we
have no time to define a safe way to expose all of this,
wouldn't it make sense to simply duplicate the code within
FontForge ?
It would also allow you to modify it, for example to improve
its debugging output.
Of course, you'll have to use the #define PATENT trick as well,
but that's a different story.
Best Regards,
- David Turner
- The FreeType Project (www.freetype.org)
> -----Message d'origine-----
> De : George Williams [mailto:address@hidden
> Envoyé : jeudi 24 mars 2005 16:45
> À : Turner, David
> Cc : address@hidden
> Objet : RE: [ft-devel] Regarding the 2.1.10 release (misbehavior
> offontforge)
>
>
> On Thu, 2005-03-24 at 06:22, Turner, David wrote:
> > The important thing is to agree on a public API to expose
> the features
> > you need. If you could list all the "features" you need, that would
> > help us a lot.
> Oof. It's rather deeply nested but:
>
> I'm currently including the header
> ttinterp.h
> (for TT_ExecContextRec)
> which includes
> ttobjs.h
> (These are not even in the internal directory, they live in
> the truetype
> subdirectory. In my configuration phase I use 'find' to search for the
> freetype source installation)
>
> I'm using these two unexpected calls:
> FT_Set_Debug_Hook (Actually that one is exposed)
> TT_RunIns
>
> I look at
> TT_ExecContextRec_
> and use these fields:
> top
> stack
> pts
> twilight
> GS
> curRange
> code
> IP
> codeSize
> cvtSize
> cvt
> callTop
> callStack
> storeSize
> storage
> period
> phase
> threshold
> instruction_trap
>
> Which means I indirectly use:
> TT_GlyphZoneRec
> TT_GraphicsState
> TT_CallStack
>
> --------------------------------------------------------------------
> I generally use dlopen to load the library and do runtime testing of
> version number, as well as checking that the routines I want are
> compiled into it (if your runtime freetype doesn't have the bytecode
> interpreter available, then your fontforge doesn't have the debugger,
> etc.)
>
>
- RE: [ft-devel] Regarding the 2.1.10 release (misbehavior offontforge),
Turner, David <=