rpgtkoolmv / corescript

http://www.rpgmakerweb.com/products/programs/rpg-maker-mv
MIT License
311 stars 75 forks source link

fix corrupted part of descender and outline when using Bitmap#drawSmallText #172

Closed rutan closed 5 years ago

rutan commented 5 years ago

Bitmap#drawSmallText has 2 problems :sob:


(1) bitmap.width is read only property. so, bitmap.width *= 2 is not working. https://github.com/rpgtkoolmv/corescript/blob/cbc82b3e96112cf8122f29c30713f63ec6df2251/js/rpg_core/Bitmap.js#L328-L343

(2) Bitmap#drawSmallText cannot drawn outline (Bitmap#outlineWidth) or descender alphabet (ex. g, j, p ...)... :scream:


I try fix these issues. Please check this PR :pray:

preview

rutan commented 5 years ago

:blush: