Use appearance stream to render locked annotations (bug 1723568)

This commit is contained in:
Calixte Denizet 2023-03-07 12:58:59 +01:00
parent e11371c75f
commit 8db77cc361
4 changed files with 26 additions and 1 deletions

View file

@ -2621,6 +2621,9 @@ class AnnotationLayer {
let zIndex = 0;
for (const data of annotations) {
if (data.noHTML) {
continue;
}
if (data.annotationType !== AnnotationType.POPUP) {
const { width, height } = getRectDims(data.rect);
if (width <= 0 || height <= 0) {