[NTG-context] Ugly bug with TikZ in recent ConTeXt MKIV

Vedran Miletić rivanvx at gmail.com
Thu Nov 18 17:56:17 CET 2010


2010/11/18 Hans Hagen <pragma at wxs.nl>

> After some tracing and hard thinking Taco and I found interesting spaces
> showing up in the output that result from a kludge in tikz:
>
> Normally one will use \ignorespaces to catch spurious spaces but tikz
> invokes \nullfont assuming that its fontdimen 2 is zero. But, in context it
> no longer is (prelude to delayed font loading).
>
> You can put this in cont-new.mkiv as a temporary hack
>
> \let\normalnullfont\nullfont
>
> \def\nullfont
>  {\fontdimen1\normalnullfont\zeropoint
>   \fontdimen2\normalnullfont\zeropoint
>   \fontdimen3\normalnullfont\zeropoint
>   \fontdimen4\normalnullfont\zeropoint
>   \fontdimen5\normalnullfont\zeropoint
>   \fontdimen6\normalnullfont\zeropoint
>   \fontdimen7\normalnullfont\zeropoint
>   \normalnullfont}
>
>
Perhaps this should be forwared to Christian Feuersaenger. He is very open
to bug reports and will probably be willing to fix it in some way in TikZ.

Regards,

-- 
Vedran Miletić
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20101118/9f62a3ec/attachment.html>


More information about the ntg-context mailing list