Bug 159877 - PDF opening texts are disappearing
Summary: PDF opening texts are disappearing
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Import-Draw
  Show dependency treegraph
 
Reported: 2024-02-25 09:25 UTC by szelev71
Modified: 2024-02-26 16:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
PDF texts are disappearing (108.26 KB, image/png)
2024-02-25 09:44 UTC, szelev71
Details
Mentioned things on pictures (284.13 KB, image/png)
2024-02-26 07:34 UTC, szelev71
Details

Note You need to log in before you can comment on or make changes to this bug.
Description szelev71 2024-02-25 09:25:10 UTC
Description:
Opening a PDF document in Draw many texts are disappearing.

Steps to Reproduce:
1. Open any PDF text document
2. check the texts whether they are entire or visible at all.
3.

Actual Results:
Texts are not showing

Expected Results:
All the texts are visible and on its place


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: DrawingDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 szelev71 2024-02-25 09:44:39 UTC
Created attachment 192758 [details]
PDF texts are disappearing

Left original right opened in Draw for example
Comment 2 V Stuart Foote 2024-02-25 14:08:01 UTC
So what result when you Insert -> Image for the PDF page to an open Draw canvas, rather than File -> Open?

Is the full text of the footnote rendered?
Comment 3 szelev71 2024-02-26 07:32:18 UTC
(In reply to V Stuart Foote from comment #2)
> So what result when you Insert -> Image for the PDF page to an open Draw
> canvas, rather than File -> Open?
> 
> Is the full text of the footnote rendered?

If I do insert  -> picture : the first page of the PDF is opened correctly. (but I cannot really edit and it is only the first page)
If I do File -> open : General Error, General input/output error
If I do open Files(app) first, and right click on the PDF, Open with another app, chose draw : file opens more or less correctly now. The reported issue disappeared and that part is showing correctly:

Now I see only some minor deviations like here above the "Unterschrift" this X should be not an empty square.


 and here where  words has flowed together

Should be like here:

Maybe it was a single major problem I wrote in the bug report, but the minor ones I experiencing fast always.

Thank you and best regards,
Comment 4 szelev71 2024-02-26 07:34:53 UTC
Created attachment 192769 [details]
Mentioned things on pictures
Comment 5 V Stuart Foote 2024-02-26 12:48:58 UTC
So, this is all expected. LibreOffice does not "edit" a PDF, instead we use filters to parse the PDF content and render it to be a document made up of native LibreOffice drawing objects.

When you insert a PDF page as an image, we use a different set of filters that directly convert the PDF page to an image and place it intact onto a LibreOffice page with very good fidelity to the original.

Chances are the font recorded into the PDF does not exist on your system. So the import filter must fall back to a different font in creating the drawing objects.

If you need fidelity to the PDF, use the Insert (split out the pages of the PDF external to LibreOffice) and paste each. But fields of a form are not going to active in the result.

Alternatively you can install the missing font(s) to you system (open the PDF for details of the fonts used). The import filters may then do a better job in creating the drawing text boxes to match the source PDF.

YMMV, but then LibreOffice is not a PDF editor. Perhaps choose a program more appropriate for PDF touchup and form filling.
Comment 6 szelev71 2024-02-26 16:13:38 UTC
(In reply to V Stuart Foote from comment #5)
> So, this is all expected. LibreOffice does not "edit" a PDF, instead we use
> filters to parse the PDF content and render it to be a document made up of
> native LibreOffice drawing objects.
> 
> When you insert a PDF page as an image, we use a different set of filters
> that directly convert the PDF page to an image and place it intact onto a
> LibreOffice page with very good fidelity to the original.
> 
> Chances are the font recorded into the PDF does not exist on your system. So
> the import filter must fall back to a different font in creating the drawing
> objects.
> 
> If you need fidelity to the PDF, use the Insert (split out the pages of the
> PDF external to LibreOffice) and paste each. But fields of a form are not
> going to active in the result.
> 
> Alternatively you can install the missing font(s) to you system (open the
> PDF for details of the fonts used). The import filters may then do a better
> job in creating the drawing text boxes to match the source PDF.
> 
> YMMV, but then LibreOffice is not a PDF editor. Perhaps choose a program
> more appropriate for PDF touchup and form filling.

ok, thank you!