liberationfonts / liberation-fonts

The Liberation(tm) Fonts is a font family which aims at metric compatibility with Arial, Times New Roman, and Courier New.
Other
439 stars 21 forks source link

OpenType Fonts Distribution #31

Open dustalov opened 4 years ago

dustalov commented 4 years ago

Currently, Liberation fonts are available as TrueType (TTF) fonts, but FontForge offers support for a newer OpenType format (OTF). Since the fonts are already building in TTF, SVG, WOFF, and EOT, is it possible to distribute the OTF fonts as well?

khaledhosny commented 4 years ago

The TTFs are OpenType fonts, the file extension is a historical artifact. What do you need the .otf files for?

dustalov commented 4 years ago

When I compile a LaTeX document with the 2.1.1 version of the Liberation fonts, I observe the CID TrueType font type in pdffonts command output, while GNU FreeFont and other OpenType fonts show as CID Type 0C.

Also, the file command identifies the Liberation TTF files as TrueType Font data, 19 tables, 1st "FFTM", 30 names, Macintosh, while the same command identifies OpenType fonts as just OpenType font data.

This inconsistency confused me for a little bit. I assume the LuaLaTeX engine that I use embeds OpenType fonts more efficiently than the regular TrueType ones, which results in smaller PDFs, which is good.

msg-tbrtz commented 3 years ago

Hey @dustalov @khaledhosny

How exactly would I retreive the font as WOFF (or better WOFF2) file? Do I need to build it manually with FontForge?