summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/src/ttf/HmtxTable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/dvisvgm/src/ttf/HmtxTable.cpp')
-rw-r--r--dviware/dvisvgm/src/ttf/HmtxTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dviware/dvisvgm/src/ttf/HmtxTable.cpp b/dviware/dvisvgm/src/ttf/HmtxTable.cpp
index 6e849768fd..e5dc63c7e8 100644
--- a/dviware/dvisvgm/src/ttf/HmtxTable.cpp
+++ b/dviware/dvisvgm/src/ttf/HmtxTable.cpp
@@ -57,6 +57,6 @@ void HmtxTable::updateWidthData (uint32_t c, int16_t xmin, int16_t xmax) {
_runLengthOfAdvWidth++;
else
_runLengthOfAdvWidth = 1;
- _widthInfos.emplace_back(CharWidthInfo(xmin, w));
+ _widthInfos.emplace_back(xmin, w);
ttfWriter()->updateGlobalAdvanceWidth(w, _widthInfos.size()-_runLengthOfAdvWidth+1);
} \ No newline at end of file