Axel
Axel copied to clipboard
AxFont throws and Invalid BitmapData Error #2015 in static function fromFont
The AxFont.fromFont function throws an Invalid BitmapData Error when using embedded fonts. The error happens in line 219 where the bitmap is created.
This happens because at times, tf.width - dpadding becomes 0 or less than 0.