mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-09 04:54:17 +00:00
A quad counts only when all 8 entries are present, numeric and finite. Anything else contributes nothing — never folded, shifted or zero-filled into a box the document does not describe. With no usable quad the existing /Rect fallback runs, and with neither the mark stays unreadable. The rule lives in one helper, geom::quad_points::usable_quads, and redact, render-inspect, annot summaries and annot appearance drawing all read through it, so the outline shown is the area apply removes. Redact also follows indirect numbers in /QuadPoints now, which it used to drop.
21 lines
540 B
TOML
21 lines
540 B
TOML
[package]
|
|
name = "pdfcraft-annot"
|
|
description = "Annotations (comments): builders, appearance streams and edits, ISO 32000-2 §12.5"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
pdfcraft-cos = { workspace = true }
|
|
pdfcraft-fonts = { workspace = true }
|
|
# The usable-quad rule `/QuadPoints` readers share.
|
|
pdfcraft-geom = { workspace = true }
|
|
pdfcraft-model = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
hayro-syntax = { workspace = true }
|