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

--- Comment #13 from Eyal Rozenberg <[email protected]> ---
(In reply to V Stuart Foote from comment #11)
> @Heiko, please take this to ESC. Getting tired of rehashing resolved issues
> with Eyal and others regards the scope of our filter handling of PDFs
> source. We do what we can with what is an "un-editable" format. It is
> untenable for the project to suggest otherwise.

Again with that tired argument? We've already been through this. LO does not
need to be able to represent a PDF exactly and perfectly to be used as a PDF
editor. Nor is it expected to be able to import PDFs perfectly. It is expected
to make a decent effort and not fail on straightforward PDF contents.

Now, raster rendering is not relevant; this is LibreOffice, not GIMP or krita.
You're using that as a straw-man argument: "If you want decent rendering,
there's the raster option". No. The import filter is simply deficient and could
stand to improve a lot, until it reaches a point where you could question the
marginal utility of further work on it.

Specifically, on the sample PDF:

1. The overall scale _may_ be a bit off. It's very different from what GNOME
document viewer shows at 100% zoom, and a little different from what Inkscape
shows. So, maybe a bug and maybe not but merits looking into

2. The fonts are mis-identified. The body font is Minion Pro - Bold and also
Italic; the footer is Myriad Pro; the subtitle is Myriad; the title seems to be
Myriad Pro Semibold Condensed. I have all of these on my system - but none of
them are used. Now, there may be an issue with "Myriad Pro" vs "MyriadPro" -
but that's definitely a heuristic that the PDF import filter, or LO in general,
should be applying when looking for fonts - and it isn't.

3. The paragraphs are broken up into individual lines. And if one might say
"oh, but we can't know that it's a single paragraph" - well, Inkscape knows,
when opening the file for editing, so LO can know this too. I'm not even sure
it involves any heuristics though I might be wrong.
The paragraphs on the left should be justified, but aren't. 

4. The widths of text runs are very far from what they are in the PDF. Even if
LO is not certain it has found the right font, it should make an effort to
adjust, using: Font width & height/size adjustments; inter-character spacing;
inter-word spacing. And specifically:

4.1. The paragraphs should be justified. But - it's debatable whether this
should be counted as a problem, since the fundamental problem is forming them

4.2. The centered text in the frame is not centered at the horizontal center of
the frame.

4.3 Text in the frame - exceeds the edges of frame, while in the PDF it really
does not. That's the worse problem with text run dimensions.


All that being said - there are other bugs which cover some of these issues.
So, what I would suggest that William do is look for them (through the
meta-bug); link them as related to this bug; open specific bugs for the issues
that don't already have open bugs; add this PDF as an attachment for those new
issues; then finally close this bug as a dupe of bug 99746, because that one is
enough to track the individual issues.

I will try and find time to help with some of this.

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

Reply via email to