Comment 2 for bug 1339305

Revision history for this message
Alvin Penner (apenner) wrote :

appears to be related to the following problem:

in the file Layout-TNG-Output.cpp, in the routine Layout::bounds(), there are cases where the routine is called with the function _glyphs.size() = 0. This leads to a failure of the bbox calculation, which leads to this bug. The same problem actually occurs whenever fresh text is typed into a new textbox, except that in this case the results are not visibly wrong. Subsequent calls to this routine increment the size value to 1 or more and all is well. But for the case of a clip this refresh apparently occurs too late.
    In any event, I cannot figure out who is the original caller of this routine and why it is not properly initiallized, so I am going to look for something easier...