Just made the Flavortown project today, so I’ll catch y’all up on my progress! Currently, I’ve completed the code for loading font files and the KDL spec (where you tell it which glyphs you want to copy), and I’ve also written the functions for matching up target fontfaces with the corresponding source fontface. Next order of business is to cook up the functions to actually copy over the glyphs–right now I’m working on using the ligature components from the KDL spec to track down the appropriate ligature glyphs (which is, of course, much more difficult than it has any reasonable right to be sigh). Basically involves looping over every glyph in the font (puke) and determining whether it’s a ligature or a normal glyph, then checking if the ligature components line up with the ones that are needed for the ligature to be copied…for every ligature that needs to be copied. Hopefully it won’t be too painfully slow. Anyway, here’s the ASCII banner I made for the CLI program–unfortunately the actual program isn’t much to look at TwT
Log in to leave a comment