Adobe ditching Type 1 fonts

khzimmer at posteo.de khzimmer at posteo.de
Wed Sep 21 11:30:49 CEST 2022


Am 21.09.2022 11:13 schrieb khzimmer at posteo.de:
> Am 21.09.2022 10:58 schrieb Ulrike Fischer:
>> The problem is that pdflatex can't use them as it can't subset them.
>> E.g.
>> 
>> \documentclass[12pt]{article}
>> \pdfmapline{=cmr12 cm < lmroman12-regular.otf}
>> \begin{document}
>> abc
>> \end{document}
>> 
>> will give a fatal error:
>> 
>> !pdfTeX error: pdflatex.exe (file lmroman12-regular.otf): OTF
>> fonts must be included entirely
> 
> Is there any chance to change this in the near future, so
> that OTF fonts could be included partially, too?
> 
> Or are there difficult technicel reasons why that's not possible?

Just wondering, might we be able to use an external tool
for subsetting OTF fonts before they are included by pdf[la]tex?

There is this tool, I have no diea how solid it is, never tried:

https://fonttools.readthedocs.io/en/latest/subset/index.html

| pyftsubset is an OpenType font subsetter and
| optimizer, based on fontTools. It accepts any TT- or
| CFF-flavored OpenType (.otf or .ttf) or WOFF (.woff) font file.
| The subsetted glyph set is based on the specified glyphs or
| characters, and specified OpenType layout features.

Might that be a way?


More information about the tex-live mailing list.