diff options
author | Norbert Preining <norbert@preining.info> | 2023-07-08 03:01:46 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-07-08 03:01:46 +0000 |
commit | eeed32591ed8e985fd458c43d976027ad679d682 (patch) | |
tree | 1a5db64fc7b9df26f2887acbde587aed73315604 /dviware/dvisvgm/src/ttf/HmtxTable.cpp | |
parent | 2178d699db60492a15e11c107f17da33543af865 (diff) |
CTAN sync 202307080301
Diffstat (limited to 'dviware/dvisvgm/src/ttf/HmtxTable.cpp')
-rw-r--r-- | dviware/dvisvgm/src/ttf/HmtxTable.cpp | 2 |
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 |