aboutsummaryrefslogtreecommitdiffstats
path: root/src/notmuchworker.cpp
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-07 17:07:56 +0200
committerDanilo M. <danix@danix.xyz>2026-08-07 17:07:56 +0200
commit8212f3c08d050ac38ccc76aea59d4db707a6b5c5 (patch)
tree3a86c223541bdb14c8219c21ccc8157d75cdabfa /src/notmuchworker.cpp
parent20168b4a9a4763ea70ab53e276be381a63ba5436 (diff)
downloadqtmaildir-8212f3c08d050ac38ccc76aea59d4db707a6b5c5.tar.gz
qtmaildir-8212f3c08d050ac38ccc76aea59d4db707a6b5c5.zip
build: bundle the fonts the placeholder pane will need
Groundwork for item 30, the blank right pane. Nothing references these yet; the pane itself is the next piece of work. The pane is drawn from the user's own HTML mockup, which sets its wordmark in Oxanium and its text in IBM Plex Sans and pulls both from Google Fonts. That @import cannot work here: the web view's interceptor blocks every request by default, deliberately, and neither font is installed on the development machine either. Shipping them is what makes the pane look the same on every machine. Both are SIL OFL 1.1, which permits redistribution and is compatible with the GPL, and each carries its licence text beside it. The README records the pairing. Both are subsets, since they are embedded into the rendered document as data URIs and the full families would dwarf the page using them. Oxanium is instanced to weight 800 and cut to the nine characters of the wordmark: 43K to 1.2K. IBM Plex Sans is cut to Latin-1 plus common punctuation rather than to the exact strings in use: 525K to 13K. The wider cut is deliberate, because that font carries interface text that will change, and a subset matching only today's wording would break silently the moment a string is edited. Coverage of both was verified against the strings they have to draw. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'src/notmuchworker.cpp')
0 files changed, 0 insertions, 0 deletions