Comment 9 for bug 1283194

Revision history for this message
David Mathog (mathog) wrote :

The example in bug #1441371 shows an enormously wide leading J character. Ah, I think I see what might be going on. With these very wide tilted characters advance can be much less than width. Dumping the Queensland font shows for J:

   letter:J advance = 1472 width = 4928

but for Arial it is:

  letter:J advance = 1600 width = 1280

Never mind the absolute scale of those numbers, notice which is larger in each line.

 If advance is being used in lieu of the actual width somewhere this would make the bounding box too small at one end or the other.