#!/usr/bin/fontforge Open("./mplus-1c-medium-new.ttf") Select(32,12287,65281,65510) ScaleToEm(940) Move(0,-18) Copy() Open("./Konatu.ttf") Select(32,12287,65281,65510) Paste() Generate("./komatuna-p.ttf") Open("./mplus-2c-medium-new.ttf") Select(12288,12292,12294,12542) ScaleToEm(1000) Move(0,-20) Copy() Open("./komatuna-p.ttf") Select(12288,12292,12294,12542) Paste() SelectAll() SetOS2Value("HHeadAscent",-90) SetOS2Value("HHeadDescent",780) SetFontNames("Komatuna-P","Komatuna P","Komatuna P") SetTTFName(0x409,1,"Komatuna P") SetTTFName(0x409,3,"Komatuna P") SetTTFName(0x409,4,"Komatuna P") SetTTFName(0x411,1,"Komatuna P") SetTTFName(0x411,3,"Komatuna P") SetTTFName(0x411,4,"Komatuna P") Generate("./komatuna-p.ttf")