[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: streamlining \eyeglasses
From: |
Reinhold Kainhofer |
Subject: |
Re: streamlining \eyeglasses |
Date: |
Sun, 8 Mar 2009 00:44:35 +0100 |
User-agent: |
KMail/1.11.0 (Linux/2.6.27-11-generic; KDE/4.2.0; i686; ; ) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Samstag, 7. März 2009 09:08:06 Mark Polesky wrote:
> Hey all, long time no post...
>
> Recently I've been swimming around in the odd
> ocean of postscript, and I'm starting to see
> weird ways of streamlining ps code. I was
> looking at Reinhold's fantastic \eyeglasses
> command and I tried streamlining it a little
> (as an exercise for myself).
I'm not surprised that it can be written shorter. After all, this was my first
attempt at writing postscript code. It's straightforward to understand (doing
one stroke after the other, without any optimization), though.
I have now added the eyeglasses as a new internal markup command (using the
same postscript code) and instead changed the example for \postscript to
something else. Since the postscript code for the eyeglasses will not be user-
visible any more, I suppose we can do all optimizations that we deem useful...
I have no idea what is faster or more efficient, so I don't really have an
opinion on this.
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFJswbkTqjEwhXvPN0RAnk0AKCR+71hedPazhldiLA41FfDoc6K4QCgnqtB
4J78p2Ldt4NvyfBbUzmUhDs=
=SeEj
-----END PGP SIGNATURE-----