Skip to main content

@florian @simoncozens Hi Florian. That's for your question. Since I introduced the Wasm-in-a-font idea, I like to expand on it a bit here.

When thinking about the limitations of OpenType layout, and particularly its inefficient (chained-)contextual rules, I realized that the same data can be expressed much more efficiently as a trie data structure, which can of course be added to the font format uncontroversially.

If you take that thought a bit further and allow loopbacks to other states, it would become the equivalent of a sparsely-encoded state machine.

But font designers think in terms of rules, not states. From there, you would need to write a compiler that takes the rules and builds the state machine. 1/3

1 Boost
0 Likes

No replies yet

Be the first to share your thoughts.