Closed Omikhleia closed 1 month ago
Issue
\font:clear-fallbacks is broken since the last refactor around Dec. 2022.
\font:clear-fallbacks
Error: runtime error: ./core/sile.lua:73: module 'shapers.clearFallbacks' not found:
Analysis
https://github.com/sile-typesetter/sile/blob/b2cc0841ff603abc335c5e66d8cc3c64b65365eb/packages/font-fallback/init.lua#L13
Should be SILE.shaper:clearFallbacks() (The plural SILE.shapers is the loader for shapers)
SILE.shaper:clearFallbacks()
SILE.shapers
And a test should be added.
Issue
\font:clear-fallbacks
is broken since the last refactor around Dec. 2022.Analysis
https://github.com/sile-typesetter/sile/blob/b2cc0841ff603abc335c5e66d8cc3c64b65365eb/packages/font-fallback/init.lua#L13
Should be
SILE.shaper:clearFallbacks()
(The pluralSILE.shapers
is the loader for shapers)And a test should be added.