ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* The cat was too long (mkiv)
@ 2008-05-21 13:15 Peter Rolf
  2008-05-21 14:30 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Rolf @ 2008-05-21 13:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

hi,

'minimal' example for clipping bug in mkiv:

% engine=luatex
\starttext

\setbox\scratchbox\hbox{The cat was too long to fit in this small sentence.}
\framed[offset=overlay]{\clip[width=110pt,height=20pt]{\box\scratchbox}}

\stoptext


final text should be "The cat was too long". mkii does it right, mkiv 
gives "The cat wa". mkiv made the cat fit somehow, but it's not the way 
i want it :)


best wishes, peter

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: The cat was too long (mkiv)
  2008-05-21 13:15 The cat was too long (mkiv) Peter Rolf
@ 2008-05-21 14:30 ` Hans Hagen
  2008-05-21 15:09   ` Peter Rolf
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2008-05-21 14:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Peter Rolf wrote:
> hi,
> 
> 'minimal' example for clipping bug in mkiv:
> 
> % engine=luatex
> \starttext
> 
> \setbox\scratchbox\hbox{The cat was too long to fit in this small sentence.}
> \framed[offset=overlay]{\clip[width=110pt,height=20pt]{\box\scratchbox}}
> 
> \stoptext
> 
> 
> final text should be "The cat was too long". mkii does it right, mkiv 
> gives "The cat wa". mkiv made the cat fit somehow, but it's not the way 
> i want it :)

it gets clipped here


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: The cat was too long (mkiv)
  2008-05-21 14:30 ` Hans Hagen
@ 2008-05-21 15:09   ` Peter Rolf
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Rolf @ 2008-05-21 15:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hans Hagen schrieb:
> Peter Rolf wrote:
>> hi,
>>
>> 'minimal' example for clipping bug in mkiv:
>>
>> % engine=luatex
>> \starttext
>>
>> \setbox\scratchbox\hbox{The cat was too long to fit in this small sentence.}
>> \framed[offset=overlay]{\clip[width=110pt,height=20pt]{\box\scratchbox}}
>>
>> \stoptext
>>
>>
>> final text should be "The cat was too long". mkii does it right, mkiv 
>> gives "The cat wa". mkiv made the cat fit somehow, but it's not the way 
>> i want it :)
> 
> it gets clipped here
>
mh, i should have made a test run at 'context live' first. works there 
too. sorry for the noise.
i'm currently back to luatex 0.25.3, context is from 13.05.2008.

this keeps me busy...

> 
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                               | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-21 15:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-21 13:15 The cat was too long (mkiv) Peter Rolf
2008-05-21 14:30 ` Hans Hagen
2008-05-21 15:09   ` Peter Rolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).