Re: plain, XeTeX, opentype, optical sizes fonts

#64526
Up
0
Down
::

Sam Qasbah” post=63613

No, sinceramente non so…

Il problema è meno semplice di quel che sembra: la reference di XeTeX recita:

1.1 Font options
‹Font options› are only applicable when the font is selected through the operating system:
[…]
/S=x Use the version of the selected font corresponding to the optical size x pt.

più avanti, tra le font features elenca:

optical size=x
Selects the optical size, x pt. Note the difference between the /S font option,
which selects discrete fonts.

Non una parola in più, neanche per spiegare che cappero sono i “discrete fonts”. Forse la feature “optical size=x” si limita ad ingrandire l’immagine dei glifi mentre “/S=x” carica un diverso file?

Farò dei test.

Li ho fatti io su una macchina dove c’è Minion Pro. Il codice
`\font\minionX=”Minion Pro/S=10;”
\font\minionV=”Minion Pro/S=5;”

\minionX Abc

\minionV Def

\bye`
dato in pasto a xetex produce un PDF e con pdffonts ottengo le seguenti informazioni:
`name type emb sub uni object ID
———————————— —————– — — — ———
WOPIKX+MinionPro-Regular-Identity-H CID Type 0C yes yes yes 5 0
ACSYWZ+MinionPro-Capt-Identity-H CID Type 0C yes yes yes 7 0
RQBQNO+CMR10 Type 1C yes yes no 8 0`
Risponde alla tua domanda? Mi pare di sì.

Ciao
Enrico

Go to top