(svn r23315) -Codechange: Only encode sprites for zoom levels that will be used.
This commit is contained in:
@@ -1113,6 +1113,7 @@ const Sprite *GetGlyph(FontSize size, WChar key)
|
||||
|
||||
/* FreeType has rendered the glyph, now we allocate a sprite and copy the image into it */
|
||||
sprite.AllocateData(width * height);
|
||||
sprite.type = ST_FONT;
|
||||
sprite.width = width;
|
||||
sprite.height = height;
|
||||
sprite.x_offs = slot->bitmap_left;
|
||||
|
Reference in New Issue
Block a user