| Index: core/fxge/apple/fx_apple_platform.cpp
|
| diff --git a/core/fxge/apple/fx_apple_platform.cpp b/core/fxge/apple/fx_apple_platform.cpp
|
| index 211e5745e21b787c15bb9b9a140142d6f3655e33..6428c1d9e5215e02c09fbbe6166f0a4e35141d3f 100644
|
| --- a/core/fxge/apple/fx_apple_platform.cpp
|
| +++ b/core/fxge/apple/fx_apple_platform.cpp
|
| @@ -63,7 +63,8 @@ FX_BOOL CGDrawGlyphRun(CGContextRef pContext,
|
| CFX_FixedBufGrow<uint16_t, 32> glyph_indices(nChars);
|
| CFX_FixedBufGrow<CGPoint, 32> glyph_positions(nChars);
|
| for (int i = 0; i < nChars; i++) {
|
| - glyph_indices[i] = pCharPos[i].m_ExtGID;
|
| + glyph_indices[i] =
|
| + pCharPos[i].m_ExtGID ? pCharPos[i].m_ExtGID : pCharPos[i].m_GlyphIndex;
|
| if (bNegSize)
|
| glyph_positions[i].x = -pCharPos[i].m_OriginX;
|
| else
|
|
|