OOLOI.ORG
Menu

OOLOI

OVERVIEW

FAQ

DOCUMENTATION

NEWSLETTER

Between the Crossbars

1/11/2026

5 Comments

 
Cutting Corners Is Not Enough argued that spacing should follow the ink itself, not boxes around it. Taken to its conclusion, that applies to the ledger lines as well. So I recomputed them from Bravura's outlines, read straight from the font file, with everything else as in the animations since Ut Tensio, Sic Vis. This is what happens.

Here's a bar of chromatic sixteenths, dragged from its tightest to loose and back. Watch the panel on the right. At the tight end, ledger lines come in from both sides of the sharp, between its crossbars, and each one stops just short of the ink. The sharp stays tight to its notehead, and its lines lose only what the ink itself takes from them. Even at the tightest, nothing collides.
Picture
Incidentally, that's exactly what Magnus asked for under Dials: stave 4's sharp, tight to its notehead, without C♯6's ledger lines cut short. With the real shapes, a line simply runs on until it meets ink.
​
The second animation mixes sharps, flats and naturals. Each has a shape of its own, and all three are handled the same way, without a rule for any of them. Ledger line shortening occurs naturally regardless of the accidental, and on both sides of it.
Picture
​As before, these are reference models, not Ooloi's output. The outlines and Bravura's engraving metrics are real; the clearances and the opening width are placeholders.
​
And for anyone joining this thread late: every one of these values is a setting you can change.
​
This closes an arc that began with Ut Tensio, Sic Vis less than a fortnight ago, and it settles how Hegazy and Gourlay belong in Ooloi. Their springs decide where the notes go, and they never had to learn what a ledger line is. Everything about ledger lines happens at either end of the pipeline: Stage 1 works out how short each line may become against the accidentals' real shapes, and Stage 5 lengthens it again into whatever room the springs have given. The 1987 model stays exactly as it was. The six stages around it do the rest.
5 Comments
Magnus Johansson
1/11/2026 12:38:37

Really great, Peter, on this gloomy day about which Erik Axel Karlfeldt wrote the following in the first stanza of his famous poem Vinterorgel (Winter organ):

Ditt tempel är mörkt och lågt är dess valv,
Allhelgonadag!
Där slocknar sommarens hymn som ett skalv
av klämtande slag.
Sin mantel river den svarta sky,
och lundarnas bleknade trasor fly,
och natten mässar om allt som är dött,
allt hö, allt kött.

Reply
Peter Bengtson
1/11/2026 13:08:01

Thank you, Magnus, and thank you for the Karlfeldt. A winter organ is a fine thing to send an organist on a day like this.

I’m very glad you like the results. I think they’re what an engraver would do. What pleases me most is that none of it needed special logic. It all falls out of the basic model.

To a composer-programmer, this is a sign that something is right.

Reply
Roland Gurt
2/11/2026 21:53:23

Interesting! I can imagine how valuable the outline profiles could be for more "asymmetrical" symbols like the accent mark you show, as well as dynamic markings and text (Just wondering if using these exact outlines ist significantly slower than using the rectangle cut-outs from SMuFL).

I came across this example just before, which shows different kinds of "tucking" or "kerning" situations, as well as some detailed ledger-line work: https://www.pasteboard.co/o5m6GRGM1yTa.png
(traditional ledger lines like this of course have slightly rounded edges, which also improves the legibility of small gaps. Lilypond emulates this (maybe even a bit overdone))

Background white-outs for text and ties could also benefit from the outline profiles, as well as rectangular borders around text.

Reply
Peter Bengtson
2/11/2026 22:09:51

Thank you, Roland.

It won’t slow Ooloi down. The outlines are read once, when a font is registered, and each glyph’s profiles are kept as data. Layout only reads them; nothing is computed from an outline while you work. The precision is paid for once per font, not once per keystroke.

As for rounding: there’ll be no sharp corners anywhere. The ideal is copperplate, so ledger lines, hairpins, beam corners and the rest all get rounded ends. Your point about small gaps is the reason, and your example shows it well: in the second system the ledger lines almost meet from note to note, and the gaps still read as gaps. The same goes for the animations above, where a ledger line stops just short of a sharp’s stem.

And you’re right about text. Outlines are in every font, music or text, so lyrics, expressions and dynamics get the same exactness as accidentals. White-outs behind text and ties, and frames around text, all have the real shapes to work from.

Reply
Roland Gurt
2/11/2026 22:54:19

That's great to hear!




Leave a Reply.

    Author

    Peter Bengtson –
    Cloud architect, Clojure advocate, concert organist, opera composer. Craft over commodity. Still windsurfing through parentheses.

    Search

    Archives

    November 2026
    October 2026
    September 2026
    August 2026
    July 2026
    June 2026
    May 2026
    April 2026
    March 2026
    February 2026
    January 2026
    December 2025
    November 2025
    October 2025
    September 2025
    August 2025
    July 2025
    June 2025
    April 2025
    March 2025
    September 2024
    August 2024
    July 2024

    Categories

    All
    Accidentals
    Alfred Korzybski
    Architecture
    Backend
    Beaming
    Benchmarks
    Casting Off
    Clefs
    Clojure
    CLOS
    Common Lisp
    DDD
    Death Of Igor Engraver
    Documentation
    Donald E Knuth
    Dorico
    Dynamic Programming
    Finale
    Fonts
    FrankenScore
    Franz Kafka
    Frontend
    Functional Programming
    Generative AI
    GRPC
    Hegazy Gourlay
    Hegazy-Gourlay
    Igor Engraver
    Ingmar Bergman
    Instruments
    Jacques Derrida
    JVM
    Knuth Plass
    Knuth-Plass
    License
    LilyPond
    Lisp
    Localisation
    MIDI
    MPL 2.0
    MuseScore
    MusicXML
    Ooloi
    Ortography
    Pitches
    Platforms
    Playback
    Plugins
    Python
    QuickDraw GX
    Rendering
    Rhythm
    Rich Hickey
    Road Map
    Scheme
    Semiotics
    Sibelius
    Silicon Valley
    Site
    Skia
    Sponsorship
    Testing
    Transposition
    UI
    Umberto Eco
    Vertigo
    VST/AU
    Wednesday Addams

    RSS Feed

Home
​Overview
Documentation
About
Contact
Newsletter
Ooloi is an open-source desktop music notation system for musicians who need stable, precise engraving and the freedom to notate complex music without workarounds. Scores and parts are handled consistently, remain responsive at scale, and support collaborative work without semantic compromise. They are not tied to proprietary formats or licensing.
​
Ooloi is currently under development. No release date has been announced.


  • Home
  • Overview
    • Background and History
    • Project Goals
    • Introduction for Musicians
    • Introduction for Programmers
    • Technical Comparison
  • FAQ
  • Documentation
  • About
  • Contact
  • Workbench
  • Home
  • Overview
    • Background and History
    • Project Goals
    • Introduction for Musicians
    • Introduction for Programmers
    • Technical Comparison
  • FAQ
  • Documentation
  • About
  • Contact
  • Workbench