Resize glyphs in Fontlab using Python
rsdk
Posts: 4
I have Gujarati/ Devnagari Unicode fonts and adding some English glyphs/ diacritics, but need to resize the Uppercase letters to gujarati Pa's dimensions. Can anyone help me write a python script for this?
i'm using fontlab8
i'm using fontlab8
Tagged:
0
Comments
-
Why do you need a Python script for this? There are lots of ways you could resize glyphs within FontLab using basic scaling tools, or with Typerig tools.
If you do need something more complex, I recommend asking in the FontLab Forum.1 -
Just to clarify, both of the approaches mentioned by John above have ways to do such resizing on a selected range of glyphs in your font (or all glyphs, or just one glyph). My usual approach would be to:
- measure both glyphs
- calculate the % increase you need
- select the glyphs you want to scale
- and then in FontLab 6+ you would go to Tools > Actions > Basics >Scale and enter that % (be sure to get both horizontal and vertical scaling!)
2 -
I have to resize about 300 glyphs at once for about 20 fonts0
Categories
- All Categories
- 40 Introductions
- 3.7K Typeface Design
- 795 Font Technology
- 1K Technique and Theory
- 610 Type Business
- 444 Type Design Critiques
- 538 Type Design Software
- 30 Punchcutting
- 135 Lettering and Calligraphy
- 82 Technique and Theory
- 53 Lettering Critiques
- 479 Typography
- 300 History of Typography
- 113 Education
- 66 Resources
- 495 Announcements
- 79 Events
- 105 Job Postings
- 148 Type Releases
- 162 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports