| 1 |
#!/usr/bin/fontforge |
| 2 |
|
| 3 |
Open("./mplus-1m-regular-new.ttf") |
| 4 |
Select(32,12287,65281,65510) |
| 5 |
ScaleToEm(1024) |
| 6 |
Move(0,-24) |
| 7 |
Copy() |
| 8 |
|
| 9 |
Open("./KonatuTohaba.ttf") |
| 10 |
Select(32,12287,65281,65510) |
| 11 |
Paste() |
| 12 |
|
| 13 |
Generate("./komatuna.ttf") |
| 14 |
|
| 15 |
Open("./mplus-2m-regular-new.ttf") |
| 16 |
Select(12288,12292,12294,12542) |
| 17 |
ScaleToEm(1024) |
| 18 |
Move(0,-24) |
| 19 |
Copy() |
| 20 |
|
| 21 |
Open("./komatuna.ttf") |
| 22 |
Select(12288,12292,12294,12542) |
| 23 |
Paste() |
| 24 |
|
| 25 |
SelectAll() |
| 26 |
SetOS2Value("HHeadDescent",80) |
| 27 |
SetOS2Value("HHeadAscent",-86) |
| 28 |
|
| 29 |
SetFontNames("Komatuna","Komatuna","Komatuna") |
| 30 |
SetTTFName(0x409,1,"Komatuna") |
| 31 |
SetTTFName(0x409,3,"Komatuna") |
| 32 |
SetTTFName(0x409,4,"Komatuna") |
| 33 |
SetTTFName(0x411,1,"Komatuna") |
| 34 |
SetTTFName(0x411,3,"Komatuna") |
| 35 |
SetTTFName(0x411,4,"Komatuna") |
| 36 |
|
| 37 |
Generate("./komatuna.ttf") |