There was an error while loading. Please reload this page.
1 parent 2b109a0 commit 7e24648Copy full SHA for 7e24648
1 file changed
core/font.lua
@@ -67,7 +67,7 @@ SILE.registerCommand("font", function (options, content)
67
-- We must *actually* load the font here, because by the time we're inside
68
-- SILE.shaper.shapeToken, it's too late to respond appropriately to things
69
-- that the post-load hook might want to do.
70
- SILE.font.cache(SILE.font.loadDefaults({}), SILE.shaper.getFace)
+ SILE.font.cache(SILE.font.loadDefaults(options), SILE.shaper.getFace)
71
72
if SU.ast.hasContent(content) then
73
SILE.process(content)
0 commit comments