From 0efcf05d9d149dacf4e27a746d1bcc6c3da5c6c8 Mon Sep 17 00:00:00 2001 From: Sankalp Thakur Date: Sat, 22 Aug 2026 13:46:48 +0530 Subject: [PATCH] Fix accidentals class membership and optional glyph PUA range Add the Extended Helmholtz-Ellis accidentals (just intonation) supplement glyphs and accidentalHabaFlatThreeQuarterTonesLower to the umbrella accidentals class. CombiningStaffPositions is left unchanged: later combining Helmholtz-Ellis limit commas such as accidentalCombiningLower53LimitComma are not in that class. Correct optionalGlyphs metadata prose from U+F400-U+FFFF to U+F400-U+F8FF, matching the SMuFL PUA and Recommended characters and optional glyphs. Bump Bravura/Bravura Text to 1.482 because classes.json is a hashed font-build input. Outlines are unchanged. Fixes #322 Fixes #320 --- data/font-version.yaml | 4 ++-- ...llis-accidentals-just-intonation-supplement.yaml | 10 ++++++++++ data/ranges/other-accidentals-supplement.yaml | 2 ++ mdbook/src/specification/optionalglyphs.md | 2 +- metadata/classes.json | 13 ++++++++++++- 5 files changed, 27 insertions(+), 4 deletions(-) diff --git a/data/font-version.yaml b/data/font-version.yaml index 9883071f..a681c9c8 100644 --- a/data/font-version.yaml +++ b/data/font-version.yaml @@ -36,9 +36,9 @@ # the new scheme's first release for a downgrade, while still leaving 20 # revisions (80-99) of headroom before the next stem bump is needed. stem: "1.4" -build: 81 +build: 82 # sha256 of the build inputs as of this version number - see # tools/check_font_version.py. Refresh with: # python3 tools/check_font_version.py --update -inputsHash: "57133899966efb0414a2852874eb2c3a425793fa94c591341c63a036e649e9ff" +inputsHash: "b9031acaad3a88baf25aa9fe46741d1e33639b99d8c1cdd2320c222073e68ed4" diff --git a/data/ranges/extended-helmholtz-ellis-accidentals-just-intonation-supplement.yaml b/data/ranges/extended-helmholtz-ellis-accidentals-just-intonation-supplement.yaml index 0b116700..4fb3239d 100644 --- a/data/ranges/extended-helmholtz-ellis-accidentals-just-intonation-supplement.yaml +++ b/data/ranges/extended-helmholtz-ellis-accidentals-just-intonation-supplement.yaml @@ -9,40 +9,50 @@ glyphs: - name: accidentalCombiningLower29LimitComma description: Combining lower by one 29-limit comma classes: + - accidentals - accidentalsHelmholtzEllis - name: accidentalCombiningRaise29LimitComma description: Combining raise by one 29-limit comma classes: + - accidentals - accidentalsHelmholtzEllis - name: accidentalCombiningLower37Quartertone description: Combining lower by one 37-limit quartertone classes: + - accidentals - accidentalsHelmholtzEllis - name: accidentalCombiningRaise37Quartertone description: Combining raise by one 37-limit quartertone classes: + - accidentals - accidentalsHelmholtzEllis - name: accidentalCombiningLower41Comma description: Combining lower by one 41-limit comma classes: + - accidentals - accidentalsHelmholtzEllis - name: accidentalCombiningRaise41Comma description: Combining raise by one 41-limit comma classes: + - accidentals - accidentalsHelmholtzEllis - name: accidentalCombiningLower43Comma description: Combining lower by one 43-limit comma classes: + - accidentals - accidentalsHelmholtzEllis - name: accidentalCombiningRaise43Comma description: Combining raise by one 43-limit comma classes: + - accidentals - accidentalsHelmholtzEllis - name: accidentalCombiningLower47Quartertone description: Combining lower by one 47-limit quartertone classes: + - accidentals - accidentalsHelmholtzEllis - name: accidentalCombiningRaise47Quartertone description: Combining raise by one 47-limit quartertone classes: + - accidentals - accidentalsHelmholtzEllis diff --git a/data/ranges/other-accidentals-supplement.yaml b/data/ranges/other-accidentals-supplement.yaml index 7793fc85..51b9052b 100644 --- a/data/ranges/other-accidentals-supplement.yaml +++ b/data/ranges/other-accidentals-supplement.yaml @@ -44,3 +44,5 @@ glyphs: - accidentals - name: accidentalHabaFlatThreeQuarterTonesLower description: Three quarter-tones lower (Alois Hába) + classes: + - accidentals diff --git a/mdbook/src/specification/optionalglyphs.md b/mdbook/src/specification/optionalglyphs.md index 24d54c0e..6c8e6dbd 100644 --- a/mdbook/src/specification/optionalglyphs.md +++ b/mdbook/src/specification/optionalglyphs.md @@ -1,7 +1,7 @@ ### optionalGlyphs The "optionalGlyphs" structure contains a list of all the optional glyphs -(those in the range of code points U+F400–U+FFFF) contained within the font. +(those in the range of code points U+F400–U+F8FF) contained within the font. Applications that cannot use advanced OpenType features can use this structure to identify the presence of stylistic alternates (though the "glyphsWithAlternates" and "sets" structures also specify the original glyphs diff --git a/metadata/classes.json b/metadata/classes.json index 428d3fe8..a92fac2d 100644 --- a/metadata/classes.json +++ b/metadata/classes.json @@ -460,7 +460,18 @@ "accidentalHabaFlatQuarterToneHigher", "accidentalHabaSharpThreeQuarterTonesHigher", "accidentalHabaQuarterToneLower", - "accidentalHabaSharpQuarterToneLower" + "accidentalHabaSharpQuarterToneLower", + "accidentalCombiningLower29LimitComma", + "accidentalCombiningLower37Quartertone", + "accidentalCombiningLower41Comma", + "accidentalCombiningLower43Comma", + "accidentalCombiningLower47Quartertone", + "accidentalCombiningRaise29LimitComma", + "accidentalCombiningRaise37Quartertone", + "accidentalCombiningRaise41Comma", + "accidentalCombiningRaise43Comma", + "accidentalCombiningRaise47Quartertone", + "accidentalHabaFlatThreeQuarterTonesLower" ], "accidentals24EDOArrows": [ "accidentalQuarterToneFlatArrowUp",