Skip to content

feat(fonts): bundle JetBrains Mono in the default font library (@since 1.7.0)#132

Merged
DemchaAV merged 1 commit into
developfrom
feat/font-jetbrains-mono
Jun 5, 2026
Merged

feat(fonts): bundle JetBrains Mono in the default font library (@since 1.7.0)#132
DemchaAV merged 1 commit into
developfrom
feat/font-jetbrains-mono

Conversation

@DemchaAV

@DemchaAV DemchaAV commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Summary

Adds JetBrains Mono to the built-in font catalog — additive, @since 1.7.0.

  • FontName.JETBRAINS_MONO registered in DefaultFonts; Regular / Bold / Italic / Bold-Italic faces bundled under fonts/google/jetbrainsmono/ (OFL-1.1, license included).
  • Usable via any DocumentTextStyle.fontName(FontName.JETBRAINS_MONO); the font showcase lists it automatically.
  • Standard JetBrains Mono (not the no-ligature NL fork) — the PDF renderer applies no OpenType shaping, so base glyphs render either way; bundling the standard family keeps the recognizable name.

Tests

./mvnw verify -pl . green — 1111 tests. FontLibraryIntegrationTest now asserts the family loads (PdfFont + WordFont); the fonts/available_fonts_preview layout snapshot was regenerated to include the new section. Visual check: all four faces render monospaced in the showcase.

…1.7.0)

- Adds FontName.JETBRAINS_MONO and registers it in DefaultFonts, with the
  Regular / Bold / Italic / Bold-Italic faces bundled under
  fonts/google/jetbrainsmono/ (OFL-1.1).
- FontLibraryIntegrationTest asserts the family loads (PdfFont + WordFont);
  the font showcase picks it up automatically; the available-fonts layout
  snapshot is regenerated to include the new JetBrains Mono section.
@DemchaAV DemchaAV merged commit 2ee523f into develop Jun 5, 2026
11 checks passed
@DemchaAV DemchaAV deleted the feat/font-jetbrains-mono branch June 5, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant