Bug Font.TextHeight

Rich

Active Member
3rd Party Module Dev
Joined
Sep 9, 2017
While looking at my font editor I noticed the following in graphics.cxs
Cerberus X:
    Method TextHeight:Float( text:String )
        Return _height
    End
text:string looks redundant or it not actually returning the max height (including offsets) for the individual letters
 

magic

Active Member
3rd Party Module Dev
3rd Party Tool Dev
Joined
Mar 5, 2018
I wonder why in javascript, its easy to get width of individual alphabet but not for height.
A lot of people do a work around by returning the height of a letter 'M'. Its like an average height !@!$#
 
Top Bottom