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


Groups > comp.lang.postscript > #643 > unrolled thread

question: printing an "umlaut" using /Times-Roman

Started byarunchandra1954 <arunchandra1954@gmail.com>
First post2012-03-26 00:06 -0700
Last post2012-04-11 12:57 -0700
Articles 7 — 6 participants

Back to article view | Back to comp.lang.postscript


Contents

  question: printing an "umlaut" using /Times-Roman arunchandra1954 <arunchandra1954@gmail.com> - 2012-03-26 00:06 -0700
    Re: question: printing an "umlaut" using /Times-Roman Helge Blischke <h.blischke@acm.org> - 2012-03-26 10:17 +0200
      Re: question: printing an "umlaut" using /Times-Roman Peter Davis <pfd@pfdstudio.com> - 2012-03-26 13:32 -0400
    Re: question: printing an "umlaut" using /Times-Roman bonomi@host122.r-bonomi.com (Robert Bonomi) - 2012-03-26 11:45 -0500
    Re: question: printing an "umlaut" using /Times-Roman "abeddie@hotmail.com" <abeddie@hotmail.com> - 2012-03-28 11:14 -0700
    Re: question: printing an "umlaut" using /Times-Roman gernot.hoffmann@hs-emden-leer.de - 2012-04-11 13:00 -0700
    Re: question: printing an "umlaut" using /Times-Roman gernot.hoffmann@hs-emden-leer.de - 2012-04-11 12:57 -0700

#643 — question: printing an "umlaut" using /Times-Roman

Fromarunchandra1954 <arunchandra1954@gmail.com>
Date2012-03-26 00:06 -0700
Subjectquestion: printing an "umlaut" using /Times-Roman
Message-ID<c9d40b45-5ead-4a2a-aa9d-e71810d5a245@n9g2000pbb.googlegroups.com>
Hi,

I need to print an "umlaut" at the bottom of a computer graphic, for
the artist's name.

The graphic is pure (mostly simple) Postscript (PS-Adobe-2.0
EPSF-2.0).

Can I do so using a Times-Roman font?  If so, how must I do so?

In tables available on the web, I've found that the numeric character
should be \374 (an umlaut over the letter "u").
However, when I try to print it like:

/Times-Roman findfont 24 scalefont setfont
0 0 moveto
(hello: \374) show
stroke
showpage

I do not get the expected letter "u" with an umlaut above it.

What am I doing wrong, and what is the right way to do it?

Thanks very much for your help,

Arun Chandra

[toc] | [next] | [standalone]


#644

FromHelge Blischke <h.blischke@acm.org>
Date2012-03-26 10:17 +0200
Message-ID<9tan0mFiqsU1@mid.individual.net>
In reply to#643
arunchandra1954 wrote:

> Hi,
> 
> I need to print an "umlaut" at the bottom of a computer graphic, for
> the artist's name.
> 
> The graphic is pure (mostly simple) Postscript (PS-Adobe-2.0
> EPSF-2.0).
> 
> Can I do so using a Times-Roman font?  If so, how must I do so?
> 
> In tables available on the web, I've found that the numeric character
> should be \374 (an umlaut over the letter "u").
> However, when I try to print it like:
> 
> /Times-Roman findfont 24 scalefont setfont
> 0 0 moveto
> (hello: \374) show
> stroke
> showpage
> 
> I do not get the expected letter "u" with an umlaut above it.
> 
> What am I doing wrong, and what is the right way to do it?
> 
> Thanks very much for your help,
> 
> Arun Chandra

You need to reencode the font to ISOLatin1Encoding. See the PLRM for the 
details how to do that.

Helge

[toc] | [prev] | [next] | [standalone]


#646

FromPeter Davis <pfd@pfdstudio.com>
Date2012-03-26 13:32 -0400
Message-ID<jkq96k$l48$1@newscl01ah.mathworks.com>
In reply to#644
On 3/26/2012 4:17 AM, Helge Blischke wrote:
> arunchandra1954 wrote:
>
>> Hi,
>>
>> I need to print an "umlaut" at the bottom of a computer graphic, for
>> the artist's name.
>>
>> The graphic is pure (mostly simple) Postscript (PS-Adobe-2.0
>> EPSF-2.0).
>>
>> Can I do so using a Times-Roman font?  If so, how must I do so?
>>
>> In tables available on the web, I've found that the numeric character
>> should be \374 (an umlaut over the letter "u").
>> However, when I try to print it like:
>>
>> /Times-Roman findfont 24 scalefont setfont
>> 0 0 moveto
>> (hello: \374) show
>> stroke
>> showpage
>>
>> I do not get the expected letter "u" with an umlaut above it.
>>
>> What am I doing wrong, and what is the right way to do it?
>>
>> Thanks very much for your help,
>>
>> Arun Chandra
>
> You need to reencode the font to ISOLatin1Encoding. See the PLRM for the
> details how to do that.
>

Also, the 'stroke' operator serves no purpose here, since there's no 
path to stroke.

-pd


-- 
----
The Tech Curmudgeon
http://www.techcurmudgeon.com

[toc] | [prev] | [next] | [standalone]


#645

