pdf - Ghostscript interprets pdfmarks and generates incorrect annotations -


i trying create pdf file bookmarks, links , annotations using ghostscript 9.10, of pdfmark reference , pdfmark recipes book.

i have problem when create postscript file in.ps printing ghostscript pdf printer landscape page, run gswin64c.exe @gsparams following 2 files:

=== gsparams === -sdevice=pdfwrite -dpsfitpage -o out.pdf in.ps pdfmarks  === pdfmarks === [ /rect [50 50 100 200]   /srcpg 1   /contents (some text)   /da ([0.5 0 0] rg /helv 18 tf)   /q 1   /border [0 0 2 [20 10]]   /bs <</s /d /w 2 /d [5 3]>>   /color [0.3 1 1]   /subtype /freetext   /ann pdfmark 

the resulting pdf file contain annotation, if open 3 different applications 3 different results: acrobat shows colored rectangle border , rotated text correctly, chrome shows horizontal text, bluebeam shows correct rectangle, text horizontal , border duplicated.

is definition of /ann pdfmark wrong?

is ghostscript not able correctly interpret pdfmarks? if so, there (possibly free) tool can use this?


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -