Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG objects with encoding="windows-1252" are not included in printouts (paper and PDF) #2792

Open
1 task done
Norbert80 opened this issue Jul 3, 2024 · 6 comments
Open
1 task done
Labels
confirmed-bug Issues with confirmed bugs

Comments

@Norbert80
Copy link

Norbert80 commented Jul 3, 2024

This issue is unique.

  • I have used the search tool and did not find an issue describing my bug.

Operating System

Linux (DEB package)

Version information

Version 8.1.0.169 (deb)

Expected Behavior

Printouts (paper and PDF) should contain SVG objects.

Actual Behavior

Printouts (paper and PDF) do not contain SVG objects.

Reproduction Steps

  • open a blank document
  • insert a SVG picture
  • print to PDF or paper

Additional information

No response

@Norbert80 Norbert80 changed the title SVG are not included in printings (paper and PDF) SVG objects are not included in printings (paper and PDF) Jul 3, 2024
@Norbert80 Norbert80 changed the title SVG objects are not included in printings (paper and PDF) SVG objects are not included in printouts (paper and PDF) Jul 3, 2024
@TatianaKirillova
Copy link
Member

Hello @Norbert80! Thank you for your request!
Unfortunately I can't reproduce the problem. Could you attach a file with the problem image?

@Rita-Bubnova Rita-Bubnova added the waiting feedback Issues that we waiting to be answered from author of issue label Jul 5, 2024
@Norbert80
Copy link
Author

Hello @Norbert80! Thank you for your request! Unfortunately I can't reproduce the problem. Could you attach a file with the problem image?

Hello @TatianaKirillova,

it looks like some SVG objects are printed and some are not printed. Attached you find a testkit that contains two SVG objects. I have attached the printed PDF too. You can see that the printed PDF contains the ONLYOFFICE logo but not the Reutin logo.

svg_testkit.docx

svg_testkit.pdf

@Norbert80 Norbert80 changed the title SVG objects are not included in printouts (paper and PDF) Some SVG objects are not included in printouts (paper and PDF) Jul 5, 2024
@Norbert80
Copy link
Author

Below you find the affected SVG file separately:
logo_tv-reutin

@TatianaKirillova
Copy link
Member

@Norbert80 oh, thank you very much for such a quick response and information about the problem!

@TatianaKirillova
Copy link
Member

@Norbert80 Indeed, the problem repeated itself with your image. Issue No. 69024 for your task

The problem is reproduced on Document Server.

@Rita-Bubnova Rita-Bubnova added confirmed-bug Issues with confirmed bugs and removed waiting feedback Issues that we waiting to be answered from author of issue labels Jul 5, 2024
@Rita-Bubnova Rita-Bubnova transferred this issue from ONLYOFFICE/DesktopEditors Jul 5, 2024
@Norbert80 Norbert80 changed the title Some SVG objects are not included in printouts (paper and PDF) SVG objects with encoding="windows-1252" are not included in printouts (paper and PDF) Jul 7, 2024
@Norbert80
Copy link
Author

Norbert80 commented Jul 7, 2024

It seems, that the printout struggles with encoding="windows-1252" in the prolog. Change it to encoding="UTF-8" and the printout works.

In case it is somehow useful for fixing ONLYOFFICE, I would like to point out that LibreOffice has a similar problem, but already fails when importing the same SVG:
https://bugs.documentfoundation.org/show_bug.cgi?id=161938

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed-bug Issues with confirmed bugs
Projects
None yet
Development

No branches or pull requests

3 participants