Add DIN 1451 fonts as default; drop stray Zone.Identifier files
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+9
-7
@@ -17,12 +17,14 @@ _LOGO_B64 = base64.b64encode(_LOGO_PATH.read_bytes()).decode()
|
||||
_FontData = namedtuple('_FontData', ['key', 'label', 'b64', 'glyph_set', 'cmap', 'hmtx', 'upm', 'glyf'])
|
||||
|
||||
_FONT_LABELS = {
|
||||
'GOST_2.30481_type_A': 'GOST Type A',
|
||||
'GOST_2.30481_type_A_Bold': 'GOST Type A Bold',
|
||||
'Gost2.30481TypeB': 'GOST Type B',
|
||||
'ISOCPEUR': 'ISOCPEUR',
|
||||
'SIEMENS_GOST_Type_A': 'Siemens GOST Type A',
|
||||
'TGL_31034-1': 'TGL 31 034',
|
||||
'GOST_2.30481_type_A': 'GOST Type A',
|
||||
'GOST_2.30481_type_A_Bold': 'GOST Type A Bold',
|
||||
'Gost2.30481TypeB': 'GOST Type B',
|
||||
'ISOCPEUR': 'ISOCPEUR',
|
||||
'SIEMENS_GOST_Type_A': 'Siemens GOST Type A',
|
||||
'TGL_31034-1': 'TGL 31 034',
|
||||
'alte-din-1451-mittelschrift.regular': 'Alte DIN 1451 Mittelschrift',
|
||||
'alte-din-1451-mittelschrift.gepraegt': 'Alte DIN 1451 Mittelschrift (Gepraegt)',
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +50,7 @@ def _load_fonts():
|
||||
|
||||
|
||||
_FONTS = _load_fonts()
|
||||
_DEFAULT_FONT = 'GOST_2.30481_type_A'
|
||||
_DEFAULT_FONT = 'alte-din-1451-mittelschrift.regular'
|
||||
|
||||
# SVG absolute coordinate constants (1 user unit = 1 mm)
|
||||
ZERO_X = 60.844130
|
||||
|
||||
Reference in New Issue
Block a user