How to embed fonts and replace fonts in PCL to PDF Converter? How to use mapfont.ini file to map PDF fonts to Windows fonts?

I am trying to get more of my fonts to come out as a vector (scalable) font rather than a raster font. I believe that the answer is in the mapfont.ini file, but I do not know how it is designed. Can you please explain when the entries in the file do?

https://www.verypdf.com/app/pcl-converter/try-and-buy.html

Customer
--------------------------------------------

image

Please refer to more information about "mapfont.ini" file from following web pages,

https://www.verypdf.com/wordpress/201109/substitute-fonts-in-pcl-to-pdf-converter-product-2526.html

https://www.verypdf.com/wordpress/201106/font-folder-problem-in-pcl-to-pdf-sdk-476.html

https://www.verypdf.com/wordpress/201108/pcltoolsdk-usage-font-mapping-problem-pcltoolsdk-font-substitution-1895.html

You can use following command lines to map fonts in output PDF files,

pcltool.exe -mapfont "mapfont.ini" C:\in.pcl C:\out.pdf
pcltool.exe -mapfont default C:\in.pcl C:\out.pdf
pcltool.exe -mapfont "C:\mapfont.ini" C:\in.pcl C:\out.pdf
pcltool.exe -mapfont "C:\mapfont.ini" -embedfonts yes C:\in.pcl C:\out.pdf
pcltool.exe -mapfont "C:\mapfont.ini" -embedfonts no C:\in.pcl C:\out.pdf

Please look at a simple "mapfont.ini" file at below,

-----------------------------------------------------------------

[MapFonts]
Number=7               ; The number of [MapFontXXX] entries in mapfont.ini file, if Number=3, it is indicate mapfont.ini file contain [MapFont1], [MapFont2], [MapFont3] three entries.

EmbedFont=0        ; 0 is unembed fonts, 1 will embed all fonts in [MapFont1], [MapFont2], [MapFont3], etc. entries.

; Map from BordeauxRomanBoldLetPlain to Arial font name         
[MapFont1]
PDFFont=BordeauxRomanBoldLetPlain                   ; PDF Font in PDF file
WinFont=Arial                                                               ; Windows Font

; Map from NimbusMono-Reg to Arial Black font name
[MapFont2]
PDFFont=NimbusMono-Reg
WinFont=Arial Black

; Map from NimbusMono-Bol to Arial font name
[MapFont3]
PDFFont=NimbusMono-Bol
WinFont=Arial

[MapFont4]
PDFFont=NimbusRomanNo9-Med
WinFont=Arial Narrow

[MapFont5]
PDFFont=NimbusRomanNo9-MedIta
WinFont=Calibri

[MapFont6]
PDFFont=NimbusRomanNo9-Reg
WinFont=Times New Roman

[MapFont7]
PDFFont=URWGothicL-Demi
WinFont=Arial

-----------------------------------------------------------------

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!