lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: encoding hack


From: Han-Wen Nienhuys
Subject: Re: encoding hack
Date: Sun, 14 Nov 2004 13:54:52 +0100

address@hidden writes:
> 
> > > Unfortunately, the `glyphshow' operator is a level-2 PostScript
> > > command which older printers don't support (my original Apple
> > > LaserWriter Select is one of them).
> >
> > Is that really a problem?
> 
> I think yes.  Even Acrobat still produces level1 PS code on demand.
> 
> > Can't ghostscript be used to translate level2 to level1?
> 
> I don't know -- maybe you can do some experiments.  Perhaps you can
> encapsulate the glyphshow code so that it can be replaced with a
> level1 solution later on.

Hmm. we could simply define glyphshow in terms of a on-the-fly
reencoded font, right?
Something like (PS pseudo code)

  /nullencoding  [ .notdef .... .notdef ] def
  /glyphshow { nullencoding
               65 exch setarray % don't know the PS command
               getcurrentfont setfontencoding
               (a) show
              }
  bind def


-- 

 Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]