mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-06-19 15:09:23 +00:00
15 lines
471 B
Python
15 lines
471 B
Python
#!/usr/bin/python
|
|
|
|
from utils import mathfont
|
|
import fontforge
|
|
|
|
nAryWhiteVerticalBarCodePoint = 0x2AFF
|
|
v1 = 5 * mathfont.em
|
|
f = mathfont.create("largeop-displayoperatorminheight%d" % v1)
|
|
f.math.DisplayOperatorMinHeight = v1
|
|
mathfont.createSquareGlyph(f, nAryWhiteVerticalBarCodePoint)
|
|
g = f.createChar(-1, "uni2AFF.display")
|
|
mathfont.drawRectangleGlyph(g, mathfont.em, v1, 0)
|
|
f[nAryWhiteVerticalBarCodePoint].verticalVariants = "uni2AFF uni2AFF.display"
|
|
mathfont.save(f)
|