feat(fonts): bundle JetBrains Mono in the default font library (@since 1.7.0)#132
Open
DemchaAV wants to merge 1 commit into
Open
feat(fonts): bundle JetBrains Mono in the default font library (@since 1.7.0)#132DemchaAV wants to merge 1 commit into
DemchaAV wants to merge 1 commit into
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds JetBrains Mono to the built-in font catalog — additive,
@since 1.7.0.FontName.JETBRAINS_MONOregistered inDefaultFonts; Regular / Bold / Italic / Bold-Italic faces bundled underfonts/google/jetbrainsmono/(OFL-1.1, license included).DocumentTextStyle.fontName(FontName.JETBRAINS_MONO); the font showcase lists it automatically.NLfork) — 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.FontLibraryIntegrationTestnow asserts the family loads (PdfFont + WordFont); thefonts/available_fonts_previewlayout snapshot was regenerated to include the new section. Visual check: all four faces render monospaced in the showcase.