nhn / tui.image-editor

🍞🎨 Full-featured photo image editor using canvas. It is really easy, and it comes with great filters.
http://ui.toast.com/tui-image-editor
MIT License
6.84k stars 1.26k forks source link

Allow max font size to vary (or be set) #804

Open dcaud opened 1 year ago

dcaud commented 1 year ago

On images that are somewhat large, the max font size of the draw addText is too small. How can we make the text larger given that the slider in the UI defaults to 100.

I can make the text larger by dragging on the selection corners, but as soon as I drag the slider it defaults back to a max of 100.

I can set a larger font size outside of the UI using something like:

imageEditor.addText('', {
     styles: {
         fontSize: 444,
     },
    position: {
         x: 10,
         y: 10
     }
 });

But as soon as the slider is moved in the UI, I can't move it above 100.

Thanks!

lja1018 commented 1 year ago

@dcaud That's a good suggestion. I'm going to add the tag Good first issue.