https://bugs.documentfoundation.org/show_bug.cgi?id=165396

--- Comment #6 from Eyal Rozenberg <[email protected]> ---
(In reply to Dave Gilbert from comment #5)
> [(Org)-375(Mo)-31(de)-375(Compact)-375(Guide)]TJ                            

Actually, the line I am talking about says "Release 9.4". But your observations
are probably valid for that one as well.

It's certainly true, that the relation of the two elements - the black bar and
the text run - is not made explicit in the PDF. This is not because of the PDF
format - it's just like in Draw: If we align shapes, there's nothing written to
the ODG file saying that they are associated with each other. But if we were to
maintain object dimensions as best we can - we would maintain the implicit
alignments and authors' intended presentational effect, better.

And indeed, like you've shown us - there is information inside the PDF to let
us do so. In fact, it seems from your description that it is easier than I had
thought, and one might not even to do full text rendering to a scratch buffer -
just accounting for that sequence of numbers you quoted might be enough.

Finally, about the fallback font: The overrun depends on which font is used on
your system. On mine, it's wider, and so is the discrepancy. But once it's
"off", you lose the effect the author aimed for. 

Another point to consider is what happens within paragraphs of text, where the
text isn't just a single stretch for the whole line. There, the choice of the
tradeoff (size, horizontal scale of the font, inter-character spacing,
unintended space at the end) is even more delicate.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to