summaryrefslogtreecommitdiff
path: root/src/fontpack.c
AgeCommit message (Collapse)Author
2021-10-07Load default.fontpack from resources.lgrJaakko Keränen
The mandatory fonts are in resources.lgr, but still packaged in a ZIP archive.
2021-10-06Revised runtime font managementJaakko Keränen
The built-in fonts are loaded via FontPack, and the font table is now constructed dynamically based on available fonts. A full set of variants (style, size) are prepared for each font, but some of the data gets allocated lazily when needed. GmRun needed a larger allocation for fonts, so now all the fields are combined into a single bit field. TODO: Glyph scaling, vertical offsets, and symbol lookup are still not fully working.
2021-10-05Started working on font packsJaakko Keränen