actionscript 3 - TextField lowercase line -


i need distance between baseline , lowercase line inside the scaled textfield, using actionscript 3. marked it's blue arrows here: enter image description here

does knows how value?

what looking called x-height. unfortunately, flash actionscript api not provide way of getting x-height typeface.

with tricky techniques, might able calculate x-height though. thinking might able create new textfield "x" in it, , draw bitmapdata. test pixels height.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -