4

Can I create a custom package for LaTeX, that provides a custom font?

There a packages like paratype or droid. I can just type \usepackage{droid} and it works!

Is there tools to convert OTF/TTF fonts in LaTeX-format? I need to use Bitter font in my document. I know, I can just use XeLaTeX with any installed font, but I must use pdflatex for various reasons.

(If it matters, I am using MiKTeX 2.9 on Windows 7)

  • 1
    It depends on what you mean by the question. If you mean, 'can this be done?' then, usually, yes. As to whether you can do it, that's a question only you can answer. If you are asking it, the answer is probably 'yes, if you are prepared to spend some time on it'. How much time? Depends on the font, the degree of perfection you require and various other factors. The possibility question is only 'usually' because some fonts may not be converted for licensing reasons or are buggy in ways which cannot be worked around without fixing the original font. – cfr Mar 16 '15 at 0:16
  • 1
    I had done something related tears ago on a W2K system. Don't know if it is still relevant with newer OS and newer MikTeX, but here are the pointers. For TTF fonts: tex.stackexchange.com/questions/95327/…; and for T1 fonts: tex.stackexchange.com/questions/106002/…. What I did was just an automation of this procedure: radamir.com/tex/ttf-tex.htm – Steven B. Segletes Mar 16 '15 at 0:22
  • 1
    It would be much easier to use XeTeX or LuaTeX. What are the reasons that require the use of pdfTeX? – jon Mar 16 '15 at 0:52
  • @jon, XeTeX/LuaTeX are great, but not fully compatible with cyrillic text: there a some problems with babel and BibTeX. PdfLaTeX doesn't have this problems (or at least have many tricks and known solutions), but has very limited amount of T2A encoding compatibles fonts. – Max Mar 16 '15 at 1:04
  • 1
    Shouldn't you be using polyglossia with XeTeX? – Sean Allred Mar 16 '15 at 2:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.