chandra
(chandra)
March 3, 2019, 1:28am
1
for learning purpose, I am using noto-sans Kannada source.
https://github.com/googlei18n/noto-source/tree/master/src/NotoSansKannada
It uses plist for feature file. It is not included in the glyphs file.
When I use fontmake -g NotoSansKannada-MM.glyphs, it doesn’t know to include the feature file.
Should we include NotoSansKannada-MM.plist in the glyphs file?
mekkablue
(Rainer Erich Scheichelbauer)
March 3, 2019, 4:43am
2
The GPOS, GSUB and GDEF info is contained in txt files. The plist files only contain the info which glyphs file needs which txt files.
The features are not in any format I know, seems like they have had their own workflow for making the fonts. Perhaps they documented their process somewhere?
I didn’t look at the source but I know that some of the Noto fonts use a proprietary format from Monotype. That might be the case here.
zakkuri
(Zachary Scheuren)
March 5, 2019, 2:20am
5
Yes, some sources are Monotype OpenType (https://github.com/Monotype/OpenType_Table_Source ). With fontmake you need to specify the plist that points to those files. The actual commands run by Google are in the noto-source repo, but the basic command would be
fontmake -g NotoSansKannada-MM.glyphs --mti-source NotoSansKannada-MM.plist --no-production-names
3 Likes
chandra
(chandra)
March 5, 2019, 3:22am
6
Thanks, it works like a charm.
moizngp
(moizngp)
March 26, 2021, 11:39am
7
Hello,
I came across this awesome project by Noto.
It has the same structure as NotoSansKannada-MM.
The .glyphs contains only the shapes, while GPOS and GSUB tables are external .txt files.
I’m interested in studying the Contextual alternates in GSUB tables.
What does the fontmake command do?
Can I generate a .glyphs file with feature code from that?
Thanks and regards.
Those .ttx files are the sources for a special tool from Monotype.
moizngp
(moizngp)
March 30, 2021, 5:25am
9
Please can you provide more details about the tool?
Is it possible to import those txt files in glyphs?
Thanks.
mekkablue
(Rainer Erich Scheichelbauer)
March 30, 2021, 8:28am
10
.ttx files are an XML representation of compiled font tables. So you can convert them to a font file with FontTools and open that in Glyphs.
he meant .txt files, not .ttx.
moizngp
(moizngp)
April 1, 2021, 2:09am
12
Thanks @mekkablue and @GeorgSeifert for the help.
I’m a complete novice with FontTools and completely clueless about it’s usage.
I managed to install FontTools.
Please, can you suggest how do I convert the .txt files to a font file.
Thanks.
As I said, those files are proprietary files from Monotype and you need their tools to convert it.
mekkablue
(Rainer Erich Scheichelbauer)
April 1, 2021, 8:37am
14
Sorry, I am the wrong person to ask. I know as much about it as you do.