Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Show udieresis

10 views
Skip to first unread message

Gernot Hoffmann

unread,
Sep 26, 2009, 5:16:48 AM9/26/09
to
How can I print udieresis ?
In the moment it's a non existing octal code,
which results in a space.

Best regards --Gernot Hoffmann

/Helvetica findfont 0.1 scalefont setfont
ISOLatin1Encoding

1.08 -0.03 moveto (Rot) show
-0.65 0.94 moveto (Gr\374n) show % ü=udieresis=\374
-0.65 -1.01 moveto (Blau) show

Helge Blischke

unread,
Sep 26, 2009, 6:59:44 AM9/26/09
to
Gernot Hoffmann wrote:

Provided your Helvetica font contains this glyph, it should be
correctly rendered, but you need to re-encode the font in advance,
as by default the font (in case of a Type1 font) probably is delivered
with Adobe's standard encoding, which does not list the "umlauts".

See the PLRM for an example how to re-encode a font.

Helge

ken

unread,
Sep 26, 2009, 7:46:59 AM9/26/09
to
In article <eac12904-a124-494a-b094-3b53b132b951
@r36g2000vbn.googlegroups.com>, hoff...@fho-emden.de says...

> How can I print udieresis ?
> In the moment it's a non existing octal code,
> which results in a space.

Does the font include a /udieresis glyph ? If so then re-encode the
font, or use glyphshow.

If not, use a different font.

Ken

Gernot Hoffmann

unread,
Sep 26, 2009, 8:06:43 AM9/26/09
to
On 26 Sep., 11:16, Gernot Hoffmann <hoffm...@fho-emden.de> wrote:

Helge and Ken, thanks.

Helvetica contains (of course !) ä,ö,ü.
These characters are available in all Adobe programs.
Furtheron, I can test it by Adobe Type Manager, showing
these characters in an example phrase.

I'm using for certain graphics Quite PSAlter, which
is still PostScript Level 2.
Could this be the reason ?

Best regards --Gernot Hoffmann

Helge Blischke

unread,
Sep 26, 2009, 8:36:42 AM9/26/09
to
Gernot Hoffmann wrote:

No, but the native encoding of Helvetica (like most Type1 fonts
is StandardEncoding, which lacks the umlauts in the encoding vector.
You MUST reencode the font to use IsoLatin!Encoding as described in
the example in the PLRM.

Helge

Gernot Hoffmann

unread,
Sep 26, 2009, 11:11:33 AM9/26/09
to
On 26 Sep., 14:36, Helge Blischke <h.blisc...@acm.org> wrote:
> > Helvetica contains (of course !) ä,ö,ü.
> > These characters are available in all Adobe programs.
> > Furtheron, I can test it by Adobe Type Manager, showing
> > these characters in an example phrase.
>
> > I'm using for certain graphics Quite PSAlter, which
> > is still PostScript Level 2.
> > Could this be the reason ?
>
> > Best regards --Gernot Hoffmann
>
> No, but the native encoding of Helvetica (like most Type1 fonts
> is StandardEncoding, which lacks the umlauts in the encoding vector.
> You MUST reencode the font to use IsoLatin!Encoding as described in
> the example in the PLRM.
>
> Helge

I didn't find an example in the THIRD edition,
but in the SECOND, and this works fine.

Best regards --Gernot Hoffmann

%PLRM Second Edition Example 5.6
/Helvetica findfont
dup length
dict
begin
{1 index /FID ne {def} {pop pop} ifelse} forall
/Encoding ISOLatin1Encoding def
currentdict
end
/Helvetica-ISOLatin1 exch definefont pop

/Helvetica-ISOLatin1 findfont 0.1 scalefont setfont

1.08 -0.03 moveto (Rot) show

-0.65 0.94 moveto (Grün) show % Octal code \374 is not required

Helge Blischke

unread,
Sep 26, 2009, 2:37:59 PM9/26/09
to
Gernot Hoffmann wrote:

The very same example is listed in the 3rd edition in section 5.9.1
"Changing the Encoding Vector" on page 349.

Helge


Gernot Hoffmann

unread,
Sep 27, 2009, 4:31:39 AM9/27/09
to
> Helge- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

Thank you - too late.

Best regards --Gernot Hoffmann

0 new messages