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

Label masks and bloated PDF exports #51054

Closed
2 tasks done
gregseitz360 opened this issue Nov 29, 2022 · 3 comments
Closed
2 tasks done

Label masks and bloated PDF exports #51054

gregseitz360 opened this issue Nov 29, 2022 · 3 comments
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@gregseitz360
Copy link

What is the bug or the crash?

In QGIS 3.28, when I have label masks implemented and export a print layout as a PDF, the file size becomes 10-20 times larger than if I do the same thing in 3.22.

I have maps with contour lines, highways, and other line features. I have other points near those lines that are labeled for layout, and use label masks to make them readable over the line features. When I export one of these maps as a PDF in QGIS 3.22, the file size might be 5-10 MBs. When I export it in QGIS 3.28, the file is at least 100 MBs.

Steps to reproduce the issue

  1. Create layer with points and labels (can also work with labels on other types of geometry)
  2. Add label mask to new layer
  3. Set mask on other layers
  4. Create new Print Layout
  5. Export as PDF

Versions

QGIS 3.28

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

No response

@gregseitz360 gregseitz360 added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Nov 29, 2022
@troopa81 troopa81 self-assigned this Nov 29, 2022
@troopa81
Copy link
Contributor

Related #50543, not exactly the same issue, see my comment

@gregseitz360
Copy link
Author

Related #50543, not exactly the same issue, see my comment

Thanks, definitely seems like essentially the same issue. Sorry I didn't see that one before reporting.

@troopa81
Copy link
Contributor

Thanks, definitely seems like essentially the same issue. Sorry I didn't see that one before reporting

Thank you for reporting, and I'll try to fix this when I find a proper way.

I close it because It's a duplicate of #50543

@troopa81 troopa81 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

2 participants