Working with Font Classes in FontLab Studio Using Python

Tim Rolands
Posts: 12
Has anyone out here written python to add and remove classes in FontLab Studio? Or know of somewhere this has been done successfully? The "classes" property of the font is supposed to be a list of strings, but I cannot seem to append new strings. Any examples would be much appreciated!
0
Comments
-
I did find one way that works. I can make a copy of the font.classes list, modify that list and then replace font.classes with my modified list. Doesn't seem an elegant way of accomplishing the desired results, but it does work.0
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 811 Font Technology
- 1.1K Technique and Theory
- 628 Type Business
- 449 Type Design Critiques
- 547 Type Design Software
- 30 Punchcutting
- 137 Lettering and Calligraphy
- 84 Technique and Theory
- 53 Lettering Critiques
- 493 Typography
- 307 History of Typography
- 115 Education
- 71 Resources
- 505 Announcements
- 81 Events
- 106 Job Postings
- 151 Type Releases
- 166 Miscellaneous News
- 271 About TypeDrawers
- 53 TypeDrawers Announcements
- 117 Suggestions and Bug Reports