The font size is wrong (it does not respect the end user's font size preferences).
This is because you are hardcoding the scale factor to 1.0:
this.textScaleFactor = 1.0
You should use the default scale factor if the developer using this library does not pass one explicitly.
The font size is wrong (it does not respect the end user's font size preferences).
This is because you are hardcoding the scale factor to 1.0:
You should use the default scale factor if the developer using this library does not pass one explicitly.