Frombonomi@host122.r-bonomi.com (Robert Bonomi)
Date2012-03-26 11:45 -0500
Message-ID<9uednZ3PKeK4AO3SnZ2dnUVZ_sudnZ2d@posted.nuvoxcommunications>
In reply to#643
In article <c9d40b45-5ead-4a2a-aa9d-e71810d5a245@n9g2000pbb.googlegroups.com>,
arunchandra1954  <arunchandra1954@gmail.com> wrote:
>Hi,
>
>I need to print an "umlaut" at the bottom of a computer graphic, for
>the artist's name.
>
>The graphic is pure (mostly simple) Postscript (PS-Adobe-2.0
>EPSF-2.0).
>
>Can I do so using a Times-Roman font?  If so, how must I do so?
>
>In tables available on the web, I've found that the numeric character
>should be \374 (an umlaut over the letter "u").
>However, when I try to print it like:
>
>/Times-Roman findfont 24 scalefont setfont
>0 0 moveto
>(hello: \374) show
>stroke
>showpage
>
>I do not get the expected letter "u" with an umlaut above it.
>
>What am I doing wrong, and what is the right way to do it?

addressing only your last question, see the 'cvs' operator.

[toc] | [prev] | [next] | [standalone]


#647

From"abeddie@hotmail.com" <abeddie@hotmail.com>
Date2012-03-28 11:14 -0700
Message-ID<7b586c40-bba9-4772-a8e8-34adfb51a852@k14g2000vbe.googlegroups.com>
In reply to#643
On Mar 26, 3:06 am, arunchandra1954 <arunchandra1...@gmail.com> wrote:
> Hi,
>
> I need to print an "umlaut" at the bottom of a computer graphic, for
> the artist's name.
>
> The graphic is pure (mostly simple) Postscript (PS-Adobe-2.0
> EPSF-2.0).
>
> Can I do so using a Times-Roman font?  If so, how must I do so?
>
> In tables available on the web, I've found that the numeric character
> should be \374 (an umlaut over the letter "u").
> However, when I try to print it like:
>
> /Times-Roman findfont 24 scalefont setfont
> 0 0 moveto
> (hello: \374) show
> stroke
> showpage
>
> I do not get the expected letter "u" with an umlaut above it.
>
> What am I doing wrong, and what is the right way to do it?
>
> Thanks very much for your help,
>
> Arun Chandra

Arun,

A method to do this without re-encoding the font is below.

Ed

/Times-Roman 24 selectfont
0 0 moveto
(hello: ) show
/udieresis glyphshow
showpage

[toc] | [prev] | [next] | [standalone]


#660

Fromgernot.hoffmann@hs-emden-leer.de
Date2012-04-11 13:00 -0700
Message-ID<17004902.3464.1334174407837.JavaMail.geo-discussion-forums@vbhy1>
In reply to#643
On Monday, March 26, 2012 9:06:05 AM UTC+2, arunchandra1954 wrote:
> Hi,
> 
> I need to print an "umlaut" at the bottom of a computer graphic, for
> the artist's name.
> 
> The graphic is pure (mostly simple) Postscript (PS-Adobe-2.0
> EPSF-2.0).
> 
> Can I do so using a Times-Roman font?  If so, how must I do so?
> 
> In tables available on the web, I've found that the numeric character
> should be \374 (an umlaut over the letter "u").
> However, when I try to print it like:
> 
> /Times-Roman findfont 24 scalefont setfont
> 0 0 moveto
> (hello: \374) show
> stroke
> showpage
> 
> I do not get the expected letter "u" with an umlaut above it.
> 
> What am I doing wrong, and what is the right way to do it?
> 
> Thanks very much for your help,
> 
> Arun Chandra

https://groups.google.com/group/comp.lang.postscript/browse_thread/thread/4fd1477c66e89930/a85cbbcc74e385cd?hl=en&lnk=gst&q=ISOLatin1Encoding+Gernot+Hoffmann#a85cbbcc74e385cd

[toc] | [prev] | [next] | [standalone]


#661

Fromgernot.hoffmann@hs-emden-leer.de
Date2012-04-11 12:57 -0700
Message-ID<9390310.665.1334174261424.JavaMail.geo-discussion-forums@vbbbg2>
In reply to#643
Am Montag, 26. März 2012 09:06:05 UTC+2 schrieb arunchandra1954:
> Hi,
> 
> I need to print an "umlaut" at the bottom of a computer graphic, for
> the artist's name.
> 
> The graphic is pure (mostly simple) Postscript (PS-Adobe-2.0
> EPSF-2.0).
> 
> Can I do so using a Times-Roman font?  If so, how must I do so?
> 
> In tables available on the web, I've found that the numeric character
> should be \374 (an umlaut over the letter "u").
> However, when I try to print it like:
> 
> /Times-Roman findfont 24 scalefont setfont
> 0 0 moveto
> (hello: \374) show
> stroke
> showpage
> 
> I do not get the expected letter "u" with an umlaut above it.
> 
> What am I doing wrong, and what is the right way to do it?
> 
> Thanks very much for your help,
> 
> Arun Chandra

https://groups.google.com/group/comp.lang.postscript/browse_thread/thread/4fd1477c66e89930/a85cbbcc74e385cd?hl=en&lnk=gst&q=ISOLatin1Encoding+Gernot+Hoffmann#a85cbbcc74e385cd

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.postscript


csiph-web