New Forum | Previous | Next | (P-PDF) Developers
Topic: Text display differences between Acrobat 5 and 4
Conf: (P-PDF) Developers, Msg: 96577
Date: 9/18/2003 12:37 AM
I have an application which will retrieve a text run.
For that text run it will retrieve the current colour space.
It will then set this colour space to a newly created colour space so I can define a different colour.
Finally it will save the new colour space back to the text run.
This works fine in Acrobat 5, however when the modified PDF file is viewed in Acrobat 4, the start position of subsequent coloured text runs in a PDEText object appear different to Acrobat 5 (typically text runs have been shifted to the left). If I have 4 text runs in a PDEText object then the position of the first and second runs seems fine, but the position of the third overlaps the end of the second and the position of the fourth overlaps the third)
Is there anything else I need to take into account when changing the colour?
Are there any values I need to save and restore while I am changing the colour space so my PDF's will look the same on Acrobat 4?