0

How do I produce a pdf, with xelatex, in a way that all fonts are embedded? I was under the impression that this was default but the printer says that they are not, and I use probably some fonts that are not available in the printer's computer so they become squares (see the image), but not always, so I guess there is some partial embedding... Please see these answers that are connected:

Producing PDF/X compliant document with XeLaTeX

How to embed fonts at compile time with pdflatex

The solutions probably work but require many steps. They are also old solutions. So maybe do you know if there is a newer, quicker way, to produce a printer ready pdf with latex? At the moment, I have to 1. create book layout in indesign; 2. import pdf in indesign; 3. create adequate pdf from indesign. (would be easier with acrobat pro but print to pdf is not available on the Mac version...).

Sorry for the long question and thanks!

MWE:

\documentclass{book}

\usepackage{fontspec}
\usepackage{polyglossia}
\usepackage{ebgaramond}
\setdefaultlanguage{italian}
\setotherlanguage{hebrew}
%\newfontfamily{\hebrewfont}{New Peninim MT}

\begin{document}
Some text
\end{document}

enter image description here

44
  • I'd assume that all the latex variants always embed fonts in the PDF. But as you give no code example, we have no idea what you are actually doing, so there is no way for us to help.
    – daleif
    Commented Sep 7, 2023 at 15:11
  • 3
    Not preamble or sniplet, always full but minimal examples. Exactly which format are the fonts you are using?
    – daleif
    Commented Sep 7, 2023 at 15:14
  • 1
    Adding a bounty doesn't make your question any more tractable. I can't compile your example at all. You don't say what your PDF viewer says about the fonts. However, the answer to the question you actually ask in the bounty is 'No, LaTeX does not produce printer ready PDFs because LaTeX doesn't produce PDFs at all. LaTeX is the format. Whether a PDF of some kind, a DVI or something else is produced depends on other things such as the engine, options used, local configuration etc.' However, I doubt that's what you want to know.
    – cfr
    Commented Sep 11, 2023 at 0:48
  • 3
    I cannot compile your MWE because the font New Peninim MT is not included in latex distributions.
    – Sverre
    Commented Sep 11, 2023 at 14:03
  • 1
    So I'm wondering about the way microtype works with XeLaTeX. I don't know if this is still current, but with pdfLaTeX, you'd get multiple embeddings of font subsets for expansions of the fonts, where this occurred. In my case, I think I lost characters because the resulting volume of embedded fonts exceeded what the printer could cope with. I wouldn't expect that with a professional printing press, but I'm wondering if there's some interaction there - especially if the missing characters aren't consistently absent e.g. you have missing quotation marks on some lines but not others.
    – cfr
    Commented Sep 12, 2023 at 3:29

0

You must log in to answer this question.

Browse other questions tagged .