Skip to content

Fix accidentals class membership and optional glyph PUA range - #361

Closed
sankalpsthakur wants to merge 1 commit into
w3c-cg:gh-pagesfrom
sankalpsthakur:fix-accidentals-class-optional-glyph-range
Closed

sankalpsthakur wants to merge 1 commit into
w3c-cg:gh-pagesfrom
sankalpsthakur:fix-accidentals-class-optional-glyph-range

Conversation

@sankalpsthakur

Copy link
Copy Markdown

Fixes #322
Fixes #320

#322

The Extended Helmholtz-Ellis accidentals (just intonation) supplement glyphs were only in accidentalsHelmholtzEllis. classes.md says accidentals contains all glyphs in all accidentals ranges. Added accidentals on those 10 combining glyphs.

accidentalHabaFlatThreeQuarterTonesLower had no classes list. Its siblings in other-accidentals-supplement already have accidentals.

combiningStaffPositions is unchanged. The reporter was unsure, and the closest combining-limit-comma siblings (accidentalCombiningLower53LimitComma / Raise) are not in that class. The original 17/19/23/31 schisma combining glyphs are.

#320

Wrong sentence in optionalGlyphs under Metadata for SMuFL-compliant fonts, now corrected to U+F400–U+F8FF:

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.

Correct sentence left as-is in Recommended characters and optional glyphs:

SMuFL does not make any specific recommendations for how these glyphs should be assigned explicit code points, except that they must be within the range U+F400–U+F8FF, which is reserved for this purpose and for any other private use required by font or application developers.

SMuFL PUA is U+E000–U+F8FF, so optional glyphs cannot run to U+FFFF.

Font version

metadata/classes.json is in tools/font_version.py HASH_INPUTS, so check_font_version.py requires a build bump when it changes. Outlines and Bravura Text transforms are unchanged. Build 81 -> 82.

Commands run

python3 tools/generate.py
python3 tools/generate.py --check
check-jsonschema (range/manifest/stylistic-sets/engraving-defaults + glyphnames/ranges/classes)
python3 metadata/schema/check_consistency.py
python3 metadata/schema/check_immutability.py   # baseline v1.4
python3 tools/sync_ufo_glyphs.py --check
python3 tools/check_font_version.py
mdbook build
python3 tools/generate_font.py --output /tmp/Bravura.otf --metadata-output /tmp/Bravura.json

AI/LLM disclosure

  • AI coding tools (including Grok and/or Codex agent-assisted editing) were used to help draft or modify code and this PR description.
  • I reviewed the complete change, understand the reasoning, and ran the reported local tests before submitting.
  • This submission is original work of authorship under the project CLA / contributor terms; AI output was not pasted unreviewed.

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 w3c-cg#322
Fixes w3c-cg#320
dspreadbury added a commit that referenced this pull request Aug 24, 2026
…class fixes (#362)

Bumps to build 82.

- Revert the tf_figuredBass-style scaling accidentally applied to
  csymParensLeftTall/RightTall, csymBracketLeftTall/RightTall,
  csymParensLeftVeryTall/RightVeryTall, csymAlteredBassSlash, and
  csymDiagonalArrangementSlash in Bravura Text - only csymMinor (#80)
  was meant to get the tf_chordSymbols scale.
- Rescale the diamond noteheads (U+E0D7-U+E0DE) down to one staff
  space tall (+-141, allowing a little overshoot for staff line
  thickness), with zero side bearings and correctly repositioned
  stem anchors. Supersedes the earlier, oversized pass from #95.
- Fix generate_bravura_text.py's standalone CLI always forcing WOFF
  output regardless of the --output extension, which silently
  produced a WOFF file with a .otf name - undetectable by fontTools
  (which auto-sniffs WOFF) but rejected by stricter tools like
  FontLab.
- Add the missing 'accidentals' class to the Extended Helmholtz-Ellis
  supplement glyphs (U+EE50-EE59) and to
  accidentalHabaFlatThreeQuarterTonesLower, and fix the
  optionalGlyphs doc's PUA range typo (U+FFFF -> U+F8FF). Brings in
  the substance of #361 (fixes #322, #320) rather than merging it
  separately, since it touches the same metadata/classes.json this
  PR already regenerates.

Co-authored-by: Daniel Spreadbury <d.spreadbury@steinberg.de>
@dspreadbury

Copy link
Copy Markdown
Contributor

Thanks for this pull request. I've folded the changes into #362.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants