Files
mesh-host/testdata/beside/mesh-catalog/modules/fonts/files/50-mesh-fonts.conf
T
jschoubben d68e241724 Take the catalogue's composition rules into the node-engine
ADR 0593 §7: the composer with its refusals leaves mesh-sdk, so mesh-sdk
carries no composition rule. The catalogue functions only the
node-engine's composition reaches (Resolve, Resolution's Compose,
Declaration, DataItems, LeftOut, Rules and the rest, the settings,
placeholder and template refusals, the rendering helpers) are copied
with their tests into internal/compose/resolution; a method of a
mesh-sdk shape becomes a function taking it first. The composition
calls its own copies, and the captured catalogue its tests read lives
here now, shared by mesh-compose's tests.

Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
2026-11-02 19:15:55 +01:00

41 lines
2.4 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<!--
The mesh's file (module fonts, novox/hq research 026/04): which face each generic family means for
this account, so every program that asks for monospace, sans-serif, serif or emoji gets the same
face. Replaced at every push. Other files in this directory are yours.
-->
<fontconfig>
<description>The mesh: the faces monospace, sans-serif, serif and emoji mean</description>
<!--
Families the desktop's files named before this module, mapped to monospace for as long as they
are not installed: a configuration still naming one gets the chosen monospace face rather than
fontconfig's last resort, sans-serif. Where the family is still installed, it is used as before.
Placed first, so the monospace they lead to is resolved by the rule below.
-->
<alias><family>Hack Nerd Font</family><accept><family>monospace</family></accept></alias>
<alias><family>MesloLGS NF</family><accept><family>monospace</family></accept></alias>
<alias><family>Iosevka Nerd Font</family><accept><family>monospace</family></accept></alias>
<alias><family>JetBrains Mono Nerd Font</family><accept><family>JetBrainsMono Nerd Font</family></accept></alias>
<!--
The decided faces, bound the same as the request: a program asking for monospace asks strongly,
and a face added weakly loses to the distribution's own choice (measured with fontconfig 2.18).
-->
<alias binding="same"><family>monospace</family><prefer><family>JetBrainsMono Nerd Font</family></prefer></alias>
<alias binding="same"><family>sans-serif</family><prefer><family>Inter</family><family>Noto Sans</family></prefer></alias>
<alias binding="same"><family>system-ui</family><prefer><family>Inter</family></prefer></alias>
<alias binding="same"><family>serif</family><prefer><family>Noto Serif</family></prefer></alias>
<alias binding="same"><family>emoji</family><prefer><family>Noto Color Emoji</family></prefer></alias>
<!--
Fallbacks for any face: an icon a face lacks comes from the Nerd Fonts symbols, an emoji from
Noto Color Emoji. Appended last, so they never displace a face that has the character.
-->
<match target="pattern">
<edit name="family" mode="append_last"><string>Symbols Nerd Font</string></edit>
<edit name="family" mode="append_last"><string>Noto Color Emoji</string></edit>
</match>
</fontconfig>