diff options
author | Lei Zhang <thestig@chromium.org> | 2018-08-04 04:29:30 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-04 04:29:30 +0000 |
commit | a7a957f7cec2380b1f04f7166780dba50c0d5d85 (patch) | |
tree | 3ebad1796f7c90e9d07c60f93ec325f7fdea09f9 /core/fpdfapi | |
parent | ac1dfb0ef15e273aab6476a460dfd4f2778e9703 (diff) | |
download | pdfium-a7a957f7cec2380b1f04f7166780dba50c0d5d85.tar.xz |
Use more text object state in DrawTextPathWithPattern().chromium/3514chromium/3513chromium/3512
BUG=chromium:668762
Change-Id: Iaf3fc9bcf68b8da2c947bbd78c5d72f78195b621
Reviewed-on: https://pdfium-review.googlesource.com/35991
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi')
-rw-r--r-- | core/fpdfapi/render/cpdf_renderstatus.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/fpdfapi/render/cpdf_renderstatus.cpp b/core/fpdfapi/render/cpdf_renderstatus.cpp index 23eeefd0ed..ee3faafea3 100644 --- a/core/fpdfapi/render/cpdf_renderstatus.cpp +++ b/core/fpdfapi/render/cpdf_renderstatus.cpp @@ -1991,6 +1991,7 @@ void CPDF_RenderStatus::DrawTextPathWithPattern(const CPDF_TextObject* textobj, path.m_FillType = FXFILL_WINDING; path.m_ClipPath.AppendTexts(&pCopy); path.m_ColorState = textobj->m_ColorState; + path.m_GeneralState = textobj->m_GeneralState; path.m_Path.AppendRect(textobj->m_Left, textobj->m_Bottom, textobj->m_Right, textobj->m_Top); path.m_Left = textobj->m_Left; |