Skip to content

Instantly share code, notes, and snippets.

View balthild's full-sized avatar
😢
Depression

Balthild balthild

😢
Depression
View GitHub Profile
@balthild
balthild / fix_paren.py
Created November 7, 2022 02:49
A FontForge script that fixes position of CJK parentheses in FangZheng fonts.
move_chars = [
("([{", 150),
(")]}", -150),
("〈《「『【〔〖", 150),
("〉》」』】〕〗", -150),
]
keep_puncts_only = True
puncts = [
# 这个列表来自 xeCJK 文档