mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Switch to LIT-optimized font size list.
This commit is contained in:
parent
17b1c8a806
commit
3eaede190c
@ -82,14 +82,14 @@ DEFAULTS = {'azimuth': 'center', 'background-attachment': 'scroll',
|
|||||||
FONT_SIZE_NAMES = set(['xx-small', 'x-small', 'small', 'medium', 'large',
|
FONT_SIZE_NAMES = set(['xx-small', 'x-small', 'small', 'medium', 'large',
|
||||||
'x-large', 'xx-large'])
|
'x-large', 'xx-large'])
|
||||||
|
|
||||||
FONT_SIZE_LIST = [('xx-small', 1, 6.),
|
FONT_SIZE_LIST = [('xx-small', 1, 10.),
|
||||||
('x-small', None, 7.),
|
('x-small', None, 11.),
|
||||||
('small', 2, 8.),
|
('small', 2, 13.),
|
||||||
('medium', 3, 9.),
|
('medium', 3, 16.),
|
||||||
('large', 4, 11.),
|
('large', 4, 18.),
|
||||||
('x-large', 5, 13.),
|
('x-large', 5, 20.),
|
||||||
('xx-large', 6, 15.),
|
('xx-large', 6, 22.),
|
||||||
(None, 7, 17.)]
|
(None, 7, 24.)]
|
||||||
|
|
||||||
FONT_SIZE_BY_NAME = {}
|
FONT_SIZE_BY_NAME = {}
|
||||||
FONT_SIZE_BY_NUM = {}
|
FONT_SIZE_BY_NUM = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user