Trevor PaughSystems engineer
Trevor PaughProject Chronicles

Chronicles / Eboda Gymnast

Fetching the missing font

Milestone

When a PDF uses a font the machine lacks, the text editor now offers a one-click download of a free exact or metric-compatible face, Carlito for Calibri and the like, from Google Fonts, after a consent dialog that shows the licence, the size, and the addresses. Thirteen open-licensed families. The download table is generated from one pinned revision of the font repository with sizes and hashes checked in, so the app talks to one host over https only and verifies everything it fetches. It is the app's first and only network call.

The owner’s own forms and letters use Calibri and Cambria, which a fresh Windows machine often lacks. Editing their text without the face was the gap left after font matching landed, and this closes it.

What it does

When the editor meets a font that is not installed, it offers to download a free equivalent: the exact face where one exists, or a metric-compatible one that lays out identically, Carlito for Calibri being the usual example. A consent dialog first shows the licence, the download size, and the addresses it will fetch from. Thirteen families under the Open Font License, thirty-nine files.

The trust decision

The app has made no network call until now, and this one is kept narrow on purpose. The download table is generated from a single pinned revision of the public font repository, with every file’s size and hash checked into the app. At run time it talks to one host, over https only, and refuses any file whose hash does not match. A reviewer found that two downloads of the same family at once could leave an unverified file in place; a process-wide lock fixed it the same night, before merge.

What was left out, and why

Variable-font families ship Regular and Italic only, because the app’s font scan reads a variable font’s default instance and cannot yet offer its bold. Three families whose default instance is a thin weight, useless as a Regular, were dropped from the table altogether. Bold offers wait on variable-font instance support, recorded under known limits.