O Ghostscript referencia uma fonte via seu arquivo de Fontmap. Este deve ser modificado de uma maneira similar a feita para o arquivo fonts.dir do X11. O Ghostscript pode usar tanto o formato .pfa quanto o .pfb. Usando a fonte do exemplo anterior, segue um passo a passo de como utilizá-la com o Ghostscript:
Coloque a fonte no diretório do Ghostscript%cd /usr/local/share/ghostscript/fonts%ln -s /usr/local/share/fonts/type1/showboat.pfb .Edite o mapeamento de fontes, assim o Ghostscript saberá sobre a fonte%cd /usr/local/share/ghostscript/4.01%ex Fontmap :$a /Showboat (showboat.pfb) ; % From CICA /fonts/atm/showboat . :wqUse o Ghostscript para checar a fonte%gs prfont.psAladdin Ghostscript 4.01 (1996-7-10) Copyright (C) 1996 Aladdin Enterprises, Menlo Park, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Loading Times-Roman font from /usr/local/share/ghostscript/fonts/tir_____.pfb... /1899520 581354 1300084 13826 0 done. GS>Showboat DoFontLoading Showboat font from /usr/local/share/ghostscript/fonts/showboat.pfb... 1939688 565415 1300084 16901 0 done. >>showpage, press <return> to continue<< >>showpage, press <return> to continue<< >>showpage, press <return> to continue<< GS>quit
Referências: Veja o arquivo fonts.txt na distribuição do Ghostscript 4.01
All FreeBSD documents are available for download at https://download.freebsd.org/ftp/doc/
Questions that are not answered by the
documentation may be
sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.