You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#defineDPI 141 // Approximate resolution of common displays
@@ -259,21 +259,6 @@ int main(int argc, char *argv[])
259
259
bitmap=&face->glyph->bitmap;
260
260
g= (FT_BitmapGlyphRec*)glyph;
261
261
262
-
// Minimal font and per-glyph information is stored to
263
-
// reduce flash space requirements. Glyph bitmaps are
264
-
// fully bit-packed; no per-scanline pad, though end of
265
-
// each character may be padded to next byte boundary
266
-
// when needed. 16-bit offset means 64K max for bitmaps,
267
-
// code currently doesn't check for overflow. (Doesn't
268
-
// check that size & offsets are within bounds either for
269
-
// that matter...please convert fonts responsibly.)
270
-
271
-
// Check that the requested font size fits within the limits
272
-
// of the 8-bit member variables
273
-
if (bitmap->width>255|| (face->glyph->advance.x>>6) >255) {
274
-
printf("The requested size is too large to fit in the BB_GLYPH member vars\nEither request a smaller size or change the member variables to be 16-bits\n");
0 commit comments