luxeengine / alpha

alpha - deprecated 2015~2016. unrelated to the new engine! view the new engine here - https://luxeengine.com/
MIT License
565 stars 74 forks source link

BitmapFont.hx; added line_height_to_point_size #302

Closed ekliot closed 8 years ago

ekliot commented 9 years ago

method for the inverse purpose of the height_of_lines method, to determine the necessary point size for the font in order for the line to fit into a pixel height.

ruby0x1 commented 9 years ago

Thanks for the PR! I'll take a look when I have a gap, I might only be interested in a slight renaming of the function but otherwise seems useful