freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] FT_MODULE_CLASS to check font type (e.g. TrueType, Type1,


From: Werner LEMBERG
Subject: Re: [ft-devel] FT_MODULE_CLASS to check font type (e.g. TrueType, Type1, etc.)
Date: Fri, 01 Dec 2006 07:51:46 +0100 (CET)

> I'm trying to fix/compile a recent Inkscape snapshot,

Hmm, we have been told that inkscape 0.44 and higher no longer use
FreeType internals.  Have you seen this page?

  http://freetype.freedesktop.org/freetype2/patches/rogue-patches.html

it provides a patch for 0.43.

> The inkscape code (inscape-XXXX/src/extension/internal/ps.cpp) wants to
> know the font type to determine if it is a font suitable for embedding
> in postscript; the code (essentially) "switch"es on the "font_type"
> variable.

The proper function to do that is FT_Get_X11_Font_Format.  It will have
proper documentation in the next release.


    Werner




reply via email to

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