Skip to content

Commit

Permalink
fix(backends): Correct image sizing in Cairo and Podofo backends
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed May 25, 2022
1 parent e423559 commit f2785ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/cairo-output.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ SILE.outputters.cairo = {

getImageSize = function (self, src)
_deprecationCheck(self)
local box_width, box_height, err = imagesize.imgsize(src)imagesize.imgsize(src)
local box_width, box_height, err = imagesize.imgsize(src)
if not box_width then
SU.error(err.." loading image")
end
Expand Down
2 changes: 1 addition & 1 deletion core/podofo-output.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ SILE.outputters.podofo = {

getImageSize = function (self, src)
_deprecationCheck(self)
local box_width, box_height, err = imagesize.imgsize(src)imagesize.imgsize(src)
local box_width, box_height, err = imagesize.imgsize(src)
if not box_width then
SU.error(err.." loading image")
end
Expand Down

0 comments on commit f2785ad

Please sign in to comment.