This repository has been archived by the owner on Jun 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathformat.py
59 lines (52 loc) · 1.65 KB
/
format.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# A static data structure that contains all of the formats that
# forc can export to, what their names and what their properties are.
formats = {"SVGinOT":
{"name": "SVGinOT"
,"imageFormat": "svg"
,"imageTables": "SVG"
,"ligatureFormat": "OpenType"
,"extension": ".otf"
,"iOSCompile": False
}
,"sbixTT":
{"name": "sbixTT"
,"imageFormat": "png"
,"imageTables": "sbix"
,"ligatureFormat": "TrueType"
,"extension": ".otf"
,"iOSCompile": False
}
,"sbixOT":
{"name": "sbixOT"
,"imageFormat": "png"
,"imageTables": "sbix"
,"ligatureFormat": "OpenType"
,"extension": ".ttf"
,"iOSCompile": False
}
,"sbixTTiOS":
{"name": "sbixTTiOS"
,"imageFormat": "png"
,"imageTables": "sbix"
,"ligatureFormat": "TrueType"
,"extension": ".ttf"
,"iOSCompile": True
}
,"sbixOTiOS":
{"name": "sbixOTiOS"
,"imageFormat": "png"
,"imageTables": "sbix"
,"ligatureFormat": "OpenType"
,"extension": ".ttf"
,"iOSCompile": True
}
,"CBx":
{"name": "CBx"
,"imageFormat": "png"
,"imageTables": "CBx"
,"ligatureFormat": "OpenType"
,"extension": ".ttf"
,"iOSCompile": False
}
}
compilers = ["ttx", "forc"]