> > Cool. FreeType should preset bitmap dimensions at the loading stage. > It does it now for regular outlines at the request of font texture > atlasing folks. Basically, this is a rudimentary rendering operation > and should be handled by each renderer. >
Well, I have no idea what font texture atlasing is and how it is connected to bitmap presetting at the loading stage. I'll look that up. Currently, I use `FT_Outline_Get_BBox' to calculate the bounding box and this has worked pretty well for almost all the fonts I tested it on. The presetting for OT-SVG glyphs, by which I guess we mean, allocating the space for the buffer, setting the width, height, `bitmap_left' and `bitmap_top' is all done in the SVG renderer module. This can be shifted to the "glyph loading" side too, at least with the current design, it is possible to do this, if there's good reason to do so. :)
_______________________________________________ Freetype-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype-devel
