index.html
Main Page
classes.html
Alphabetical List
annotated.html
Data Structures
files.html
File List
functions.html
Data Fields
globals.html
Globals
font.c File Reference
Functions
char *
font_8c.html#a4
wmf_ipa_font_lookup
(
types_8h.html#a22
wmfAPI
*API, char *ps_name)
void
font_8c.html#a5
wmf_ipa_font_init
(
types_8h.html#a22
wmfAPI
*API,
types_8h.html#a21
wmfAPI_Options
*options)
void
font_8c.html#a6
wmf_ipa_font_map_set
(
types_8h.html#a22
wmfAPI
*API,
ipa_8h.html#a23
wmfMap
map)
void
font_8c.html#a7
wmf_ipa_font_dir
(
types_8h.html#a22
wmfAPI
*API, char *fontdir)
float
font_8c.html#a9
wmf_ipa_font_stringwidth
(
types_8h.html#a22
wmfAPI
*API,
ipa_8h.html#a4
wmfFont
*font, char *str)
void
font_8c.html#a11
wmf_ipa_draw_text
(
types_8h.html#a22
wmfAPI
*API,
ipa_8h.html#a19
wmfDrawText_t
*draw_text,
include_2libwmf_2font_8h.html#a10
wmfCharDrawer
ipa_draw_text)
void
font_8c.html#a12
wmf_ipa_font_map_xml
(
types_8h.html#a22
wmfAPI
*API,
include_2libwmf_2font_8h.html#a6
wmfXML_FontData
*FD, char *xmlfontmap)
void
font_8c.html#a13
wmf_ipa_font_map_gs
(
types_8h.html#a22
wmfAPI
*API,
include_2libwmf_2font_8h.html#a4
wmfGS_FontData
*FD, char *gsfontmap)
void
font_8c.html#a18
wmf_ipa_font_map
(
types_8h.html#a22
wmfAPI
*API,
ipa_8h.html#a4
wmfFont
*font)
Function Documentation
void wmf_ipa_draw_text
(
types_8h.html#a22
wmfAPI
*
API
,
ipa_8h.html#a19
wmfDrawText_t
*
draw_text
,
include_2libwmf_2font_8h.html#a10
wmfCharDrawer
ipa_draw_text
)
void wmf_ipa_font_dir
(
types_8h.html#a22
wmfAPI
*
API
,
char *
fontdir
)
void wmf_ipa_font_init
(
types_8h.html#a22
wmfAPI
*
API
,
types_8h.html#a21
wmfAPI_Options
*
options
)
char* wmf_ipa_font_lookup
(
types_8h.html#a22
wmfAPI
*
API
,
char *
ps_name
)
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
*
API
,
include_2libwmf_2font_8h.html#a4
wmfGS_FontData
*
FD
,
char *
gsfontmap
)
void wmf_ipa_font_map_set
(
types_8h.html#a22
wmfAPI
*
API
,
ipa_8h.html#a23
wmfMap
map
)
void wmf_ipa_font_map_xml
(
types_8h.html#a22
wmfAPI
*
API
,
include_2libwmf_2font_8h.html#a6
wmfXML_FontData
*
FD
,
char *
xmlfontmap
)
float wmf_ipa_font_stringwidth
(
types_8h.html#a22
wmfAPI
*
API
,
ipa_8h.html#a4
wmfFont
*
font
,
char *
str
)
Generated on Tue Dec 10 19:53:49 2002 for libwmf by
http://www.doxygen.org/index.html
doxygen
1.2.18
