These are steps we followed in session for lohitising open type fonts.
1. git clone https://github.com/pravins/lohit
2. cd (devanagari or malayalam etc as per your fonts script requirement)
3. cp "yourfont.ttf" .
4. yourfont.ttf open with fontforge and save as a yourfont.sfd
5. open yourfonts .sfd and update glyphs names as per lohit fonts.
6. python ../scripts/apply_featurefile.py yourfont.sfd Lohit-.fea
Things to note here apply_featurefile.py only import gsub of lohit project, it will keep gpos tables intact.
There are number of benefits of lohitising open type fonts, i will write separate blog on it with proper implementation example.
1. git clone https://github.com/pravins/lohit
2. cd (devanagari or malayalam etc as per your fonts script requirement)
3. cp "yourfont.ttf" .
4. yourfont.ttf open with fontforge and save as a yourfont.sfd
5. open yourfonts .sfd and update glyphs names as per lohit fonts.
6. python ../scripts/apply_featurefile.py yourfont.sfd Lohit-
Things to note here apply_featurefile.py only import gsub of lohit project, it will keep gpos tables intact.
There are number of benefits of lohitising open type fonts, i will write separate blog on it with proper implementation example.
3 comments:
What are the license implications of this? :)
What are the license implications of this? :)
Good question !!
You are the best person to say that :)
Present Lohit fonts license is OFL, so i think same gets apply to .fea file as well.
But still as we are rewriting OT rule we have freedom to choose appropriate license for .fea file.
Post a Comment