Fix border width definition between annotation and appearance stream

This commit is contained in:
Gunnsteinn Hall 2017-06-19 16:42:50 +00:00
parent c4c5a49d27
commit b7241e94fc

View File

@ -113,7 +113,7 @@ func drawPdfRectangle(rectDef RectangleAnnotationDef, gsName string) ([]byte, *p
FillEnabled: rectDef.FillEnabled,
FillColor: rectDef.FillColor,
BorderEnabled: rectDef.BorderEnabled,
BorderWidth: rectDef.BorderWidth,
BorderWidth: 2 * rectDef.BorderWidth,
BorderColor: rectDef.BorderColor,
Opacity: rectDef.Opacity,
}