diff --git a/shapers/base.lua b/shapers/base.lua index b1c992b83..9a0a08063 100644 --- a/shapers/base.lua +++ b/shapers/base.lua @@ -68,7 +68,7 @@ function shaper:measureChar (char) options.tracking = SILE.settings:get("shaper.tracking") local items = self:shapeToken(char, options) if #items > 0 then - return { height = items[1].height, width = items[1].width } + return { height = items[1].height, width = items[1].width, depth = items[1].depth } else SU.error("Unable to measure character", char) end