<table><tr><td style="">tobiasdeiminger edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ebigsloquuxt7fi/" rel="noreferrer">(Show Details)</a><br />tobiasdeiminger edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-hdrt7hhiw23idzg/" rel="noreferrer">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9615" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>I'd consider it only as partial fix. Poppler forces us to use 24x24 pts, else we'd never get a match. Poppler [[ https://cgit.freedesktop.org/poppler/poppler/tree/poppler/Annot.cc?h=poppler-0.62.0#n2469 | silently ignores ]] what applications set in Poppler::Annotation::setBoundary. This should IMHO get fixed at Poppler side, or at least it should be clarified why forcing 24x24 pts was necessary<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">. The [[ http://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/PDF32000_2008.pdf | PDF standard ]] just says "readers shall provide predefined icon appearances for standard names: Comment, Key, Note, Help, NewParagraph, Paragraph, Insert" [12.5.6.4]. It doesn't say anything about a predefined size. It says, the /Rect entry defines position and size [12.5.2, 12.5.3]</span>.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;">Add TextAnnotations (the ones from the top entry of the annotation toolbar) to PDF documents with various page sizes (e.g. A3, A4, letter, ...).<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">  # </span>Select the icon by left-click. The size of the drawn rectangle shall match with the rendered icon.<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">  # </span>Move the icon around by left-click + dragging.<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> The size of the drawn rectangle shall match with the rendered icon.<br />
<br />
Open [[ https://bugs.kde.org/attachment.cgi?id=109223 | a file with externally created ]] (e.g. LaTeX) text annotation,</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">The size of the drawn rectangle shall match with the rendered icon</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">and repeat steps from above</span>.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9615" rel="noreferrer">https://phabricator.kde.org/D9615</a></div></div><br /><div><strong>To: </strong>tobiasdeiminger, Okular<br /><strong>Cc: </strong>Okular, michaelweghorn, gassaf, ngraham, aacid<br /></div>