Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

how to add special characters in postscript file

by srikrishnan (Beadle)
on Jan 30, 2012 at 10:13 UTC ( #950736=perlquestion: print w/ replies, xml ) Need Help??
srikrishnan has asked for the wisdom of the Perl Monks concerning the following question:

Hi all

I want to add special accented characters such as aacute, ccedil, scaron, etc in my postscript files. I am successfully done that in postscript files. But when I convert postscript files to PDF, all such characters are became junk

Can anybody help me to solve this problem?

Thanks in Advance

Srikrishnan

Comment on how to add special characters in postscript file
Re: how to add special characters in postscript file
by choroba (Abbot) on Jan 30, 2012 at 10:15 UTC
    How do you convert from postscript to PDF?

      Hi,

      I am using Adobe Distiller 9.0 for creating PDF from Postscript file

      Thanks for your response

      srikrishnan

        I am using Adobe Distiller 9.0 for creating PDF from Postscript file

        So, why do you ask in a Perl forum instead of in an Adobe forum?

        Alexander

        --
        Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re: how to add special characters in postscript file
by rovf (Priest) on Jan 30, 2012 at 11:29 UTC
    It's not clear how this is related to Perl. Maybe you could elaborate a little bit more?


    -- 
    Ronald Fischer <ynnor@mm.st>

      Hi

      In the postscript file I have added some accented characters as below using perl script

      [/Subtype /Caret /Contents ("Zarduμăt argues ka man ahō be kunēh ciyōn and following, these are direct quotes so should be in quote marks ? \(I have put the translations in brackets, ok?\) please also check below") /Rect 7741 9285 7988 9068 /Title (Original Text) /Subj (Deleted Text) /Border 0 0 0 /Color 0 0 1 /ANN pdfmark

      and converted it to PDF using Adobe distiller, it comes as below in the PDF

      "Zarduáμąšt argues ka man ahœš be kunfih ciyœn ╦ and following, these are direct quotes so should be in quote marks ? (I have put the translations in brackets, ok?) please also check below"

      I hope it makes as clear about my problem.

      Thanks

      Srikrishnan

        If you suspect that the bug is in the Perl program, I suggest that you hexdump your postscript file and check, whether the characters are represented by the correct bit pattern; maybe it is an encoding problem.

        If this is the case, please post here in a small example, how you generate the postscript code, what bit pattern you would expect in the postscript file, and what bit pattern you actually got.

        -- 
        Ronald Fischer <ynnor@mm.st>

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://950736]
Approved by sundialsvc4
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2014-09-21 01:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (165 votes), past polls