feat(pdf): improve PDF rendering quality and zoom sharpness
- Change PDF_RENDER_QUALITY from 2.0 to 3.0 for higher resolution rendering - Replace PNG round-trip with direct Cairo surface → DynamicImage conversion - Convert ARgb32 to RGBA directly, avoiding PNG encoding/decoding artifacts - Switch image filter from Nearest to Linear for smoother zoom display - Remove unused Cursor and ImageReader imports - Strip release binary to reduce size from 612MB to 36MB
This commit is contained in:
parent
fc6e8c8056
commit
496614f790
4 changed files with 47 additions and 18 deletions
|
|
@ -81,7 +81,7 @@ features = [
|
|||
]
|
||||
|
||||
# Uncomment to test a locally-cloned libcosmic
|
||||
# [patch.'https://github.com/pop-os/libcosmic']
|
||||
# libcosmic = { path = "../libcosmic" }
|
||||
# cosmic-config = { path = "../libcosmic/cosmic-config" }
|
||||
# cosmic-theme = { path = "../libcosmic/cosmic-theme" }
|
||||
[patch.'https://github.com/pop-os/libcosmic']
|
||||
libcosmic-yoda = { path = "../libcosmic" }
|
||||
cosmic-config = { path = "../libcosmic/cosmic-config" }
|
||||
cosmic-theme = { path = "../libcosmic/cosmic-theme" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue