please make jimp supporting otf font files, its making me go crazy becuase there isn't any otf to fnt font converters.
please, send me a online converter or make jimp support otf font files
@MLiranG i just used hiero (linked in the readme) to convert an otf font with ease. I'll look into supporting those font types but it might not be possible
I just looked into it more. this requires canvas to be available for jimp to render the text chars.
To do this we would have to:
All the canvas for node implementations I have found require OS specific dependancies. This breaks the core rule of jimp "full javascript image manipulation".
If you can find a good way to convert ttf and otf fonts to bitmap data we can go forward with this. Soon I am gonna make a plugin system available and you could make your own way to load and print these font type. Otherwise I do not think this should be in jimp core.
Hey @MLiranG, I know I'm really late to this, but using BMFont by AngelCode I was able to convert an OTF font to .fnt - the software is a bit fiddly but it works great :)
+1 on this
Hey @MLiranG, I know I'm really late to this, but using BMFont by AngelCode I was able to convert an OTF font to .fnt - the software is a bit fiddly but it works great :)
@mattnotmitt Do you have settings that you are using for BMFont by AngleCode? I keep getting buffer errors when I try and use it.
@sops21 I used it to convert an entire CJK font so I'm not sure how you've managed to do that 馃槄 - if you could give me a link to it I'll take a look for you!
I don't have pc and i can't use BMFont by AngelCode
Hey @MLiranG, I know I'm really late to this, but using BMFont by AngelCode I was able to convert an OTF font to .fnt - the software is a bit fiddly but it works great :)
_only_ 2 years and 1 month thats ok
Go to website https://ttf2fnt.com/
Upload your font in ttf format
Choose color, size, ... and click convert
You will get fnt format which works is bitmap format
It works !!!
Go to website https://ttf2fnt.com/
Upload your font in ttf format
Choose color, size, ... and click convert
You will get fnt format which works is bitmap formatIt works !!!
Thanks
Most helpful comment
Hey @MLiranG, I know I'm really late to this, but using BMFont by AngelCode I was able to convert an OTF font to .fnt - the software is a bit fiddly but it works great :)