PS_findfont man page on DragonFly

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

PS_FINDFONT(3)							PS_FINDFONT(3)

	     uwe@steinmann.cx
       UWE STEINMANN 2003Uwe SteinmannJune 27, 2004;

NAME
       PS_findfont — Loads a font

SYNOPSIS
       #include <pslib.h>

       int  PS_findfont(PSDoc *psdoc, const char *fontname, const char *encod‐
       ing, 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_findfont(3)  between pages will make that font avail‐
       able 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)
[top]

List of man pages available for DragonFly

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