-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Since font/line size is a pixel value, sometimes the settings file draws the text way too small/too large.
It might make sense to have a calibration also have it's own font/line settings.
If so, I'd make the font/line settings be picked up by the name of the calibration, for ease of programming the user-settings file.
Eg.
Cal_Names = ['FluoroScope 5x', 'FluoroScope 10x', 'Fluoroscope 100x',
'JEOL SEM 2800x', 'JEOL SEM 50000x']
LineSize_default = 10.0
FontSize_default = 12.0
LinesSize_custom = [ ] # initialize the list
LineSize_custom.append( ['FluoroScope 5x', 14.0] ) # like a key-value pair
LineSize_custom.append( ['FluoroScope 10x', 14.0] )
LineSize_custom.append( ['FluoroScope 100x', 14.0] )
LineSize_custom.append( ['JEOL SEM 2800x', 28.0] )
LineSize_custom.append( ['JEOL SEM 50000x', 28.0] )