Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalfontinfo.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalfontinfo.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalfontinfo.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalfontinfo.html on line 8

PtTerminalFontInfo()

Convert the font name to a fixed-width font name

Synopsis:

int PtTerminalFontInfo( const char *font,
                          PhDim_t *size,
                          PhPoint_t *offs );

Description:

This function makes sure that the given font exists and is a fixed-width font. It returns an allocated copy of the name. If the appropriate font doesn't exist, PtTerminalFontInfo() returns NULL.

This function stores information about the font's geometry at locations pointed to by size and offs:

Returns:

0 if the font name exists and is a fixed-width font, and -1 if not.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtTerminal


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalfontinfo.html on line 102

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalfontinfo.html on line 102