[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Postscript printer errors with rounded barlines?
From: |
Han-Wen Nienhuys |
Subject: |
Re: Postscript printer errors with rounded barlines? |
Date: |
Thu, 21 Jul 2011 23:27:06 -0300 |
On Thu, Jul 21, 2011 at 12:31 PM, Karl Hammar <address@hidden> wrote:
> Han-Wen Nienhuys:
>> On Thu, Jul 21, 2011 at 8:11 AM, Karl Hammar <address@hidden> wrote:
>> > Han-Wen Nienhuys:
>> >> Werner, can you have a look at http://codereview.appspot.com/4819041 ?
>> > There is no blot on the stack below (as indicated by the comment),
>> there is; the dup puts it on the stack. The comment indicate the
>> state after the call.
>
> /draw_round_box % width height x y blot
> {
> w h x y b
> dup
> w h x y b b
> 0.0 gt
> w h x y b a_bool % the a_bool it consumed by the ifelse below
> {
> w h x y b
> setlinewidth % w h x y
> w h x y
> 0 setlinecap
> 1 setlinejoin
> w h x y
> rmoveto % b w h
> w h
> currentpoint % b w h x1 y1
> 4 2 roll % b x1 y1 w h
> 4 copy
> rectfill
> rectstroke
> } {
> pop % w h x y
> rmoveto % w h
> currentpoint % w h x1 y1
> 4 2 roll % x1 y1 w h
> rectfill
> } ifelse
> } bind def
>
> After "dup" there is two "blot"s, "gt" consumes one and "setlinewidth"
> the other.
I'm sorry - I misunderstood; I thought you saw a problem with the code
rather than the comments.
pushed as 5291daf785cd215145473781612732de94890ba0
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
- Postscript printer errors with rounded barlines?, Han-Wen Nienhuys, 2011/07/19
- Re: Postscript printer errors with rounded barlines?, Francisco Vila, 2011/07/19
- Re: Postscript printer errors with rounded barlines?, Werner LEMBERG, 2011/07/20
- Re: Postscript printer errors with rounded barlines?, Han-Wen Nienhuys, 2011/07/20
- Re: Postscript printer errors with rounded barlines?, Han-Wen Nienhuys, 2011/07/20
- Re: Postscript printer errors with rounded barlines?, Werner LEMBERG, 2011/07/21
- Re: Postscript printer errors with rounded barlines?, Karl Hammar, 2011/07/21
- Re: Postscript printer errors with rounded barlines?, Han-Wen Nienhuys, 2011/07/21
- Re: Postscript printer errors with rounded barlines?, Karl Hammar, 2011/07/21
- Re: Postscript printer errors with rounded barlines?,
Han-Wen Nienhuys <=
- Re: Postscript printer errors with rounded barlines?, Han-Wen Nienhuys, 2011/07/21
- Re: Postscript printer errors with rounded barlines?, Graham Percival, 2011/07/21
- Re: Postscript printer errors with rounded barlines?, Francisco Vila, 2011/07/22
- Re: Postscript printer errors with rounded barlines?, Karl Hammar, 2011/07/22
Re: Postscript printer errors with rounded barlines?, Jan Warchoł, 2011/07/23