Article View: adobe.postscript.programming
Article #62Re: stroke and fill
From: Aandi_Inston
Date: Fri, 25 Jul 2008 11:39
Date: Fri, 25 Jul 2008 11:39
32 lines
2334 bytes
2334 bytes
>So I will just test if the image is RGB or CMYK and then use the proper colorspace. That is best. *IF* you are working in the area of colour management and want to use a color manager to do profile-to-profile conversion, you may get better results. This is a much bigger project than the one you describe. You would probably want to use CIEBasedABC or CIEBasedDEFG colors too, a world of pain. > >1. How can I write Unicode characters in a PostScript file? You can put any characters or bytes you like in a string, but that won't make PostScript understand Unicode. (The PS Language Reference doesn't mention Unicode, not because it is implicit, but because it isn't there). To display characters in a font you have to choose a suitable font that contains the character set you want to show, set up an encoding to map string byte values into characters, and generate the string accordingly. Mostly people use single byte fonts, and may partition into character sets, switching fonts as needed. There is NO universal Unicode font - and if there was it would add tens of megabytes to the PostScript. > >2.How can I define a new font in the PostScript file? I suspect you are about to enter a world of pain. What do you mean by a "new font"? What is the overall requirement here - to allow someone or something to select operating system fonts and print with them? Or just to pick a font from those built into the printer? Aandi Inston
Technical Details
Message-ID:
<4889ba60.1095055146@adobeforums.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!transit4.hitnews.eu!border1.nntp.ams.giganews.com!nntp.giganews.com!feed.xsnews.nl!border-2.ams.xsnews.nl!68.142.88.77.MISMATCH!hwmnpeer03.ams!news.highwinds-media.com!transit5.hitnews.eu!news4us.nl!webcrossingReferences:
<59b5e90e.-1@webcrossing.la2eafNXanI> <59b5e90e.22@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,59978ad8602309c9 X-Google-Attributes: gid10c61a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Aandi_Inston@adobeforums.com Newsgroups: adobe.postscript.programming Subject: Re: stroke and fill Message-ID: <4889ba60.1095055146@adobeforums.com> Date: Fri, 25 Jul 2008 04:39:14 -0700 References: <59b5e90e.-1@webcrossing.la2eafNXanI> <59b5e90e.22@webcrossing.la2eafNXanI> Lines: 33 X-Newsreader: Forte Free Agent 1.21/32.243 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!transit4.hitnews.eu!border1.nntp.ams.giganews.com!nntp.giganews.com!feed.xsnews.nl!border-2.ams.xsnews.nl!68.142.88.77.MISMATCH!hwmnpeer03.ams!news.highwinds-media.com!transit5.hitnews.eu!news4us.nl!webcrossing