]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - ft2_fontdefs.h
patch by Blub and me:
[xonotic/darkplaces.git] / ft2_fontdefs.h
index 20726d03a1f76fd23faaa45393aac1230053a6b4..87fba4c56542dccef8ac4554b9c17bb63af4b544 100644 (file)
@@ -43,6 +43,9 @@ struct ft2_font_map_s
        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