Skip to content

Add Anchors From File

Import named anchor coordinates from a UTF-8 CSV file.

What: Add or move named anchors on the current master for every CSV glyph row. How: Use name or glyph plus paired anchor_x,anchor_y columns. Strip header whitespace; refuse unknown columns, missing glyphs and malformed rows. Two empty coordinate cells leave that anchor unchanged. Coordinates round half up to font units before preview and writing. Report BOM and newline conversions only when they occur. Existing pins keep their appearance and expressions. Why: A checked table avoids repeated manual entry and preference-dependent fractional writes. Automatic layers are kept; unsafe writes are refused. Use: Browse for a CSV, click Load, inspect the non-modal preview, then Import. Benefit: Apply a complete coordinate table consistently. Each application is recorded as one Undo step.

Source: Simon Cozens, https://github.com/simoncozens/GlyphsScripts, MIT, copyright 2017 Simon Cozens. Independent behaviour rewrite; no source code was copied.

Run Anchors > Add Anchors From File from FontLab's Scripts menu.

Read installation and working with scripts before use.

Source identity

SHA256: 775f5dab7c9a5d7dcb68cbb6b900815fa0a79d366e6c75cdb5dfacb8e40ce6bc

Python source at f4c16f20ef10