Index: core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp |
diff --git a/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp b/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp |
index d4c71085a1af2f7f16de2c425e027b1c9be5e9db..1434c9d3367f6b83cac6d5f8fe39d7f331df7349 100644 |
--- a/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp |
+++ b/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp |
@@ -1343,12 +1343,12 @@ void CPDF_CIDFont::GetCharBBox(FX_DWORD charcode, FX_RECT& rect, int level) { |
FX_WORD CID = CIDFromCharCode(charcode); |
const uint8_t* pTransform = GetCIDTransform(CID); |
if (pTransform && !bVert) { |
- CFX_AffineMatrix matrix(CIDTransformToFloat(pTransform[0]), |
- CIDTransformToFloat(pTransform[1]), |
- CIDTransformToFloat(pTransform[2]), |
- CIDTransformToFloat(pTransform[3]), |
- CIDTransformToFloat(pTransform[4]) * 1000, |
- CIDTransformToFloat(pTransform[5]) * 1000); |
+ CFX_Matrix matrix(CIDTransformToFloat(pTransform[0]), |
+ CIDTransformToFloat(pTransform[1]), |
+ CIDTransformToFloat(pTransform[2]), |
+ CIDTransformToFloat(pTransform[3]), |
+ CIDTransformToFloat(pTransform[4]) * 1000, |
+ CIDTransformToFloat(pTransform[5]) * 1000); |
CFX_FloatRect rect_f(rect); |
rect_f.Transform(&matrix); |
rect = rect_f.GetOutterRect(); |