ufmGetTypefaceMetrics man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



ufmGetTypefaceMetrics(3w)			     ufmGetTypefaceMetrics(3w)

NAME
     ufmGetTypefaceMetrics - get typeface metrics

C SYNOPSIS
     #include <ufm.h>

     int ufmGetTypefaceMetrics(unsigned int typefaceHandle,
	  ufmTypefaceMetrics **typefaceMetrics)

DESCRIPTION
     ufmGetTypefaceMetrics gets scalable metrics for a specified typeface from
     a font metric file.  You can get scalable metrics for only those
     typefaces that have the flag scalableMetrics set to 1 in their typeface
     data structures, that is, for only those typefaces for which metric files
     were found.

     typefaceHandle specifies the handle for an open typeface.	Use the
     function ufmOpenTypeface to open a typeface, and get a handle for that
     typeface.

     ufmGetTypefaceMetrics uses the argument typefaceMetrics to return a
     pointer to a data structure of the type ufmTypefaceMetrics that it has
     allocated.	 If ufmGetTypefaceMetrics does not find a specified typeface,
     it returns NULL.

     When your program is finished with the data structure typefaceMetrics, it
     can call the function ufmFreeTypefaceMetrics to free the memory allocated
     for that data structure by ufmGetTypefaceMetrics.

SEE ALSO
     ufmFreeTypefaceMetrics(3w), ufmOpenTypeface(3w).

DIAGNOSTICS
     If ufmGetTypefaceMetrics is not able to allocate the memory it needs, it
     will return the value UFM_OUT_OF_MEMORY.  If it does not find the
     specified typeface, it will return the value UFM_INVALID_VALUE.  Else, it
     will return the value UFM_NO_ERROR.  UFM_OUT_OF_MEMORY, UFM_INVALID_VALUE
     and UFM_NO_ERROR are defined in the header file <ufm.h>.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net