[Libreoffice-bugs] [Bug 154727] pdf import: odd text layout (tabs?) (UK IHT 407)

2023-04-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154727

--- Comment #7 from V Stuart Foote  ---
(In reply to V Stuart Foote from comment #6)
> ipdf filter import seemingly grid/tabed layout issues noted these builds:
> 
likewise with 
Version: 5.4.7.2 (x64)
Build ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU threads: 8; OS: Windows 6.19; UI render: GL; 
Locale: en-US (en_US); Calc: group

so work on bug 50879 is not involved (export only but just checking).

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

[Libreoffice-bugs] [Bug 154727] pdf import: odd text layout (tabs?) (UK IHT 407)

2023-04-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154727

V Stuart Foote  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

--- Comment #6 from V Stuart Foote  ---
ipdf filter import seemingly grid/tabed layout issues noted these builds:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1e9f4de320f67d1218c710bcee1969a2324c6888
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

Version: 6.4.7.2 (x64)
Build ID: 639b8ac485750d5696d7590a72ef1b496725cfb5
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: GL; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

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

[Libreoffice-bugs] [Bug 154727] pdf import: odd text layout (tabs?) (UK IHT 407)

2023-04-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154727

V Stuart Foote  changed:

   What|Removed |Added

 Blocks||99746
 CC||vmik...@collabora.com


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=99746
[Bug 99746] [META] PDF import filter in Draw
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154727] pdf import: odd text layout (tabs?) (UK IHT 407)

2023-04-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154727

--- Comment #5 from V Stuart Foote  ---
@Miklos, the Cairo based ipdf import filter does fail rather notably parsing
the draw text object placements and sizing compared to the pdfium based filter.
Should we do better?

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

[Libreoffice-bugs] [Bug 154727] pdf import: odd text layout (tabs?) (UK IHT 407)

2023-04-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154727

--- Comment #4 from Dave Gilbert  ---
Hi,
  Thanks - however, I'm not sure this is a simple font substitution screwup.
Each of the words seems to have been tab aligned - how did that happen?

(IHT411 is showing simple font substitution issues with simple places just a
bit longer than needed and overlapping stuff, but I'd agree that's not a bug).

I agree about not using LO for form filling; but what I was actually trying to
do
was use it when the other PDF viewers were breaking and screwing up form field
values so use it for manual editing.

(We've just fixed two Okular bugs on this).

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

[Libreoffice-bugs] [Bug 154727] pdf import: odd text layout (tabs?) (UK IHT 407)

2023-04-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154727

V Stuart Foote  changed:

   What|Removed |Added

 CC||vsfo...@libreoffice.org

--- Comment #3 from V Stuart Foote  ---
Created attachment 186553
  --> https://bugs.documentfoundation.org/attachment.cgi?id=186553=edit
attachment 186549 inserted to document

Works for me when I "insert" PDF a page at a time as image. See attached. When
inserted you can "break" and then "consolidate" the text spans back into
lexically meaningful runs to reassemble sentences and paragraphs.

Otherwise LibreOffice is not a PDF "viewer". 

YMMV but personally I would never attempt to fill a form using LibreOffice as
doing so is "out of scope". IIUC these UK forms are meant to be filled online,
with newer forms also using the obligatory 'GDS Transport' font. This form
subsets just the IRModena-Regular and IRModena-Bold and when not local to
system LibreOffice will substitute.

When "Opened" as a document (to Draw, Impress or Writer depending on filter
selected) LibreOffice filter imports the text runs of the PDF creating a draw
text box shape for each run--there can be multiple draw shapes per line of text
and the position/size of the shape frame is dependent on combination of the PDF
sequence and the font details from the PDF. When done in the Draw module you
can "consolidate" the text boxes back to sentences and paragraphs, but the line
heights can shift--breaking the inserted PDF image offers a little more
fidelity, but both require font substitution.  PDF generated from source
documents with fonts with odd metrics are going to have issues--just as here.

IMHO => NOB

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

[Libreoffice-bugs] [Bug 154727] pdf import: odd text layout (tabs?) (UK IHT 407)

2023-04-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154727

--- Comment #2 from Dave Gilbert  ---
Created attachment 186551
  --> https://bugs.documentfoundation.org/attachment.cgi?id=186551=edit
Okular's nice rendering of the same file

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

[Libreoffice-bugs] [Bug 154727] pdf import: odd text layout (tabs?) (UK IHT 407)

2023-04-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154727

--- Comment #1 from Dave Gilbert  ---
Created attachment 186550
  --> https://bugs.documentfoundation.org/attachment.cgi?id=186550=edit
Screenshot of LO's rendering of this document

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