|
|
|
ufmCloseTypeface(3w) -- close a typeface
|
|
ufmCloseTypeface closes an open typeface. Once a typeface is closed, you can no longer use the handle that was assigned to that typeface. typefaceHandle is a typeface handle that was returned by ufmOpenTypeface. That must be the handle of an open typeface. |
|
ufmFree(3w) -- free an area of memory that was allocated by UFM
|
|
ufmFree frees the data the pointer ufmPointer points to. You must use the function ufmFree to free any objects that were allocated by the Universal Font Manager (UFM), unless an alternate UFM function is explicitly specified for the object. For example, your program should call ufmFree if it wants to free the memory allocated for a font path by ufmGetFontPath. If it wants to free character bi... |
|
|
ufmFreeBitmap(3w) -- free a character bitmap
|
|
ufmFreeBitmap frees the memory ufmGetBitmap allocated for one or more data structures of the type ufmBitmap. When ufmGetBitmap allocates an array of one or more data structures of the type ufmBitmap, it returns the number of allocated data structures (nCharBitmaps) and the address of that array (charBitmaps). When you are finished with that array, you can free it by calling ufm... |
|
ufmFreeCharMetrics(3w) -- free character metrics
|
|
ufmFreeCharMetrics frees the memory ufmGetCharMetrics allocated for one or more data structures of the type ufmCharMetrics. When ufmGetCharMetrics allocates an array of one or more data structures of the type ufmCharMetrics, it returns the number of allocated data structures (nCharMetrics) and the address of that array (charMetrics). When you... |
|
ufmFreeExactOutline(3w) -- free an exact character outline
|
|
ufmFreeExactOutline frees the memory ufmGetExactOutline allocated for one or more data structures of the type ufmExactOutline. When ufmGetExactOutline allocates an array of one or more data structures of the type ufmExactOutline, it returns the number of allocated data structures (nOutlines) and the address of that array (outlines). ... |
|
ufmFreeFontInfo(3w) -- free font information
|
|
ufmFreeFontInfo frees the memory ufmGetFontInfo allocated for a data structure of the type ufmFont. When ufmGetFontInfo allocates a data structure of the type ufmFont, it returns the address of that data structure (font). When you are finished with that data structure, you can free it by calling ufmFreeFontInfo with the addr... |
|
ufmFreeTypefaceInfo(3w) -- free typeface information
|
|
ufmFreeTypefaceInfo frees the memory ufmGetTypefaceInfo allocated for a data structure of the type ufmTypeface. When ufmGetTypefaceInfo allocates a data structure of the type ufmTypeface, it returns the address of that data structure (typeface). When you are finished with that data structure, you can free it by calling ufm |
|
ufmFreeTypefaceList(3w) -- free a list of typefaces
|
|
ufmFreeTypefaceList frees the memory ufmGetTypefaceList allocated for an array of the data structures of the type ufmTypeface. When ufmGetTypefaceList allocates an array of the data structures of the type ufmTypeface, it returns the number of allocated data structures (nTypefaces) and the address of that data structure (typefaces). W... |
|
ufmFreeTypefaceMetrics(3w) -- free typeface metrics
|
|
ufmFreeTypefaceMetrics frees the memory ufmGetTypefaceMetrics allocated for a data structure of the type ufmTypefaceMetrics. When ufmGetTypefaceMetrics allocates a data structure of the type ufmTypefaceMetrics, it returns the address of that data structure (typefaceMetrics). When you are finished with that ... |
|
ufmFreeVectorOutline(3w) -- free a vector character outline
|
|
ufmFreeVectorOutline frees the memory ufmGetVectorOutline allocated for one or more data structures of the type ufmVectorOutline. When ufmGetVectorOutline allocates an array of one or more data structures of the type ufmVectorOutline, it returns the number of allocated data structures (nOutlines) and the address of that arra... |
|
ufmGetBitmap(3w) -- get a character bitmap
|
|
ufmGetBitmap gets bitmaps for specified characters. You can get a character bitmap only for those typefaces for which bitmap or outline font files were found, that is, those typefaces which have the bit ufmTypefaceBitmaps set to 1 in their data structures of the type ufmTypeface. nTypefaceHandles specifies the number of entries (typeface handles) in the array typefaceHandles. typefaceHandles specifies one or more handles for open typefaces. Use the function |
|
ufmGetCharMetrics(3w) -- get character metrics by character code
|
|
ufmGetCharMetrics gets the scalable metrics for specified character codes from font metric files. If ufmGetCharMetrics does not find the metrics for a specified character code, it returns the metrics for the default character. Set nCharCodes to 0 if you want to get character metrics for all characters in a specified typeface. You can get scalable character metrics only for those typefaces which ... |
|
ufmGetCharMetricsByName(3w) -- get character metrics by name or CID code
|
|
ufmGetCharMetricsByName gets the scalable metrics for specified character names or CID codes (character id codes for CID-keyed fonts) from font metric files. You can get scalable character metrics only for those typefaces which have the flag scalableMetrics set to 1 in their ufmTypeface data structures, that is, for those typefaces for which font metric files were found. nTypefaceHandles specifies the number of entries (typefac... |
|
ufmGetExactOutline(3w) -- get exact outlines for specified characters
|
|
ufmGetExactOutline gets exact outlines for specified characters. You can get a character outline only for those typefaces which have the flag scalableMetrics set to 1 in their ufmTypeface data structures, that is, for those typefaces for which outline font files were found. nTypefaceHandles specifies the number of entries (typeface handles) in the array typefaceHandles. typefaceHandles is an array of handles for open typefaces. That array mus... |
|
ufmGetFontInfo(3w) -- get font information
|
|
ufmGetFontInfo gets the information for a specified font. typefaceHandle specifies the handle for an open typeface. Use the function ufmOpenTypeface to open a typeface, and get a handle for that typeface. pixelSize specifies a font size in pixels. If you want to get the information for the outline font in a specified typeface, then specify 0 for the font pixel size. ufmGetFontI... |