Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to make sure that I can load the same fonts for each input file either for diagrams and text contents. It is related to my statement below,

Even though PSTricks cannot work with pdflatex directly, it really does not bother us because the agile users (who adopt the best practice paradigm, "separation of concern") know that diagrams should be separated from the text contents. It means that each diagram should be put in a separate, standalone, yet compilable input file. For PSTricks, this diagram's input file must be compiled by latex-dvips-ps2pdf sequence. The product of it is a diagram in PDF format which is consumable to pdflatex used to compile the main input file (i.e., the input file containing the text document). Does it make sense?


We can create our own package common.sty just to load the common settings (fonts, etc). This package then can be loaded from within each input file, either for diagrams or text document. So font (as well as other common settings) used in the diagram is exactly identical to one used in text document.

So is there any font that can only be loaded for pdflatex but not for latex-dvips-ps2pdf? If there is no such a font, I am in a safe position.

share|improve this question
pdflatex can use .ttf fonts directly. dvips can't. So e.g. the winfonts package could be problematic. –  Ulrike Fischer Dec 31 '13 at 13:54
Also, I don't know if this is still available but gtamacfonts would also be problematic. I'm not aware of any other generally available packages which use truetype fonts directly, but those are the problematic ones. –  cfr Dec 31 '13 at 14:16
@UlrikeFischer: So is there the reverse case in which the fonts is available in dvips but not for pdflatex? –  cyanide-based food Dec 31 '13 at 14:51
As far as I know, pdflatex can use anything latex-dvips-etc. can use where fonts are concerned. However, metafont tends to render horribly with pdflatex. I do not know if this affects pdfs generated from the latex-dvips-ps2pdf workflow or not. –  cfr Jan 4 at 4:11
Actually, a web search suggests it is a rendering issue so it would be no different regardless of route to the pdf. So you probably don't need to worry about that as far as differences is concerned but just to avoid truetype. –  cfr Jan 4 at 4:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.