inter icon indicating copy to clipboard operation
inter copied to clipboard

font naming conventions

Open ousia opened this issue 3 years ago • 2 comments

@rsms,

your variable fonts contain the following info (using otfinfo --info):

Family:              Inter
Subfamily:           Regular
Full name:           Inter
PostScript name:     Inter
Mac font menu name:  Inter
Version:             Version 3.019;git-0a5106e0b
Unique ID:           Inter:VF:2021:0a5106e0b

Family:              Inter
Subfamily:           Italic
Full name:           Inter
PostScript name:     Inter
Mac font menu name:  Inter
Version:             Version 3.019;git-0a5106e0b
Unique ID:           Inter:VF:2021:0a5106e0b

Same info for variable Literata:

Family:              Literata
Subfamily:           Regular
Full name:           Literata Regular
PostScript name:     Literata-Regular
Version:             Version 3.002
Unique ID:           3.002;TT;Literata-Regular

Family:              Literata
Subfamily:           Italic
Full name:           Literata Italic
PostScript name:     Literata-Italic
Version:             Version 3.002
Unique ID:           3.002;TT;Literata-Italic

It seems that full and PS name should contain the style (and I think that ID should be different for each font).

Would you be so kind to fix this issue?

Many thanks for your help.

ousia avatar Sep 15 '22 19:09 ousia

Please provide detailed information about the exact font files you are using

rsms avatar Sep 18 '22 23:09 rsms

https://github.com/rsms/inter/releases/download/v3.19/Inter-3.19.zip and there Inter Variable/Single Axis.

SHA512 sums for these files read:

3f14ba9d013da2827ab5b61125b6a0f440f7e7ee5f4ae37292b6c98b555c3ba9c3362d0396edd057a770b6d4527bc06cd3ca241d61d57063855bf343672579f4  Inter Variable/Single axis/Inter-italic.ttf
278bc08f819bebdaab3f3d828edb42299a74ee931e74f7f11eb51d2cf37e9247594af85b1d7941e6ecf7427eca202c4ac5eab66779eea2180eadb14123fa8675  Inter Variable/Single axis/Inter-roman.ttf

ousia avatar Sep 19 '22 15:09 ousia

Thank you

rsms avatar Oct 15 '22 23:10 rsms

Here's what it looks like now with 8c2631206b58fc9f8947a6a9d63af12a72a079b7:

$ otfinfo --info Inter.var.ttf &&
  otfinfo --info Inter-Italic.var.ttf

Family:              Inter
Subfamily:           Regular
Full name:           Inter Regular
PostScript name:     Inter-Regular
Version:             Version 4.000;git-ce3d561fc
Unique ID:           Inter-Regular:2022:ce3d561fc
...

Family:              Inter
Subfamily:           Italic
Full name:           Inter Italic
PostScript name:     Inter-Italic
Version:             Version 4.000;git-ce3d561fc
Unique ID:           Inter-Italic:2022:ce3d561fc
...

Here's a build to test: Inter-4.00-8c2631206b.zip

rsms avatar Oct 15 '22 23:10 rsms

Naming works fine.

But weight doesn’t work and OT features (c2sc, scmp) work wrong.

ousia avatar Oct 22 '22 08:10 ousia

But weight doesn’t work and OT features (c2sc, scmp) work wrong.

Weight works fine (sorry, this was my fault).

And I have noticed that small caps are available only for some glyphs (g h i l m n r t y).

Many thanks the new beta and for fixing the naming conventions.

ousia avatar Oct 22 '22 08:10 ousia