1

Resolved

Change font size with changing bitMap size

description

BitMap sizes can be changed by the user between 16, 24, 32 and 48 pixels. However, the font size always remains what the programmer set in the painter.

Propose changing font size to painter font size +1, +2, +3 and +4 when the user changes bitmap size, respectively. So, if the font is 8 set by the developer in the painter and the user selects XLARGE for bitmaps, the font size will change from 8 to 12.

comments

cjharris02892 wrote May 26, 2016 at 6:31 PM

Since I got no feedback, nor objection, from my Discussions post, I went ahead and did this. As noted in the original post #fontSize is now tied to #bitMapSize and vice versa as follows:

16 pixels <=> 8 point
24 pixels <=> 10 point
32 pixels <=> 12 point
48 pixels <=> 14 point

The way this is determined from the painter values is as follows:

16 pixels = 1, 24 pixels = 2, 32 pixels = 3, 48 pixels = 4
8 point = 1, 10 point = 2, 12 point = 3, 14 point = 4

Final size settings is equal to the max of the two settings.

i.e. #bitMapSize = 24, #fontSize = 12, then #bitMapSize = 32 and #fontSize = 12
i.e. #bitMapSize = 24, #fontSize = 8, then #bitMapSize = 24 and #fontSize = 10

Then if the user changes the size using the right-Click menu, the values are kept in sync.

wrote May 26, 2016 at 6:31 PM