rsms / inter

The Inter font family
https://rsms.me/inter/
SIL Open Font License 1.1
17.21k stars 399 forks source link

Produce VF CFF2 OTF font files (blocked on fonttools?) #187

Open iemejia opened 4 years ago

iemejia commented 4 years ago

Could you please add the variable OTF fonts to the download package. Great work btw!

Derpitron commented 4 years ago

What would be the use of this? The variable TTF fonts work just fine! Is it a technical issue for your computer, or do you not like the TTF format? What's the issue?

iemejia commented 4 years ago

Just for the sake of completeness. Other variable fonts like the Adobe ones are available in both TTF and OTF form. Fonts work ok for me. So TTF is ok. I just found curious after reading in the website that there were variable versions that those were not in OTF format too. Feel free to ignore this, just created this issue thinking that it was forgotten..

rsms commented 4 years ago

AFAIK fonttools’ varLib doesn’t fully support producing VF CFF2 OTF files yet. If I ask fontmake to produce a CFF2 OTF from the designspace, I get a font file that causes Apple Font Book to choke with these errors:

Screen Shot 2019-09-03 at 19 03 55

Perhaps there’s been recent progress on varLib — I will keep this issue open as a TODO to try and see if a more recent version of fonttools produce valid VF OTFs.

rsms commented 4 years ago

Yesterday evening I tried producing a VF CFF2 OTF with fontools 3.44.0 (which is what latest fontmake uses) and the resulting OTF is broken in the same way according to Font Book.

I don’t know much about the details of CFF2, but perhaps someone out there does and can help?

rsms commented 4 years ago

Tried this again today after upgrading to fonttools 4.0.1 and still no good. Note that it’s possible that macOS does not support CFF 2 and that fonttools actually do generate valid font files. I’m not sure how to tell. (And I’m not sure it makes a difference in this case.)

anthrotype commented 4 years ago

Do the fonts work in Adobe apps or in browsers? Do they pass validation with ots-sanitize (the latest version supports CFF2)?

SerLinkzero commented 2 years ago

What would be the use of this? The variable TTF fonts work just fine! Is it a technical issue for your computer, or do you not like the TTF format? What's the issue?

When converted to outlines in application such as Illustrator, Inter V seems to produce excessive amount of anchors (a common result when converting quadratic bézier curve to cubic).

I know that TTF can also contain cubic bézier curves, but when Inter V is built the font software might have executed an auto conversion from cubic to quadratic. The curve quality seem to be okay, still more anchor amount means larger file size, esp. when using SVG.

xanadu3 commented 3 weeks ago

Is there any news regarding the VF CFF2 OTF?

xanadu3 commented 2 weeks ago

What would be the use of this? The variable TTF fonts work just fine! Is it a technical issue for your computer, or do you not like the TTF format? What's the issue?

Believe it or not, since Adobe's CFF renderer was integrated into FreeType in 2013, the CFF OTF delivers the better, sharper and more faithful result at certain screen resolutions. Even at 163 ppi.