| 1 |
#Needs: fonts/HanSans-Bold.otf |
| 2 |
# but any other otf cid font would do. |
| 3 |
|
| 4 |
Open($2); |
| 5 |
Print( "...Read HanSans-Bold.otf") |
| 6 |
Generate("HansSansBold.otf"); |
| 7 |
Print( "...Generated otf (cid)") |
| 8 |
Generate("HansSansBold.cid"); |
| 9 |
Print( "...Generated ps cid") |
| 10 |
Save("HansSansBold.sfd"); |
| 11 |
Print( "...Saved cid sfd") |
| 12 |
Save("HansSansBold.sfdir"); |
| 13 |
Print( "...Saved cid sfdir") |
| 14 |
Close(); |
| 15 |
Open("HansSansBold.sfdir"); |
| 16 |
Print( "...Opened cid sfdir") |
| 17 |
Close(); |
| 18 |
Open("HansSansBold.sfd"); |
| 19 |
Print( "...Opened cid sfd") |
| 20 |
Close(); |
| 21 |
Quit() |