> What we want to do is to create a "tallest/biggest" font within a
> user-supplied (maximum) height.  The problem is that if we call
> FT_Set_Pixel_Sizes with height 30 for instance, the maximum height
> of the resultant font we get could be as high as 42 (measured on
> screen.)  So I have a method DeriveDesignHeightFromMaxHeight (which
> works like below) to call before actually creating the font.
> 
> While this approach seems to work, I find myself a bit silly to have
> to do this.  Is there a better way to limit the maximum height of a
> font to be created?

No.  Some font formats provide the necessary information, others
don't.


    Werner


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

Reply via email to