Hi,

I'm presently investigating why openoffice fonts look more blurry with
freetype-2.2.1 than with freetype-2.1.10, see this thread
http://lists.nongnu.org/archive/html/freetype/2006-09/msg00050.html

I think finally I found the reason whats the problem:

in vcl/source/glyphs/gcach_ftyp.cxx:857

#if (FTVERSION >= 2005) || defined(TT_CONFIG_OPTION_BYTECODE_INTERPRETER)
    if( nDefaultPrioAutoHint <= 0 )
#endif
        mnLoadFlags |= FT_LOAD_NO_HINTING;

#ifdef FT_LOAD_TARGET_LIGHT
    // enable "light hinting" if available
    if( !(mnLoadFlags & FT_LOAD_NO_HINTING) && (nFTVERSION >= 2103))
        mnLoadFlags |= FT_LOAD_TARGET_LIGHT;
#endif

So when the bytecode interpreter and light-hinting is available, it will
set "FT_LOAD_TARGET_LIGHT".
Now, referring to David Turner (see
http://lists.nongnu.org/archive/html/freetype/2006-09/msg00045.html), the
bytecode interpreter won't be used if light-hinting is enabled.

May I ask why gcach_ftyp.cxx is trying to handle all this stuff itself and
not just asking fontconfig? I mean, I see there is
vcl/source/gdi/fontcfg.cxx, so somehow fontconfig is used. But why aren't
its defaults used for hinting as well?

Thanks,
Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to