| 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 2108d4d2e46432124cec8d62e48a9692d1b40261..a4ec101750d1be2550bc4f52e59e8160abdf926a 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
|
|
|