mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2024-11-23 18:05:01 +00:00
b8fc45b14d
This fixes metrics of U+1F98 (ᾘ) Fixes https://gitlab.com/kicad/code/kicad/-/issues/14398
8 lines
259 B
Python
8 lines
259 B
Python
with open('CKJ_wide.lib') as fi, open('CKJ_lib.lib', 'w') as fo:
|
|
for line in fi:
|
|
tok = line.split()
|
|
if tok and tok[0] == 'P':
|
|
tok[3:-2:2] = [str(int(float(t) / 1.5)) for t in tok[3:-2:2]]
|
|
|
|
print(' '.join(tok), file=fo)
|