diff options
| author | mbkma <[email protected]> | 2026-10-19 20:12:11 +0200 |
|---|---|---|
| committer | mbkma <[email protected]> | 2026-10-19 20:12:11 +0200 |
| commit | 20f12084e1ab82fa63b34632536f0d4f13a51f0e (patch) | |
| tree | a8ee614e8f5578312dfd88a51a8eba2799efa9da /install-scripts | |
| parent | ada8881ad8cc944f64c42a449469e60fc82228fb (diff) | |
| download | atril-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 'install-scripts')
0 files changed, 0 insertions, 0 deletions
