> I'm using FreeType for a terminal emulator application, and I need
> some advice for calculating the appropriate size for cells in the
> terminal emulator, given a monospace font.

Have you tried the various FT_SIZE_REQUEST_TYPE_XXX requests?

> Right now I'm just using FT_FaceRec.bbox as follows: [...]

No time to check that in detail.  If the above fails I suggest that
you get the metrics from, say, digit zero and use this to scale the
font – if the font is intended as a mono-space font, the digits *must*
fit :-)


    Werner
_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to