Repository navigation
chore(site): update OpenMono to 1.001 - #66908
Open
iamdavidhill wants to merge 1 commit into
Open
iamdavidhill wants to merge 1 commit into
iamdavidhill wants to merge 1 commit into
Conversation
3 of 6 tasks
Contributor
There was a problem hiding this comment.
Looks good. I read the character tables of the new files with fontkit. The four docs fonts are 1.001 and gain only U+10C0DE. The logo is in each Latin subset (advance 600) and in no Cyrillic or rest subset. Every subset matches its unicode-range in openmono.json, and the three subsets together cover the full font. test/fonts.test.ts passes, tsc is clean and bun run build -- --mode dev succeeds, including the stylesheet budgets. I couldn't re-run openmono.py here (no fontTools), so I didn't confirm the byte-identical output.
Public API: unchanged (site font assets only).
No blocking concerns. As you note, Desktop's openmono.py will make different Latin and rest files until it also adds 0x10C0DE.
This branch has not been deployed
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.
Issue for this PR
No issue. This follows the release of OpenMono 1.001.
Type of change
What does this PR do?
Refreshes the website's and the docs' OpenMono files from the 1.001 app build with
services/site/script/openmono.py.✗is redrawn so it no longer reads as X, and⚠is larger. U+055F (Armenian) takes a cell of its own. Every other glyph and the line metrics are as in 1.000, so no layout moves. There are no colour tables.restfile.openmono.jsonand the four Latinunicode-rangerules insrc/style/fonts.cssgainU+10C0DE; thecyrillicandrestranges do not change.OpenMono-OFL.txtand the script name 1.001. The licence text is unchanged.✗,⚠, U+055F or the logo in mono, so there is no image.src/docs/assets/fontsFor the reviewer
packages/app/script/openmono.py(Desktop) says to keep its lists the same as this script's. Itssymbolslist does not have0x10C0DEuntil Desktop takes 1.001, so until then the two scripts make different Latin andrestfiles. This PR does not touchpackages/app.Feature flag. None: a font refresh with no new behaviour.
How did you verify your code works?
openmono.jsonare byte-identical to the font release's reference cuts, and a second run of the script changes no file.✗,⚠, U+055F), none removed, and the same line metrics.fonts.css: a line with the logo,✓,✗,⚠and⌘Kfetches only the Latin file and draws in OpenMono in all four styles. With the 1.000 files, the logo fell back to a system font.bun run build -- --mode dev, which includes the docs build and its stylesheet budget.Screenshots / recordings
None. No page changes.
Checklist