summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
authormbkma <[email protected]>2026-10-19 20:12:11 +0200
committermbkma <[email protected]>2026-10-19 20:12:11 +0200
commit20f12084e1ab82fa63b34632536f0d4f13a51f0e (patch)
treea8ee614e8f5578312dfd88a51a8eba2799efa9da /libview
parentada8881ad8cc944f64c42a449469e60fc82228fb (diff)
downloadatril-sign.tar.bz2
atril-sign.tar.xz
signing: fix black signature field with poppler < 24.12sign
Since poppler 24.12 the PopplerColor channels of PopplerSigningData are scaled from 16 bit to [0, 1]. Older versions pass them unscaled to AnnotColor, which expects [0, 1], so any value above 1 resulted in a black signature field. Scale by 65535 on newer poppler and round each channel to 0 or 1 on older versions.
Diffstat (limited to 'libview')
0 files changed, 0 insertions, 0 deletions