root/trunk/Documentation/TypoTechnica 2005/scripts Folder/Paulus - bricks/ce encoding.py
| Revision 1, 405 bytes (checked in by erik, 3 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | from robofab.world import CurrentFont |
| 2 | import os |
| 3 | |
| 4 | encfilename= os.path.join(fl.path, r"Encoding", r"WINCE.ENC") |
| 5 | |
| 6 | f = CurrentFont() |
| 7 | f.info.fondID = 30915 |
| 8 | f.naked().encoding.Load(encfilename) |
| 9 | f.naked().ttinfo.os2_ul_code_page_range1 = 2 |
| 10 | # 1= Latin 1 |
| 11 | # 2= Latin 2 |
| 12 | f.naked().ttinfo.os2_ul_code_page_range2 = 67108864 |
| 13 | f.naked().ms_charset = 238 |
| 14 | # Win ANSI=0 |
| 15 | # 1252 Latin 2=238 |
| 16 | f.update() |
| 17 | print f.info.fullName |
Note: See TracBrowser for help on using the browser.
