Working with Font Classes in FontLab Studio Using Python
Options
![Tim Rolands](https://secure.gravatar.com/avatar/411855e2af5d174e938ba4e8f49e0ebb/?default=https%3A%2F%2Fvanillicon.com%2Fdd9a36aaccbec8ae7b1780837f13f9bd_200.png&rating=g&size=200)
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
- 40 Introductions
- 3.6K Typeface Design
- 780 Font Technology
- 1K Technique and Theory
- 601 Type Business
- 437 Type Design Critiques
- 530 Type Design Software
- 30 Punchcutting
- 135 Lettering and Calligraphy
- 82 Technique and Theory
- 53 Lettering Critiques
- 468 Typography
- 293 History of Typography
- 112 Education
- 63 Resources
- 485 Announcements
- 76 Events
- 105 Job Postings
- 147 Type Releases
- 156 Miscellaneous News
- 264 About TypeDrawers
- 53 TypeDrawers Announcements
- 112 Suggestions and Bug Reports