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


Groups > comp.lang.postscript > #1490

Re: List with special character escapes

From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.postscript
Subject Re: List with special character escapes
Organization Decebal Computing
References (1 earlier) <MPG.2c53404b256f7d1f9898a9@usenet.plus.net> <87hafplk9h.fsf@Aspire.decebal.nl> <MPG.2c548135c7ac26dc9898aa@usenet.plus.net> <87d2qdl2y0.fsf@Aspire.decebal.nl> <a5615f13-5da1-4e22-a1c2-b102f7ba893c@googlegroups.com>
Date 2013-07-20 21:39 +0200
Message-ID <878v11kola.fsf@Aspire.decebal.nl> (permalink)

Show all headers | View raw


Op zaterdag 20 jul 2013 19:46 CEST schreef luser:

>> The most logical place seems to be \244. But how to do it? I
>> understood you can make an Euro symbol by superimposing a ā€˜=’ over
>> a ā€˜c’, but how am I going to do that. My googling did not give me
>> anything useful until now.
>>
>
> You'd do it right in the middle of your font-preparation
> function.
>
> /fontToLatin { 
> << 1 index findfont {} forall >> 
> begin 
> /Encoding ISOLatin1Encoding 256 array copy def
> Encoding 244 /Euro put
> currentdict end 
> definefont pop 
> } def

That is simple. I thought I had to draw the symbol myself. Sometimes
live is a lot easier as you think. :-D

It works when 244 is changed to 164. The 244 is octal and you need a
decimal value. ;-)

Thanks.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

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