diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/src/HyperlinkManager.cpp')
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-src/src/HyperlinkManager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/HyperlinkManager.cpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/HyperlinkManager.cpp index 1c41c22a5db..68ff97508af 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-src/src/HyperlinkManager.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/HyperlinkManager.cpp @@ -182,10 +182,10 @@ void HyperlinkManager::markLinkedBox (SpecialActions &actions) { actions.prependToPage(std::move(rect)); if (MARKER_TYPE == MarkerType::BOX || MARKER_TYPE == MarkerType::BGCOLOR) { // slightly enlarge the boxed area - x -= linewidth; - y -= linewidth; - w += 2*linewidth; - h += 2*linewidth; + x -= linewidth/2; + y -= linewidth/2; + w += linewidth; + h += linewidth; } actions.embed(BoundingBox(x, y, x+w, y+h)); } |