gdi32[3/3]: if freetype fails try to load manually fonts
wrapped as PE resources
Dmitry Timoshkov
dmitry at codeweavers.com
Fri Sep 7 00:12:02 CDT 2007
"Mikolaj Zalewski" <mikolaj at zalewski.pl> wrote:
>> Then there is no point in using FreeType for loading font files at all,
>> (or adding support for new font file formats to FreeType) since FreeType
>> can load fonts from memory.
> Do you mean that in AddFontResource I shouldn't try to call
> WineEngAddFontResourceEx but do only a LoadLibraryEx (that won't work as
> at least according to MSDN the parameter to AddFontResource can be a FNT
> file or a Win16 NE executable) or that in AddFileToList I should not
> make a distinction between memory and file fonts but always load the
> font from memory, mmaping it before if necessary?
I mean that we should choose from either leaving the task to FreeType,
or doing the whole job of loading the font files internally in Wine.
--
Dmitry.
More information about the wine-devel
mailing list