| Index: core/fxge/ge/fx_ge_text.cpp
|
| diff --git a/core/fxge/ge/fx_ge_text.cpp b/core/fxge/ge/fx_ge_text.cpp
|
| index cf349eb9c07103674ff81e24aadedcb7574d2132..bca9edf533dee50d505afae5041acd4259727e26 100644
|
| --- a/core/fxge/ge/fx_ge_text.cpp
|
| +++ b/core/fxge/ge/fx_ge_text.cpp
|
| @@ -1091,10 +1091,10 @@ CFX_GlyphBitmap* CFX_FaceCache::RenderGlyph(CFX_Font* pFont,
|
| FX_BOOL bUseCJKSubFont = FALSE;
|
| const CFX_SubstFont* pSubstFont = pFont->GetSubstFont();
|
| if (pSubstFont) {
|
| - bUseCJKSubFont = pSubstFont->m_bSubstOfCJK && bFontStyle;
|
| + bUseCJKSubFont = pSubstFont->m_bSubstCJK && bFontStyle;
|
| int skew = 0;
|
| if (bUseCJKSubFont) {
|
| - skew = pSubstFont->m_bItlicCJK ? -15 : 0;
|
| + skew = pSubstFont->m_bItalicCJK ? -15 : 0;
|
| } else {
|
| skew = pSubstFont->m_ItalicAngle;
|
| }
|
|
|