Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 9724  / 3 Years ago, sat, june 19, 2021, 12:30:10

I have created a pdf file using the pdflatex command but some fonts are not embedded into it. Please see the output of pdffonts. I have also checked "updmap --edit" to see whether the option "pdftexDownloadBase14" is true or not. It is true. But, still some fonts are not emebedded. Please help me to resolve this.
enter image description here


More From » 11.04

 Answers
6

This might not be the most relevant question for askubuntu, but I'll try to answer it nevertheless: You probably included graphics in your document that use the Helvetica font (a common example are the axis labels for figures created by Matlab), right?
If you used Helvetica in your document (e.g. with usepackage{helvet}), the Helvetica replacement Nimbus Sans L would be used instead.



Embedding the fonts from external figures is not possible at the moment (it should work if you make sure that the external figures embed the fonts themselves, though!).



Therefore, as suggested in the comments, the only solution seems to be to do a PDF->PS->PDF conversion, e.g.:



pdf2ps file.pdf file.ps
ps2pdf14 -dPDFSETTINGS=/prepress -dEmbedAllFonts=true file.ps file.pdf


Unfortunately, hyperlinks for example will not survive this transformation.



See this question on the (more relevant) tex.stackexchange sister site:
https://tex.stackexchange.com/questions/10391/how-to-embed-fonts-at-compile-time-with-pdflatex


[#44476] Monday, June 21, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cupwire

Total Points: 365
Total Questions: 126
Total Answers: 125

Location: Malaysia
Member since Thu, Feb 16, 2023
1 Year ago
;