Linux-specific technical problems

Don Jungk linux at flippingdades.com
Thu Mar 15 10:41:12 EDT 2007


Hi Bob,
I just realized there is an easier way that should work for you. I was 
re-encoding fonts that are resident in the printer, but you have the entire 
encoding in your PS file.  After the line "/isolatin1encoding [" you have a 
list of 228 character definitions. The numbering starts at 0. You have 32 
undefined non-printing characters, then the space, exclamation mark, etc.

So, find out what ascii code your program is sending for the accented 
characters, then you can either change the PS to put the character defs in 
the right place. (á is aacute, É is Eacute, etc.) or change the output text 
to have the correct ascii codes for your font encoding. The encoding that you 
have in this font would be correct for me, with my system set to UTF-8 and my 
HP printer.

Don

> %%BeginProlog
>         /isolatin1encoding [ /.notdef /.notdef /.notdef /.notdef /.notdef
>         /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
>         /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
>         /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
>         /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space
> /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright
> /parenleft /parenright /asterisk /plus /comma /minus /period /slash /zero
> /one /two /three /four /five /six /seven /eight /nine /colon /semicolon
> /less /equal /greater /question /at /A /B /C /D /E /F /G /H /I /J /K /L /M
> /N /O /P /Q /R /S /T /U /V /W /X /Y /Z /bracketleft /backslash
> /bracketright /asciicircum /underscore /quoteleft /a /b /c /d /e /f /g /h
> /i /j /k /l /m /n /o /p /q /r /s /t /u /v /w /x /y /z /braceleft /bar
> /braceright /asciitilde /.notdef /.notdef /.notdef /.notdef /.notdef
> /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
> /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
> /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
> /.notdef /.notdef /.notdef /.notdef /space /exclamdown /cent /sterling
> /currency /yen /brokenbar /section /dieresis /copyright /ordfeminine
> /guillemotleft /logicalnot /hyphen /registered /macron /degree /plusminus
> /twosuperior /threesuperior /acute /mu /paragraph /periodcentered /cedilla
> /onesuperior /ordmasculine /guillemotright /onequarter /onehalf
> /threequarters /questiondown /Agrave /Aacute /Acircumflex /Atilde
> /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis
> /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde /Ograve /Oacute
> /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute
> /Ucircumflex /Udieresis /Yacute /Thorn /germandbls /agrave /aacute
> /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute
> /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth
> /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash
> /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis ] def
>



More information about the use-livecode mailing list