grcompiler(1)
π grcompiler(1) β the manual page, bestie edition π
okay so you found grcompiler in section 1 of the manual and you're like "what is this" β don't worry, I got you. pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
grcompiler β compile GDL into a TrueType Font. that's the whole vibe. one job, does it gorgeously π
π SYNOPSIS π
grcompiler [-c] [-d] [-D] [-g] [-n number] [-v number] [-w number]
[-wall] [-q] gdl-file font-file [output-file] [output-
fontname]
heads up bestie: that last line break inside [output-fontname] is literally how it's printed in the original. don't come for me, come for the typesetter π
π DESCRIPTION π
the main character moment: Grcompiler compiles a Graphite Description Language description of the smarts for a font, alongside a TrueType Font, and together they create a graphite font with graphite tables baked right in. it's giving "glow up for your font." β¨
and now the options, one by one, no skips, no cuts, because we do not gatekeep here π«Ά
-cβ enable compression of Graphite tables. note the tea: this forces a version5.0Silf and version3.0Glat. it doesn't ask, it just does. iconic behavior fr fr.-dβ generate an XML debugger file.-Dβ generate all the debugger files. go big or go home, no cap.-gβ permit and ignore invalid glyph definitions. live your life, we're not looking π-nnumberβ set name table start location.-qβ quiet mode. no messages except on error. the "don't text me unless it's an emergency" setting π-vnumberβ set Silf table version number.-wnumberβ ignore warning with the given number. and yes, this option may be repeated β stack 'em like bracelets π-wallβ display all the warnings. opposite energy from-q, and honestly? valid.
π¦ ENVIRONMENT π¦
grcompiler makes use of the following environment variables, so peek at your env before you spiral bestie:
GDLPPβ specifies the command to execute to run the GDL preprocessor. it's the little helper that runs ahead of the compiler, and you get to say who it is. main character casting decisions π
πΈ FILES πΈ
all the files it touches / spits out, and what each one is actually doing:
gdlerr.txtβ warnings and errors are output to this file. this is the one to open when things go sideways πdbg_classes.txtβ debug file that specifies the classes stored in the font in terms of their GDL source and containing glyph ids in hex.dbg_cmap.txtβ debug file giving Unicode to glyph mapping of all the glyphs in the font and vice versa. the β¨matchmakingβ¨ file, but for codepoints.dbg_enginecode.txtβ debug file containing the action code and constraint code associated with each pass and rule in a pass.dbg_fsm.txtβ debug file that gives the finite state machines of each pass and the rules referenced. for each pass, a mapping is given between glyph and column number.dbg_glyphattrs.txtβ debug file containing all the glyph attributes and their names, along with values specified for each glyph.dbg_parsetree.txtβ debug file giving the complete parse tree of the GDL source file. the whole family tree, unedited π³dbg_ruleprec.txtβ debug file that lists the rules in precedence order (order in which they will be tested) for each pass. it's a lineup, and everyone's in it π$_temp.gdlβ debug file containing the output ofgdlpp.
π AUTHOR π
- Graphite project β¨http://graphite.sil.orgβ©
- SIL International <graphite_nrsi@sil.org>
and that's a wrap, bestie π
this page is dated $Date: 2012-05-29 11:36:50 $ and lives in the grcompiler(1) manual. so when you're deep in a debug file at 2am, know that this little page has been holding it down since 2012. no cap. slay, go compile something gorgeous. π
β¨
π¦ where this page comes from
- debian trixie: grcompiler 5.2.1-1+b1 Β· LGPL-2.1-or-later OR CPL-0.5+
- ubuntu noble: grcompiler 5.2.1-1build1 Β· LGPL-2.1-or-later OR CPL-0.5+
- ubuntu questing: grcompiler 5.2.1-2
- ubuntu resolute: grcompiler 5.2.1-3 Β· LGPL-2.1-or-later OR CPL-0.5+
- ubuntu stonking: grcompiler 5.2.1-3 Β· LGPL-2.1-or-later OR CPL-0.5+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms