Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #1487

Re: List with special character escapes

From ken <ken@spamcop.net>
Newsgroups comp.lang.postscript
Subject Re: List with special character escapes
Date 2013-07-20 12:13 +0100
Message-ID <MPG.2c548135c7ac26dc9898aa@usenet.plus.net> (permalink)
References <87ppufkk6l.fsf@Aspire.decebal.nl> <MPG.2c53404b256f7d1f9898a9@usenet.plus.net> <87hafplk9h.fsf@Aspire.decebal.nl>

Show all headers | View raw


In article <87hafplk9h.fsf@Aspire.decebal.nl>, Cecil@decebal.nl says...

> > OK so it looks like you're talking about rendering text. The
> > character code you use depends on the Encoding applied to the font.
> > I can happily code fonts where Encoding position 0x41 had the name
> > /A. Assuming that teh font I'm using has a Charstring entry called
> > /A then when I put 0x41 (or A) in the string argument to show then
> > I'll get the appropraite glyph on the output.
> 
> If I understand correctly: © and ï are standard, but € is not?

Umm, 'standard' is difficult. They are defined in some of teh standard 
encodings, yes.

 
> By the way, before I use a font, I transform it with the following
> function:

Ah, so you are using the ISOLatin1Encoding, that makes a difference.

 
> I should add this to the function then. (I want it to work with
> ?every? function.) Is there a ?logical? place to put it?

The ISOLatin1Encoding doesn't contain a Euro glyph encoding (htough 
oddly it does appear to contain what looks like a cent). You cna find 
the ISOLatin1Encoding defined in appendix E of the PostScript Language 
Reference Manual.

Of course, you can modify the Encoding array before you use it, and 
create an Encoding mapping to the /Euro glyph at any point which is 
convenient for you.


				Ken

Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

List with special character escapes Cecil Westerhof <Cecil@decebal.nl> - 2013-07-19 10:50 +0200
  Re: List with special character escapes ken <ken@spamcop.net> - 2013-07-19 13:24 +0100
    Re: List with special character escapes Cecil Westerhof <Cecil@decebal.nl> - 2013-07-20 10:15 +0200
      Re: List with special character escapes ken <ken@spamcop.net> - 2013-07-20 12:13 +0100
        Re: List with special character escapes Cecil Westerhof <Cecil@decebal.nl> - 2013-07-20 16:29 +0200
          Re: List with special character escapes luser- -droog <mijoryx@yahoo.com> - 2013-07-20 10:46 -0700
            Re: List with special character escapes Cecil Westerhof <Cecil@decebal.nl> - 2013-07-20 21:39 +0200
              Re: List with special character escapes luser- -droog <mijoryx@yahoo.com> - 2013-07-20 13:36 -0700
                Re: List with special character escapes Cecil Westerhof <Cecil@decebal.nl> - 2013-07-20 23:13 +0200
        Re: List with special character escapes Ross Presser <rpresser@gmail.com> - 2013-07-22 14:30 -0700
          Re: List with special character escapes ken <ken@spamcop.net> - 2013-07-23 07:48 +0100
            Re: List with special character escapes Ross Presser <rpresser@gmail.com> - 2013-07-23 07:08 -0700
              Re: List with special character escapes ken <ken@spamcop.net> - 2013-07-23 16:16 +0100
                Re: List with special character escapes Ross Presser <rpresser@gmail.com> - 2013-07-23 10:38 -0700

csiph-web