char101·3 anni fa·discussDoesn't appear in gVim on Windows, need to set the panose attribute first: from fontTools import ttLib from path import Path output_dir = Path('mono') for file in Path('.').files('*.otf'): print(file) font = ttLib.TTFont(file) font['post'].isFixedPitch = 1 font['OS/2'].panose.bProportion = 9 font.save(output_dir / file.name) font.close()
char101·4 anni fa·discussBecause life is not a technical problem but a socio-economic problem where we have little control and everything is uncertain.
char101·4 anni fa·discussAnother tip: use https://github.com/sfu-db/connector-x to load database query result to pandas without memory copy resulting in faster operation.
char101·13 anni fa·discussM+mnSample: http://i.imgur.com/cJaXfe5.pnghttp://mplus-fonts.sourceforge.jp/