https://bugs.documentfoundation.org/show_bug.cgi?id=165396
--- Comment #5 from Dave Gilbert <[email protected]> --- Looking at the raw PDF (uncompressed with podofouncompress) the actual PDF code we have for that main line is: BT /F75 20.6585 Tf 90 561.788 Td [(Org)-375(Mo)-31(de)-375(Compact)-375(Guide)]TJ ET I don't see anything in there showing any form of bounding box that it's part of - there's no hierarchy here except the outer'MediaBox' which I think is most of the page? The numbers in there (the 375 and 31) are spacing and kerning; so we're not getting the size of any character directly there. The line is an entirely separate rectange/fill: 0 0 432 3.985 re f So there's nothing we can do associating the text and the line or the box outside it. So lets see what the /F75 font tells us: /F75 7 0 R ... 7 0 obj << /Type /Font /BaseFont /CXVGSH+CMBX12 /FirstChar 11 /FontDescriptor 592 0 R /LastChar 121 /Subtype /Type1 /ToUnicode 1 0 R /Widths 588 0 R >> huh OK so 588 is: 588 0 obj [ 656.300000 625 625 937.500000 937.500000 312.500000 343.700000 562.500000 562.500000 562.500000 562.500000 562.500000 849.500000 500 574.100000 812.500000 875 562.500000 1018.500000 1143.500000 875 312.500000 342.600000 581 937.500000 562.500000 937.500000 875 312.500000 437.500000 437.500000 562.500000 875 312.500000 375 312.500000 562.500000 562.500000 562.500000 562.500000 .... so that *is* the width of each character that's expected so in theory you should be able to get some idea of the total length. I don't know how much is already done; for me the substitute that's being picked looks about right, no big overrun. -- You are receiving this mail because: You are the assignee for the bug.
