Experimental package to manipulate open source font data.
$ moon version --all
moon 0.1.20250612 (2a026e0 2025-06-12) ~/.moon/bin/moon
moonc v0.1.20250612+600461c34 ~/.moon/bin/moonc
moonrun 0.1.20250612 (2a026e0 2025-06-12) ~/.moon/bin/moonrunhttp://www.apache.org/licenses/LICENSE-2.0pub(all) enum AbsoluteCmd {
M
L
C
Q
Z
}impl Eq for AbsoluteCmdimpl Show for AbsoluteCmdpub(all) enum Anchor {
Unchanged
TopLeft
TopCenter
TopRight
CenterLeft
Center
CenterRight
BaselineLeft
BaselineCenter
BaselineRight
BottomLeft
BottomCenter
BottomRight
RatioXY(Double, Double)
}type Cmdpub(all) type! FontError String
pub(all) enum GerberLP {
Dark
Clear
}pub(all) struct Glyph {
char : String
horiz_adv_x : Double
gerber_lp : String
d : String
xmin : Double
ymin : Double
xmax : Double
ymax : Double
}pub(all) struct ParamPair {
x : Double
y : Double
}type Paramspub(all) struct Point {
x : Double
y : Double
}fn translate_path(d : String, x : Double, y : Double, invert_y~ : Bool = ..) -> String raise FontErrorInstall
Download zipExperimental package to manipulate open source font data.