Vincenzo Mantova

Results 99 comments of Vincenzo Mantova

> Whether this is a problem depends on how StandardMetrics.pm is used. Oh, probably not. In my overly rushed tests, `split(//,$string)` splits the variation sequence `\x{FE00}` off, so `computeStringsSize` should...

> sadly just adding the `viewbox` line alone doesn't work, even though you'd reasonably think that it should. When there are graphics and text combined into the figure, somehow, somewhere,...

> Forcing px and omitting the viewbox was the only way I got things to look decent, although I'll freely admit that I doubt this is the Correct solution. Maybe...

Found the reason! This is the actual bug: ```latex \documentclass{article} \newbox\myboxA \newbox\myboxB \begin{document} \setbox\myboxA\vbox{A must appear once.} \setbox\myboxB\vbox{B must appear once.} \box\myboxA \box\myboxA \begingroup \box\myboxB \endgroup \box\myboxB \end{document} ``` The...

Another facet of the same bug: changing color of a *copy* of a box changes the color of *all* the boxes, which has a funny time travelling effect. ```latex \copy\myboxA...

> The TeXbook mentions that `\box` _always_ acts globally here: It acts globally on the box, but not on the register, e.g. ```latex \documentclass{article} \newbox\myboxC \begin{document} \setbox\myboxC\vbox{C must appear twice.}...

> So I am wondering if this also doesn't concern the exact scoping mechanics of the `\setbox` assignments... Maybe `\box` expires the value of the "box register" at the level...

> I am pretty sure `\box` voids the register assignment, not the box itself -- if it voided the box, it wouldn't appear on screen. And the TeXbook only discusses...

> The text **the box becomes void, at the same level** should really be the clear answer to our conundrum. Indeed, same level as *what*? However, I just checked how...

> it would be nice to have a test Excellent idea, and it's making me discover details I'd missed (e.g. only some properties respect `pdfmetalang`, others support a language by...