Hi,
In our plugin we are using some code from AddGlyphsSnip.cpp and call yo PDETextAddGlyphs method, which in that original code passes 0 as PDETextState structure pointer. After our text is created we have 2 problems:
1. There is some extra space between glyphs
2. Instead of 10 glyphs output as passed via glyph len parameter - we have only 5
In our resulting PDF created via our plugin we have then this part:
/C2_0 1 Tf
12 0 0 12 32 32 Tm
<023A023B023C023D023E>Tj
And if creating the same text run manually via Acrobat:
/C2_0 1 Tf
0 Tc 0 Tw 0 Ts 100 Tz 0 Tr 12 0 0 12 108 760.525 Tm
<023A023B023C023D023E>Tj
So, how to achieve the same text state state with some code?