# Adjusting a converted OTF font for LaTeX

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?

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.

Fig. 2: Victory! :-)

-
Note that XeTeX and LuaTeX can use OTF fonts natively. Note also that EB Garamond is an excellent open-source Garamond font :-) –  ℝaphink Jul 21 '11 at 9:36
I think that caron over t is misplaced, it should be placed lower. also, it is very similar to apostrophe, better is to have distinct shape, like in EB Garamond. –  michal.h21 Jul 21 '11 at 10:37
@michal.h21 As far as I know, the original typeface did not include the letter ť, so there should not be an exact example to follow. This is how Adobe decided to make it and I think that it is very reasonable as the proportions and placement are the same as in case of ď and ľ. –  Harold Cavendish Jul 21 '11 at 10:46
@Raphink Thank you for the suggestions, I am aware of the potential of XeTeX and LuaTeX, but I have to use LaTeX for various reasons. EB Garamond appears to be still in development, hence its usage could cause problems later. –  Harold Cavendish Jul 21 '11 at 10:49
@Harrold: XeTeX and LuaTeX are LaTeX (see xelatex and lualatex). They're "just" alternative LaTeX compilers to PDFTeX, but the language is strictly the same and 99% of the CTAN packages will work just the same. In EB Garamond, it's mostly the Italic that's currently in development (and almost finished, I'm using it in a book) and the bold face is not done yet. The rest is ready (including small caps) and of really good quality. –  ℝaphink Jul 21 '11 at 11:07

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}