index.html
Main Page
classes.html
Alphabetical List
annotated.html
Data Structures
files.html
File List
functions.html
Data Fields
globals.html
Globals
font.h File Reference
Data Structures
struct
struct__wmfFontmapData.html
_wmfFontmapData
struct
struct__wmfFT__CacheEntry.html
_wmfFT_CacheEntry
struct
struct__wmfFT__Mapping.html
_wmfFT_Mapping
struct
struct__wmfGS__FontData.html
_wmfGS_FontData
struct
struct__wmfGS__FontInfo.html
_wmfGS_FontInfo
struct
struct__wmfIPAFont.html
_wmfIPAFont
struct
struct__wmfXML__FontData.html
_wmfXML_FontData
struct
struct__wmfXML__FontInfo.html
_wmfXML_FontInfo
Defines
#define
include_2libwmf_2font_8h.html#a0
WMF_FONT_PSNAME
(F)   ((F)->user_data ? ((
include_2libwmf_2font_8h.html#a9
wmfIPAFont
*) (F)->user_data)->ps_name : 0)
#define
include_2libwmf_2font_8h.html#a1
WMF_FONT_FTFACE
(F)   ((F)->user_data ? ((
include_2libwmf_2font_8h.html#a9
wmfIPAFont
*) (F)->user_data)->ft_face : 0)
Typedefs
typedef
struct__wmfFT__Mapping.html
_wmfFT_Mapping
include_2libwmf_2font_8h.html#a2
wmfFT_Mapping
typedef
struct__wmfFT__CacheEntry.html
_wmfFT_CacheEntry
include_2libwmf_2font_8h.html#a3
wmfFT_CacheEntry
typedef
struct__wmfGS__FontData.html
_wmfGS_FontData
include_2libwmf_2font_8h.html#a4
wmfGS_FontData
typedef
struct__wmfGS__FontInfo.html
_wmfGS_FontInfo
include_2libwmf_2font_8h.html#a5
wmfGS_FontInfo
typedef
struct__wmfXML__FontData.html
_wmfXML_FontData
include_2libwmf_2font_8h.html#a6
wmfXML_FontData
typedef
struct__wmfXML__FontInfo.html
_wmfXML_FontInfo
include_2libwmf_2font_8h.html#a7
wmfXML_FontInfo
typedef
struct__wmfFontmapData.html
_wmfFontmapData
include_2libwmf_2font_8h.html#a8
wmfFontmapData
typedef
struct__wmfIPAFont.html
_wmfIPAFont
include_2libwmf_2font_8h.html#a9
wmfIPAFont
typedef void(*
include_2libwmf_2font_8h.html#a10
wmfCharDrawer
)(
types_8h.html#a22
wmfAPI
*,
ipa_8h.html#a19
wmfDrawText_t
*)
Functions
void
include_2libwmf_2font_8h.html#a11
wmf_ipa_font_init
(
types_8h.html#a22
wmfAPI
*,
types_8h.html#a21
wmfAPI_Options
*)
void
include_2libwmf_2font_8h.html#a12
wmf_ipa_font_map_gs
(
types_8h.html#a22
wmfAPI
*,
include_2libwmf_2font_8h.html#a4
wmfGS_FontData
*, char *)
void
include_2libwmf_2font_8h.html#a13
wmf_ipa_font_map_xml
(
types_8h.html#a22
wmfAPI
*,
include_2libwmf_2font_8h.html#a6
wmfXML_FontData
*, char *)
void
include_2libwmf_2font_8h.html#a14
wmf_ipa_font_map_set
(
types_8h.html#a22
wmfAPI
*,
ipa_8h.html#a23
wmfMap
)
void
include_2libwmf_2font_8h.html#a15
wmf_ipa_font_map
(
types_8h.html#a22
wmfAPI
*,
ipa_8h.html#a4
wmfFont
*)
void
include_2libwmf_2font_8h.html#a16
wmf_ipa_font_dir
(
types_8h.html#a22
wmfAPI
*, char *)
float
include_2libwmf_2font_8h.html#a17
wmf_ipa_font_stringwidth
(
types_8h.html#a22
wmfAPI
*,
ipa_8h.html#a4
wmfFont
*, char *)
char *
include_2libwmf_2font_8h.html#a18
wmf_ipa_font_lookup
(
types_8h.html#a22
wmfAPI
*, char *)
void
include_2libwmf_2font_8h.html#a19
wmf_ipa_draw_text
(
types_8h.html#a22
wmfAPI
*,
ipa_8h.html#a19
wmfDrawText_t
*,
include_2libwmf_2font_8h.html#a10
wmfCharDrawer
)
Define Documentation
#define WMF_FONT_FTFACE
(
F
)
((F)->user_data ? ((
include_2libwmf_2font_8h.html#a9
wmfIPAFont
*) (F)->user_data)->ft_face : 0)
include_2libwmf_2font_8h.html#a1
WMF_FONT_FTFACE(wmfFont* F)
-> (FT_Face) freetype(2) font face
#define WMF_FONT_PSNAME
(
F
)
((F)->user_data ? ((
include_2libwmf_2font_8h.html#a9
wmfIPAFont
*) (F)->user_data)->ps_name : 0)
include_2libwmf_2font_8h.html#a0
WMF_FONT_PSNAME(wmfFont* F)
-> (char*) font name to use in postscript output
Typedef Documentation
typedef void(* wmfCharDrawer)(
types_8h.html#a22
wmfAPI
*,
ipa_8h.html#a19
wmfDrawText_t
*)
typedef struct
struct__wmfFontmapData.html
_wmfFontmapData
wmfFontmapData
typedef struct
struct__wmfFT__CacheEntry.html
_wmfFT_CacheEntry
wmfFT_CacheEntry
typedef struct
struct__wmfFT__Mapping.html
_wmfFT_Mapping
wmfFT_Mapping
typedef struct
struct__wmfGS__FontData.html
_wmfGS_FontData
wmfGS_FontData
typedef struct
struct__wmfGS__FontInfo.html
_wmfGS_FontInfo
wmfGS_FontInfo
typedef struct
struct__wmfIPAFont.html
_wmfIPAFont
wmfIPAFont
typedef struct
struct__wmfXML__FontData.html
_wmfXML_FontData
wmfXML_FontData
typedef struct
struct__wmfXML__FontInfo.html
_wmfXML_FontInfo
wmfXML_FontInfo
Function Documentation
void wmf_ipa_draw_text
(
types_8h.html#a22
wmfAPI
*
,
ipa_8h.html#a19
wmfDrawText_t
*
,
include_2libwmf_2font_8h.html#a10
wmfCharDrawer
)
void wmf_ipa_font_dir
(
types_8h.html#a22
wmfAPI
*
,
char *
)
void wmf_ipa_font_init
(
types_8h.html#a22
wmfAPI
*
,
types_8h.html#a21
wmfAPI_Options
*
)
char* wmf_ipa_font_lookup
(
types_8h.html#a22
wmfAPI
*
,
char *
)
void wmf_ipa_font_map
(
types_8h.html#a22
wmfAPI
*
API
,
ipa_8h.html#a4
wmfFont
*
font
)
This is the fun bit.
Parameters:
API
the API handle
font
WMF font object: font's
family
name
,
italics
flag, and the
weight
Other inputs include: a ghostscript-style Fontmap, and up to two XML RedHat-style fontmaps. (These are all parsed earlier.) There are also the fallback 13 standard postscript fonts. And then there is a list of font directories to search for fonts.
libwmf
requires fonts to have a postscript name, and maintains an internal cache of glyphs path and
freetype
font face, keyed to postscript font name. Unfortunately, although the XML fontmaps do have font
family
name
, the GS fontmap does not. In the latter, therefore, matching WMF font info to postscript font name is hit-and-miss.
void wmf_ipa_font_map_gs
(
types_8h.html#a22
wmfAPI
*
,
include_2libwmf_2font_8h.html#a4
wmfGS_FontData
*
,
char *
)
void wmf_ipa_font_map_set
(
types_8h.html#a22
wmfAPI
*
,
ipa_8h.html#a23
wmfMap
)
void wmf_ipa_font_map_xml
(
types_8h.html#a22
wmfAPI
*
,
include_2libwmf_2font_8h.html#a6
wmfXML_FontData
*
,
char *
)
float wmf_ipa_font_stringwidth
(
types_8h.html#a22
wmfAPI
*
,
ipa_8h.html#a4
wmfFont
*
,
char *
)
Generated on Tue Dec 10 19:53:49 2002 for libwmf by
http://www.doxygen.org/index.html
doxygen
1.2.18
