X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=ft2_fontdefs.h;h=87fba4c56542dccef8ac4554b9c17bb63af4b544;hb=cd4804cec4feb9908ee83131d8fc59319310dfc5;hp=20726d03a1f76fd23faaa45393aac1230053a6b4;hpb=34ac3e1a25d3b1541a7b32e89c63812b52c3edac;p=xonotic%2Fdarkplaces.git diff --git a/ft2_fontdefs.h b/ft2_fontdefs.h index 20726d03..87fba4c5 100644 --- a/ft2_fontdefs.h +++ b/ft2_fontdefs.h @@ -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