summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@figma.com>2019-02-02 21:20:04 +0300
committerRasmus Andersson <rasmus@figma.com>2019-02-02 21:20:04 +0300
commit61ad1d05c162156db1f1b2257fee5f4af064980d (patch)
treec432fbc9268f29c375929517207fc210b1e8c34c /misc
parent5984c5e5d4f9ac76827a6add1f59bcafdb804789 (diff)
downloadinter-61ad1d05c162156db1f1b2257fee5f4af064980d.tar.xz
fontbuild: document post-processing directives
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/fontbuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/fontbuild b/misc/fontbuild
index a1fe3aa7b..586285a3d 100755
--- a/misc/fontbuild
+++ b/misc/fontbuild
@@ -82,12 +82,14 @@ def composedGlyphIsNonTrivial(g, yAxisIsNonTrivial=False):
# Directives are glyph-specific post-processing directives for the compiler.
# A directive is added to the "note" section of a glyph and takes the
# following form:
-#
+#
# !post:DIRECTIVE
-#
+#
# Where DIRECTIVE is the name of a known directive.
# This string can appear anywhere in the glyph note.
-#
+# Directives are _not_ case sensitive but normalized by str.lower(), meaning
+# that e.g. "removeoverlap" == "RemoveOverlap" == "REMOVEOVERLAP".
+#
knownDirectives = set([
'removeoverlap', # applies overlap removal (boolean union)
])