Non ho mai detto che pdf(la)tex non gestisce i font ttf; ho detto che prima bisogna sottoporli a un maquillage non indifferente. Del resto a che cosa servono i programmi del sistema TeX ttf2afm e ttf2tfm?
La documentazione di ttf2afm spiega che:
ttf2afm is used to generate Adobe Font Metrics (AFM) files for TrueType (TTF) fonts to allow them to be used with TeX.
Per altro, che io sappia, nessun programma di composizione del sistema TeX legge e capisce i file afm direttamente, mentre fontinst provvede a tutto il resto partendo dail file afm: file tfm, font virtuali, eccetera.
Oppure si può usare ttf2tfm; la sua documentazione dice
This program extracts the metric and kerning information of a TrueType font and converts it into metric files usable by TEX (quite similar to afm2tfm which is part of the dvips package; please consult its info files for more details on the various parameters (especially encoding files).
Since a TrueType font often contains more than 256 glyphs, some means are necessary to map a subset of the TrueType glyphs onto a TEX font. To do this, two mapping tables are needed: the first (called ‘input’ or ‘raw’ encoding) maps the TrueType font to a raw TEX font (this mapping table is used by both ttf2tfm and ttf2pk), and the second (called ‘output’ or ‘virtual’ encoding) maps the raw TEX font to another (virtual) TEX font, providing all kerning and ligature information needed by TEX.
Tutto ciò, secondo me, vuol dire che pdf(la)tex non può gestire direttamente i font ttf.
Lo stesso vale per o font OpenType: il programam otftotfm fa il paio con ttf2tfm. La documentazione di otftotfm dice:
Otftotfm creates the font metric and encoding files required to use an OpenType font with TeX. You supply an OpenType “.otf” or “.ttf” font file, a base “.enc” encoding, and a TeX name “tex- name” for the resulting font, and say which OpenType features should be turned on. Then otftotfm generates and installs the corresponding TeX-related metric files (“.tfm” TeX font met- rics, “.vf” virtual fonts, and “.enc” encoding files). It works on both PostScript-flavored and TrueType-flavored OpenType fonts, although TrueType-flavor support will only work easily with pdftex.
The easiest way to use otftotfm is with the −a option; see Automatic Mode below. Without −a, otftotfm writes all its output files to the current directory.
After running “otftotfm fontfile texname” and installing the results (manually or with −a), you can use the OpenType font in plain TeX with a command like this:
\font\myfont=texname at 10pt
{\myfont This text uses the OpenType font.}
LaTeX users will generally make a “.fd” input file so that commands like “\renewcom- mand{\rmdefault}{TeXName}” work correctly. See the EXAMPLE section for more; check the DIAGNOSTICS and FREQUENTLY ASKED QUESTIONS sections if you have trouble.
e questo maquillage preventivo è necessario per poter usare questi font con pdf(la)tex, il che conferma quanto avevo scritto in un precedente messaggio di questo filone, e cioè che prima di poter usare i font ttf o otf bisogna creare i file virtuali e i font metrici necessari perché pdflatex possa usarli.
Per altro, visto che i problemi dell’OP sono quelli di usare certe features che a pdf(la)tex sono offerte dal pacchetto microtype, come la spazieggiatura del maiuscoletto, e che xelatex non è ancora completamente compatibile con microtype; egli voleva usare i font ttf e otf con pdflatex per disporre, in sostanza del comapndo \textls.
Come hai visto nel mio precedente messaggio gli ho specificato che la spazieggiatura del maiuscoletto si può fare anche con xelatex senza dover armeggiare con i font ttf e otf; gli ho indicato la tua guidina — eccellente — e spero che risolva i suoi problemi con xelatex.
Per altro, se anche trasformasse i suoi font ttf e otf in font virtuali da usare con pdflatex, potrebbe usare microtype per disporre del comando di spazieggature, ma mancherebbe dei file di descrizione specifica di microtype per gestire non solo la protrusione (che xelatex gestisce già ora con la versione beta di microtype) ma anche l’espanzione; quest’ultima funzione, estremamente importante per la bellezza della composizione microtipografica, dipende da questi file di descrizione ed è tutt’altro che semplice costruirli.
Concludendo: il problema dell’OP si risolve benissimo con xelatex e i font opentype e truetype della sua macchina senza bisogno di fare alta acrobazia senza rete con la trasformazione di font ttf e otf in font virtuali accessibili da pdftex.
Ciao
Claudio
PS; La documentazione di ttf2tfm è esplicita a proposito dei 256 glifi:
Since a TrueType font often contains more than 256 glyphs, some means are necessary to map a subset of the TrueType glyphs onto a TEX font.
e questo implica che comunque i ttf (e a maggior ragione gli otf) non possono venire usati nella loro interezza se hanno più di 256 glifi, il che succede quasi sempre, almeno con i font che ho esaminato.