Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
psf2bdf(1)			    PSF Tools			      psf2bdf(1)

NAME
     psf2bdf - convert part or all of a PSF Font file to an X11 BDF.

SYNOPSIS
     psf2bdf  [--first=FIRST]  [--last=LAST]  [--256]  [--fontname=NAME]  [--de-
     fchar=INDEX] [--descent=VALUE] [--codepage=CODEPAGE]  [--iso10646]  [INPUT-
     FILE [OUTPUTFILE]]

DESCRIPTION
     psf2bdf  saves some or all characters from a .PSF font to an X11-format BDF
     font file. The resulting file should then be tidied up in an editor such as
     xmbdfed(1) before being installed.

OPTIONS
     --codepage=x
	    Extracts only the characters in the  given	codepage  (requires  the
	    source  PSF file to have a Unicode directory). Any characters in the
	    codepage not present in the source font are replaced by blanks.  The
	    codepage  can  be specified by number or name; see psfpages(1) for a
	    list of acceptable codepage names.

     --first=n
	    Extracts characters starting at the specified character.

     --last=n
	    Extracts characters up to and including the specified character.

     --256  Equivalent to --first=0 --last=255.

     --fontname=name
	    Sets the XLFD name of the font being output.

     --descent=n
	    Sets the descent (pixels between the character baseline and the bot-
	    tom of the character cell). If this is not entered it is assumed  to
	    be 1/4 of the character height.

     --defchar=n
	    Sets the number of the default character to use.

     --iso10646
	    If	this  option is present and the source file has a Unicode direc-
	    tory, the font will encode the ID of each character as  its  Unicode
	    position.  Otherwise  the character's ID is equal to its position in
	    the file.

     If a codepage and a range of characters are both specified,  the  range  is
     applied to the subset of characters extracted by the codepage.

BUGS
     The BDF needs tidying up after generation, as mentioned above.

SEE ALSO
     xmbdfed(1),psfpages(1)

AUTHOR
     John Elliott <seasip.webmaster@gmail.com>.

Version 1.0.8			  21 June, 2008 		      psf2bdf(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=psf2bdf&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help