Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenType Fonts Distribution #31

Open
dustalov opened this issue Sep 16, 2020 · 3 comments
Open

OpenType Fonts Distribution #31

dustalov opened this issue Sep 16, 2020 · 3 comments

Comments

@dustalov
Copy link

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
Copy link

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

@dustalov
Copy link
Author

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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants