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:
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
Post a Comment