Closed TheSmiley007 closed 2 years ago
Firstly, this isn't a bug related to the Noto project at all; if there is a bug here, it should be filed at https://github.com/google/robotoslab/
But I'm not sure it is a bug at all. I downloaded Roboto Slab from fonts.google.com (and also checked the file you attached), and both files report the font metadata correctly:
$ ttx -o - -t name RobotoSlab-Bold.ttf
Dumping "RobotoSlab-Bold.ttf" to "-"...
Dumping 'name' table...
<?xml version="1.0" encoding="UTF-8"?>
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="4.33">
<name>
<namerecord nameID="0" platformID="3" platEncID="1" langID="0x409">
Copyright 2018 The Roboto Slab Project Authors (https://github.com/googlefonts/robotoslab)
</namerecord>
<namerecord nameID="1" platformID="3" platEncID="1" langID="0x409">
Roboto Slab
</namerecord>
<namerecord nameID="2" platformID="3" platEncID="1" langID="0x409">
Bold
</namerecord>
<namerecord nameID="3" platformID="3" platEncID="1" langID="0x409">
2.001;GOOG;RobotoSlab-Bold
</namerecord>
<namerecord nameID="4" platformID="3" platEncID="1" langID="0x409">
Roboto Slab Bold
</namerecord>
...
Font files contain two separate name fields: the family name (which identifies which font family this is) and the subfamily name (Bold, Regular, Italic, etc). For Roboto Slab Bold, you should expect the family name to be Roboto Slab and the subfamily name to be Bold. This is what we find above, so the font is behaving correctly.
Roboto Slab Bold Font Has Wrong Font Metadata Name
Font
Where the font came from, and when
Font Version
Issue
Open the font.
Observed results:
Expected results:
Additional information:
Screenshot