holder icon indicating copy to clipboard operation
holder copied to clipboard

Could not set size lesser than certain value

Open pincher2012 opened this issue 7 years ago • 1 comments

https://github.com/imsky/holder/blob/5d03b972f0082c6c640f8e9223ca897ebc24dd50/src/lib/index.js#L844

This code use image dimensions and App.defaults.scale which is not configurable for fontSize computing. https://github.com/imsky/holder/blob/5d03b972f0082c6c640f8e9223ca897ebc24dd50/src/lib/index.js#L660

Hence font size could not be lesser then some computed value. It would be great to set any font size.

pincher2012 avatar Nov 14 '18 12:11 pincher2012

yes Holder was designed to render text in a "foolproof" way, so that tiny text would be impossible

i'll think about this, seems reasonable to allow more control. probably a v3 feature

imsky avatar Nov 26 '18 17:11 imsky