Skip to content

Commit

Permalink
chore(core): Cleanup backend assignment since no current mechanism ch…
Browse files Browse the repository at this point in the history
…anges the default
  • Loading branch information
alerque committed Jan 5, 2023
1 parent 2d7c94e commit 936d931
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions core/sile.lua
Expand Up @@ -110,14 +110,8 @@ local function runEvals (evals, arg)
end

SILE.init = function ()
-- Set by def
if not SILE.backend then
local status, result = pcall(require, "justenoughharfbuzz")
if status then
SILE.backend = "libtexpdf"
else
SU.error("Default backend libtexpdf not available!\n " .. result)
end
SILE.backend = "libtexpdf"
end
if SILE.backend == "libtexpdf" then
SILE.shaper = SILE.shapers.harfbuzz()
Expand Down

0 comments on commit 936d931

Please sign in to comment.