[Tex/LaTex] Adjusting a converted OTF font for LaTeX

accentsconversionfontsopentype

I have bought OTF Adobe Garamond Pro and successfully converted it to use with LaTeX (using otfinst.py). It works well including ligatures, old-style numerals, small caps, etc., but the problem is again with Latin characters, specifically ď, ľ and ť (\v{d}, \v{l}, \v{t}). Normally, the caron changes its shape so it looks like a comma rather than a wedge, but in this case, it is not working.

I have spent a considerable amount of time by researching the possibilities, yet came to no acceptable conclusion.

Could you please suggest how to fine-tune it while preserving proper kerning?

Improper placement of carons.

Fig. 1: The problematic characters.


Edit (20. July 2011):

Thanks to Ulrike's answer, I have realised that I forgot to change the encoding and the encoding file. After editing the script and another run, it works perfectly and I can finally typeset my documents using Garamond typeface. I shall accept the answer as it led me to the solution.

Proper placement of carons.

Fig. 2: Victory! 🙂

Best Answer

Well in T1-encoding \v{d} etc are real chars. So if you don't get them either your font doesn't have the glyphs or something did go wrong with the reencoding.

\documentclass{article}
\usepackage[T1]{fontenc}
%switch here to your font:

\begin{document}

\v{d}, \v{l}, \v{t}

\char164, \char169, \char180
\end{document}
Related Question