float intSize;
int glyphSize;
- rtexture_t *texture;
+ cachepic_t *pic;
qboolean static_tex;
glyph_slot_t glyphs[FONT_CHARS_PER_MAP];
ft2_kerning_t kerning;
// safes us the trouble of calculating these over and over again
double sfx, sfy;
+
+ // the width_of for the image-font, pixel-snapped for this size
+ float width_of[256];
};
struct ft2_attachment_s
{
- unsigned char *data;
+ const unsigned char *data;
fs_offset_t size;
};