3 ms·
Love the font but wish you'd share your custom algorithm. I've designed a number of pixel fonts in the past I'd love to convert to strokes in this way. Any chan
by Solvency 3y ago
Love the font but wish you'd share your custom algorithm. I've designed a number of pixel fonts in the past I'd love to convert to strokes in this way. Any chance you'd release a little conversion kit?
- lifthrasiir 3y agoI've done so in the past and I believe it's not much different from usual pixel-art scaling algorithms. At some point though you would want more control over which corner should be sharp or not, and that resulted in my own semi-bitmap font with a subpixel handling [1]. [1] https://github.com/lifthrasiir/unison https://github.com/lifthrasiir/unison
- CaptainOfCoit 3y agoIs it not what's in miracoda.py? https://github.com/IdreesInc/Miracode/blob/main/src/miracode.py https://github.com/IdreesInc/Miracode/blob/main/src/miracode... Would be strange to make the project FOSS but not share all the parts that went into it.
- IdreesInc 3y agoDon't worry, it's completely open source! Miracode is a fork of my other font "Monocraft" which is under the GPL. As such, Miracode is also GPL, and the font files themselves are under the OFL. Since it's a fork, there are a few extra files that are not actually executed which may be why you aren't seeing the algorithm. Check miracode.py for the script that generates the font! No promises that it'd work on other fonts though, the "algorithm" was made over a weekend and as such could definitely use some optimization. On the bright side, I did include a unit testing system which might help others convert fonts in the future.
- Solvency 3y agoAwesome, thanks. I'm only versed in JS and Lua and all of my pixel fonts are basically glyphs on a big sprite sheet of 32x32 pixel grid cells. How difficult would it be for me to simply patch what you've started to work off something simple like bitmap data to export a TTF of converted vector data?