Basic framework for scaling text, unimplemented

This commit is contained in:
2016-07-15 18:34:23 +10:00
parent 0551f05e73
commit 12fbc1000e
3 changed files with 11 additions and 6 deletions
+2 -1
View File
@@ -266,7 +266,8 @@ const i32 asset_loadTTFont(AssetManager *assetManager, const char *filePath)
i32 startingGlyphIndex = 0;
i32 glyphsRemaining = numGlyphs;
i32 glyphsOnCurrRow = glyphsPerRow;
i32 glyphsOnCurrRow =
(glyphsPerRow < glyphsRemaining) ? glyphsPerRow : glyphsRemaining;
// TODO(doyle): We copy over the bitmap direct to the font sheet, should we
// align the baselines up so we don't need to do baseline adjusting at