While trying to find a place to patch in text-decoration writes so that
they show up in cairo based file types (PDF and the like), I noticed
that simple multicharacter tspans were being broken into single glyph
writes by this line in TNG-Output.cpp:
&& (font_matrix * glyph_matrix.inverse()).isIdentity()
because the test is always false. Here is the link to it in context
(barring edits to that file in a revision after I send this)
If that one line is commented out it lets something like
<tspan>123456</tspan> pass through to renderGlyphtext() in one big
chunk, but other than that, it doesn't seem to make any difference.
Can somebody tell me why that test is there? It seems to be doing the
wrong thing in all the test cases I have run through it, unnecessarily
breaking up the writes, but that doesn't mean that it does not resolve a
problem that arises in some case I have not yet considered.
Manager, Sequence Analysis Facility, Biology Division, Caltech