Skip to content

fix for exportSettings.textRenderFormat#54

Merged
DelazJ merged 4 commits intoDelazJ:masterfrom
MrChebur:master
Jan 27, 2025
Merged

fix for exportSettings.textRenderFormat#54
DelazJ merged 4 commits intoDelazJ:masterfrom
MrChebur:master

Conversation

@MrChebur
Copy link
Copy Markdown
Contributor

This is incorrect option:
exportSettings.textRenderFormat = 1

Should be like that:

if layout.customProperty('pdfTextFormat') == 1:
    exportSettings.textRenderFormat = QgsRenderContext.TextFormatAlwaysText

if layout.customProperty('pdfTextFormat') == 0:
    exportSettings.textRenderFormat = QgsRenderContext.TextFormatAlwaysOutlines  # default

https://gis.stackexchange.com/questions/352511/setting-options-in-pdf-export-options-to-export-an-atlas-to-pdf-using-pyqgis

@MrChebur
Copy link
Copy Markdown
Contributor Author

And thanks for the plugin.
It really speeds up my work. 👍

@DelazJ DelazJ merged commit e5d7804 into DelazJ:master Jan 27, 2025
@DelazJ
Copy link
Copy Markdown
Owner

DelazJ commented Jan 27, 2025

Sorry @MrChebur it took so long to get back to you.
Thanks for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants