Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ps_findfont(3) [debian man page]

PS_FINDFONT(3)						     Library Functions Manual						    PS_FINDFONT(3)

NAME
PS_findfont -- Loads a font SYNOPSIS
#include <pslib.h> int PS_findfont(PSDoc *psdoc, const char *fontname, const char *encoding, int embed) DESCRIPTION
Loads a font for later use. Before text is output with a loaded font it must be set with PS_setfont(3). This function needs the adobe font metric file in order to calculate the space used up by the characters. A font which is loaded within a page will only be available on that page. Fonts which are to be used in the complete document has to be loaded before the first call of PS_begin_page(3). Calling PS_find- font(3) between pages will make that font available for all following pages. PS_findfont will try to load the file passed in the parameter encoding. Encoding files are of the same syntax as those used by dvips(1). They contain a font encoding vector (which is currently not used but must be present) and a list of extra ligatures to extend the list of ligatures derived from the afm file. encoding can be NULL or the empty string if the default encoding (TeXBase1) schall be used. If the encoding is set to `builtin' then there will be no reencoding and the font specific encoding will be used. This is very useful with symbol fonts. All files will first be searched in the current directory and than in the directories set by the parameter `SearchPath`. RETURN VALUE
Returns the identifier of the font or zero in case of an error. The identifier is a positiv number. SEE ALSO
PS_setfont(3), PS_begin_page(3) AUTHOR
This manual page was written by Uwe Steinmann <uwe@steinmann.cx>. PS_FINDFONT(3)

Check Out this Related Man Page

PS_BEGIN_FONT(3)					     Library Functions Manual						  PS_BEGIN_FONT(3)

NAME
PS_begin_font -- Starts a new Type3 font SYNOPSIS
#include <pslib.h> int PS_begin_font(PSDoc *psdoc, const char *fontname, int reserverd, double a, double b, double c, double d, double e, double f, const char *optlist) DESCRIPTION
PostScript supports various kinds of fonts. Type3 fonts are fonts whose glyphs are created with a subset of regular PostScript commands. This function starts a new Type3 font embedded into the document which must be closed with PS_end_font. Each glyph is created with consecu- tive calls of PS_end_glyph and PS_end_glyph. Once the new font is created, it can be used like any other font loaded with PS_findfont. The passed floating point numbers are used to set the font matrix. a and d are usually set to 0.001. The remaining numbers can be left zero. Each call of PS_begin_font must be accompanied by a call to PS_end_pattern(3). PS_begin_font has been introduced in version 0.4.0 of pslib. RETURN VALUE
Returns identifier of the font or zero in case of an error. The identifier is a positiv number greater 0. SEE ALSO
PS_end_font(3), PS_begin_glyph(3), PS_end_glyph(3) AUTHOR
This manual page was written by Uwe Steinmann uwe@steinmann.cx. PS_BEGIN_FONT(3)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Character set for Symbol.pfa font

Hi, I want to know about the characters that are available in the Symbol.pfa font file. I am using freetype library to render the fonts in Windows. What encoding should I provide to get all the symbols in the Symbol font file? It would be very helpful if i get all the characters in this... (0 Replies)
Discussion started by: pushpagiri
0 Replies

2. AIX

How to find the details of Fonts on AIX?

Hi, Can someone help me out, how I can find the details of the Fonts installed on AIX, details such as the font type, directory, Non-Latin Fonts like Greek, Hebrew, or Arabic, starting with Arabic Objective: Oracle Reports creates PDF on AIX we want to use ARABIC Fonts which are... (1 Reply)
Discussion started by: filosophizer
1 Replies