[Libreoffice-ux-advise] [Bug 151552] PDF import into writer messes up line justification
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Oct 24 16:09:59 UTC 2022
https://bugs.documentfoundation.org/show_bug.cgi?id=151552
Kevin Suo <suokunlong at 126.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |suokunlong at 126.com
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #9 from Kevin Suo <suokunlong at 126.com> ---
To have the "justified" text be justified in Writer pdfimport as well, we need
to know how PDF specifies "justified alignment" as per the PDF specification.
If we can find the pdf token defining the justified alignment (there should be
one, but need to read the pdf specifications carefully to identify it), then we
can add a line output to the (poppler based) xpdfimport binary, then handle
that in the so called "emiting" process during import.
This is similar as to how do we handle bold, underline, etc. We read the PDF
tokens, if we encounter the pdf token specifying that the text should be
aligned justified, then we do that in our import process.
I think we really need to have this ticket short and provide as much useful
information as possible, otherwise devs would not finish reading this ticket
and this one will never be fixed.
May the irrelevant comments be tagged as "obsolete"?
I mark this to NEW as I see there is a bug here.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libreoffice-ux-advise
mailing list