From 61ad1d05c162156db1f1b2257fee5f4af064980d Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Sat, 2 Feb 2019 10:20:04 -0800 Subject: fontbuild: document post-processing directives --- misc/fontbuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'misc/fontbuild') 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) ]) -- cgit v1.2.3