There is a bug in CTGlyph#getAdvance() where is returns the transformed advances instead of not transformed advance.
While I could fix CTGlyph#getAdvance() I prefer to change SWGraphics#drawStringInternal to stop using
Glyph#getAdvance() because
a) I want to remove Glyph#getAdvance()
b) It will wrong when we implement kerning
c) consistent with GlyphCache (D3D and ES2 pipelines), seeRT-30862
While I could fix CTGlyph#getAdvance() I prefer to change SWGraphics#drawStringInternal to stop using
Glyph#getAdvance() because
a) I want to remove Glyph#getAdvance()
b) It will wrong when we implement kerning
c) consistent with GlyphCache (D3D and ES2 pipelines), see