Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!pasteur!ucbvax!decwrl!adobe!ondine!greid From: greid@ondine.COM (Glenn Reid) Newsgroups: comp.lang.postscript Subject: Re: Font Reencoding Nightmares Keywords: Help Me Please! Message-ID: <3917@adobe.COM> Date: 11 May 88 16:42:41 GMT References: <4513@dcatla.UUCP> Sender: news@adobe.COM Reply-To: greid@ondine.UUCP (Glenn Reid) Organization: Adobe Systems Incorporated, Mountain View Lines: 27 >I am having trouble reencoding a font. I am using the routine found in >the Green Book on pages 115-117. When I run the program appended at the >end of this message, I get the invalidfont error when I try to print the >following code points: > >Code Points \267 - \275: atilde,otilde,agrave,egrave,igrave,ograve,ugrave. >Code Points \300 - \306: Agrave,Egrave,Igrave,Ograve,Ugrave,Atilde,Otilde. >Code Points \322 - \326: Acircumflex,Ecircumflex,Icircumflex,Ocircumflex, > Ucircumflex. I believe the problem is that you do not have "grave", "tilde", and "circumflex" in the encoding anywhere. In order to set composite characters, both of the component pieces need to be encoded (it doesn't particularly matter where). The other thing that will get you is the "dotlessi" character, which is one of the components of "iacute", "igrave", etc. It does NOT use the "i" character, as you might originally suspect. "dotlessi" may already be in the encoding (haven't checked that carefully) but if it isn't, it can cause hours of grief trying to track it down. Good luck. Glenn Reid Adobe Systems