GlyphsIconGrid draws an icon-construction grid behind the active glyph in Glyphs. It is a visual reporter: it does not change outlines, add snapping, affect exports, or save the document by itself.
GlyphsIconGrid supports Glyphs 3.5 and Glyphs 4.
- Download and unzip a release.
- Double-click
IconGrid.glyphsReporter, or move it into thePluginsfolder for the Glyphs version you use. - Restart Glyphs.
- Open a glyph in Edit view.
For a source checkout, the plug-in bundle is IconGrid.glyphsReporter at the repository root. Restart Glyphs after replacing or relinking a development copy.
The release ZIP also includes Install GlyphsIconGrid Skill.command. Double-click it and choose:
- Codex, Gemini, and Cursor for the shared
~/.agents/skillslocation; - Claude for
~/.claude/skills; - All supported clients for both locations.
No repository checkout or Python installation is required. When updating an existing skill, the installer asks before replacement and keeps the previous folder as a dated backup. Restart the AI client after installation.
The skill does not install or configure the Glyphs MCP server. Follow the Glyphs MCP guide for the local server connection and guarded editing workflow.
Choose View → Show Icon Grid. Choose it again to hide the reporter.
The grid is drawn only in Edit view. GlyphsIconGrid deliberately hides the whole reporter while the Text, Hand, or Zoom tool is handling events, then restores it when you return to an outline-editing or outline-creation tool.
With no IconGrid.* custom parameters, the plug-in provides an icon-oriented layout:
- a 24 × 24 construction canvas;
- equal width and height, using the font UPM, then the active master's cap height, then
1000as safe fallbacks; - square cells and circular spacing equal to the active master’s capital-H stem when one is defined;
- the 24 × 24 count-based spacing when no usable stem is available;
- an
odd, cell-centered grid phase: one central cell is bisected by both construction axes; - horizontal centering on the active layer's advance width;
- vertical centering on the active master's unfiltered native Mid Height when available, with baseline-to-cap-height midpoint fallback;
- a cap-height-fitted live circle that moves with the construction center;
- a major line every four cells, eight radial spokes, up to two inner concentric circles, and Material-derived keylines;
- a blue
#0A84FFcolor at0.28opacity, distinct from Glyphs' metric and user guides.
The background grid extends by whole cells beyond the construction canvas in all four directions. It includes at least four extra cells per side and expands far enough to leave working room past the ascender/cap-height and descender when possible. Automatic overflow is capped at eight cells per side so the field covers more of the Edit view without becoming unbounded.
The canvas itself, live-area frames, circles, spokes, and keylines stay inside their configured bounds. Only the background grid overflows; its cells remain square under the default configuration. With no stored padding, the live diameter is (cap height − baseline) / 0.8, clamped to the canvas. A 700-unit cap height therefore produces an 875-unit live circle. When Mid Height differs from the baseline/cap-height midpoint, this diameter is unchanged and the entire construction system moves to the Mid Height position. Stem-sized construction uses at most two inner circles. Together with the outer circular keyline, this produces no more than three useful visible circles.
Add parameters in File → Font Info → Font → Custom Parameters. A font-level value applies to every master that does not override it. Add the same parameter to a master to override that single value for that master.
Resolution happens independently for every field:
- a valid, active parameter on the current master;
- a valid, active font parameter;
- the built-in default.
Disabled parameters are ignored. Invalid values fall through safely and produce one deduplicated warning in the Macro Panel per plug-in session. Unrelated custom parameters are untouched.
For normal use, define weight-specific stems in File → Font Info → Masters → Stems and leave IconGrid.gridSize unset. The reporter prefers a named H horizontal stem, then a named H vertical stem. IconGrid.gridMode is the only setup control most users may need:
- the master stem sets both square-cell size and circular-guide spacing;
- an explicit
gridSizeoverrides that automatic value; gridMode = oddcenters a cell on the axes and is the default;gridMode = evenputs grid lines on the axes.
Everything else is optional:
- guide options: padding, major-line cadence, spokes, keylines, and the legacy count-based ring controls;
- appearance options: color and opacity;
- alignment options: highlight on/off and screen-point tolerance;
- advanced layout options: canvas width, height, division counts, origin, and baseline offset.
See the plain-language parameter guide for what every setting changes, when it is used, accepted values, and defaults.
The default bottom-center origin centers the canvas horizontally on the glyph
advance. Define Mid Height under File → Font Info → Masters → Metrics when
the icon family has a master-specific construction center. For vertical
placement, the reporter finds the first usable,
unfiltered native Mid Height definition and reads its position from the active
master. The position centers the canvas, live area, circles, spokes, and
keylines; the metric's overshoot is ignored. If Mid Height is unavailable or
invalid, the reporter centers halfway between baseline and cap height.
Setting IconGrid.baselineOffset explicitly replaces either automatic path;
positive values move the canvas down. A non-default IconGrid.origin retains
its configured vertical anchor unless a baseline offset is also stored.
The configured IconGrid.origin remains the default. For a layer-specific
override, activate View → Show Icon Grid, right-click in Edit view, and use:
- Icon Grid → Center on Selected Paths to snapshot the midpoint of the finite union bounds of selected paths. Components are excluded.
- Icon Grid → Center on Layer Content to snapshot the midpoint of all finite path and component bounds, regardless of selection.
- Icon Grid → Center in Advance Width to snapshot the current
layer.width / 2. This remains available on an empty layer.
The first command is disabled without a finite selected path; the second is disabled without finite layer content. Every command stores only its calculated x coordinate. Moving or deleting artwork, changing components or path roles, changing selection, and changing the advance width never move an established center. Run a preset again to capture a new coordinate.
This is horizontal only. Mid Height, the vertical origin, baseline offset,
grid phase, circles, spokes, frames, keylines, and every y coordinate remain
unchanged. While a valid override is active, the reporter shows a small target
and the compact blue, background-free label Horizontal center · x VALUE.
Invalid data uses the unoverridden configured position and amber feedback.
Choose Icon Grid → Reset Horizontal Center to remove the active layer's override and return to configured-origin placement. Set and Reset are one-step Undo/Redo operations, redraw the document, and leave it unsaved.
The override is layer-specific:
layer.userData["com.litsquare.icongrid"] = {
"schemaVersion": 1,
"centerX": {"mode": "coordinate", "x": 521.5}
}No source bounds, selection, path or component identifier, role, unnamespaced
key, com.leetsquare key, or IconGrid-specific path attribute is written.
The automatic live diameter is cap height / 0.8. Material’s landscape
rectangle is 80% of that diameter, so it runs exactly from baseline to cap
height only when their midpoint is also the construction center. A distinct
Mid Height moves the rectangle without resizing it. The 90% square is
intentionally larger than that vertical span. For the default metrics, the
resulting keylines are an 875-unit circle, a 787.5-unit square, a 700 × 875
portrait rectangle, and an 875 × 700 landscape rectangle.
For square cells, keep this relationship:
IconGrid.width / IconGrid.columns = IconGrid.height / IconGrid.rows
Leaving width, height, columns, and rows unset gives the standard square result. Explicit values are honored, so unequal ratios intentionally create rectangular cells.
Set IconGrid.gridSize only when the desired construction unit differs from the master’s H stem. This one value controls both square-cell size and the radial gap between circles. It takes precedence over columns, rows, and ring count. Store IconGrid.padding only when an intentional cell-based inset should replace the automatic metric-fitted live area.
The baseline-to-cap-height relationship is x = (capHeight − baseline) / gridSize. The plug-in keeps the H stem exact even when x is fractional.
The default IconGrid.gridMode = odd places one complete grid cell at the canvas center. The horizontal and vertical construction axes bisect that cell, so no grid line lies on either axis. This is the usual icon-layout arrangement.
Set IconGrid.gridMode = even when a grid border must coincide with each construction axis. The mode can be shared at font scope or overridden on an individual master.
When IconGrid.alignmentHighlight is enabled, a construction guide becomes slightly wider and more opaque when the relevant point is within IconGrid.alignmentTolerance. The default tolerance is a strict two screen points and remains visually constant as the zoom changes. At a crossing, every matching guide highlights together.
| Tool | When the cue is active |
|---|---|
| Draw | Whenever the pointer is near a guide; while constructing, the native active endpoint is used. |
| Rectangle/Square | Whenever the pointer is near a guide; during a drag, the native shape-preview endpoint is used. |
| Circle | Whenever the pointer is near a guide; during a drag, the native shape-preview endpoint is used. |
| Edit | Only during a native drag after one or more selected nodes actually move. A passive pointer, static selection, or lasso does not activate it. |
| Pencil | Only during an active freehand stroke after movement has produced stroke points. |
| Annotation | Never. Annotation drawing is intentionally excluded. |
| Text, Hand, Zoom | The reporter is suppressed while these tools handle events. |
The cue is informational only. It does not snap or move points, and its temporary state is never written to the font.
For responsiveness, the Edit-tool cue is temporarily suppressed when more than 64 distinct selected-node positions move together. The nodes still move normally; only the informational highlight is omitted for that large drag.
Leave IconGrid.* settings unstored and define a stem for every master. For a new 1000-UPM icon family, the generic report starts Regular and Bold at:
Regular H stem = 84
Bold H stem = 135
This produces exact 84-unit Regular cells and circle gaps, and exact 135-unit Bold cells and gaps. Scale the scaffold proportionally for another UPM, or use the actual measured construction/stroke unit of each master.
Normally, IconGrid.gridSize is enough. Leave it unset only when you intentionally want separate columns, rows, and rings counts. See the custom parameter reference for those advanced controls.
No parameter is required. The background grid already extends by at least four cells beyond the construction canvas on every side. Use that area for deliberate overshoots while keeping the core keylines centered on the icon canvas.
Set IconGrid.width and IconGrid.height in font units, then choose matching column and row counts for the desired cell size. Use an origin such as bottom-left, center, or top-right to choose how that fixed canvas is anchored to the active layer's advance.
Delete the relevant IconGrid.* record from the master to inherit the font value. Delete it from both master and font scopes to use the built-in default. Through Glyphs MCP, deletion is represented by JSON null; see Configuring GlyphsIconGrid with Glyphs MCP.
Layer semantic centering is reset separately with Icon Grid → Reset
Horizontal Center or the MCP reset_icon_grid_horizontal_center tool. That
reset preserves all path roles and unrelated user data.
- Confirm View → Show Icon Grid is enabled.
- Open a glyph in Edit view with a valid, positive layer width.
- Switch away from Text, Hand, or Zoom; those tools intentionally suppress the reporter.
- Confirm
IconGrid.opacityis not set to0and the chosen color has enough contrast. - Restart Glyphs after installing or replacing the plug-in.
- If
Horizontal center · x VALUEis visible, the active layer is using that stored coordinate. Moving artwork will not update it; run a preset again. - If the label is amber, reset or replace the invalid layer policy.
- Remove explicit
IconGrid.origin,IconGrid.baselineOffset,IconGrid.width, andIconGrid.heightvalues to restore the default font-aligned placement. - Check the active master's unfiltered Mid Height. A usable position is the automatic vertical center; its overshoot is ignored.
- If the master has no usable Mid Height, check its cap height. The fallback center is halfway between baseline and cap height.
- Check for a master-level override; it takes precedence over the font one.
- Check
IconGrid.gridMode:oddcenters a cell on the construction axes, whileevencenters intersecting grid lines. - When no fixed layer policy is active, confirm the glyph has the intended advance width. Default horizontal centering follows the active layer's advance, not its outline bounds.
Compare width per column with height per row. Equal column and row counts alone do not guarantee square cells when width and height differ. Remove the four size/division overrides for the default square grid, or set values that satisfy the ratio shown above.
If IconGrid.gridSize is present, it intentionally overrides the grid and circle count settings with one exact construction unit. Check the active master as well as font scope before changing the count settings.
- Confirm
IconGrid.alignmentHighlightis true. - With Edit, move a selected node; merely moving the pointer or selecting a node is intentionally inactive.
- With Pencil, begin an actual stroke. With Annotation, no alignment cue is available.
- For Edit drags, reduce selections larger than 64 distinct node positions if the temporary cue is needed.
- Move closer to the guide or increase
IconGrid.alignmentToleranceslightly. The default of two screen points is deliberately precise; accepted values are1–20. - Check whether the active master disables or overrides the font parameter.
Open the Macro Panel and look for an IconGrid: warning. Values outside the documented range and unsupported origin names fall through to the next scope or default. Disabled records are ignored. Duplicate active records are ambiguous: the reporter warns and uses the last one, while Glyphs MCP refuses to mutate that parameter until the duplicate is resolved. Compare both font and active-master scopes before changing anything.