design: bundle Inter + JetBrains Mono (OFL-1.1) as the standard typefaces
The DESIGN.md type standard needs the fonts actually present — the machine's installed faces are not a design system. Four Inter weights (400/500/600/700) and two JetBrains Mono weights (500/600) ship as WPF resources from Assets/Fonts; the token families resolve them with the `/Assets/Fonts/#Family` pack form, so nothing depends on an install or a network fetch. Licensing (recorded in docs/ai/product.md): OFL-1.1 is a free licence but is NOT GPL-compatible in the linking sense. These are separate .ttf files loaded through WPF's font stack — an aggregate, not linked code — so they coexist with the GPL-3.0 app. Obligations carried: copyright line in THIRD-PARTY-NOTICES.txt (new items 13-14), the OFL text beside the files (Assets/Fonts/OFL-*.txt), no modification, no reserved-name reuse. Guard: BundledFontsTests — files exist and are real binaries, the csproj ships them, the theme uses pack URIs (a bare family name would silently fall back), the notice and both OFL texts are present, and no third font family sneaks in. Pending visual confirmation: the first launch should render panel text in Inter and telemetry in JetBrains Mono.
This commit is contained in:
@@ -154,6 +154,25 @@ there on purpose.
|
||||
selfie_segmenter_landscape.onnx. Runs entirely on the user's PC.
|
||||
|
||||
|
||||
13. Inter (bundled UI typeface — the DESIGN.md standard)
|
||||
Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)
|
||||
License: SIL Open Font License 1.1 (OFL-1.1)
|
||||
Home: https://rsms.me/inter/
|
||||
Source: https://github.com/rsms/inter/releases/tag/v4.1
|
||||
Assets: Assets/Fonts/Inter-Regular.ttf, Inter-Medium.ttf, Inter-SemiBold.ttf,
|
||||
Inter-Bold.ttf — unmodified static instances from the v4.1 release.
|
||||
The OFL text ships beside them at Assets/Fonts/OFL-Inter.txt.
|
||||
Note: bundled as separate font files loaded through WPF's font stack — an
|
||||
aggregate, not linked code, so the OFL and the GPL coexist here.
|
||||
|
||||
14. JetBrains Mono (bundled telemetry/mono typeface — the DESIGN.md standard)
|
||||
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
||||
License: SIL Open Font License 1.1 (OFL-1.1)
|
||||
Home: https://www.jetbrains.com/lp/mono/
|
||||
Source: https://github.com/JetBrains/JetBrainsMono/releases/tag/v2.304
|
||||
Assets: Assets/Fonts/JetBrainsMono-Medium.ttf, JetBrainsMono-SemiBold.ttf —
|
||||
unmodified; OFL text at Assets/Fonts/OFL-JetBrainsMono.txt.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
MISCELLANEOUS
|
||||
|
||||
Reference in New Issue
Block a user