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
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 -----------------------------------------------------------------
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 ___________________________________________________________________________________
participants (2)
-
Hans Hagen
-
Peter Rolf