| Index: core/fpdfapi/fpdf_page/cpdf_textobject.cpp
|
| diff --git a/core/fpdfapi/fpdf_page/cpdf_textobject.cpp b/core/fpdfapi/fpdf_page/cpdf_textobject.cpp
|
| index f9e6bdaa76ae2f68c2fac766c303a337f0d6ad78..1c6f37cad488b848effb95f62079f0e03a0b9a5a 100644
|
| --- a/core/fpdfapi/fpdf_page/cpdf_textobject.cpp
|
| +++ b/core/fpdfapi/fpdf_page/cpdf_textobject.cpp
|
| @@ -365,7 +365,7 @@ void CPDF_TextObject::CalcPositionData(FX_FLOAT* pTextAdvanceX,
|
| m_Top = max_y;
|
| matrix.TransformRect(m_Left, m_Right, m_Top, m_Bottom);
|
| if (TextRenderingModeIsStrokeMode(m_TextState.GetTextMode())) {
|
| - FX_FLOAT half_width = m_GraphState.GetObject()->m_LineWidth / 2;
|
| + FX_FLOAT half_width = m_GraphState.GetLineWidth() / 2;
|
| m_Left -= half_width;
|
| m_Right += half_width;
|
| m_Top += half_width;
|
|
|