Record the failed inline ORCID bitmap experiment

This commit is contained in:
gloamxun committed 2026-10-19 19:17:30 +08:00
1 parent 4edd345a01
commit ae7e27116f
1 file changed
+6 -1
+6 -1
View File
@@ -68,7 +68,12 @@ the printpdf writer.
only. The title author-row renderer needs a positioned-image item that accepts an
x offset (the current `PositionedPageItem::Image` is pinned to x = 0) and a
small PNG/vector badge loaded from repository assets. The textual green `iD`
badge is the fallback until that image path exists.
badge is the fallback until that image path exists. An inline
`PositionedPageItem::Badge` experiment with a 256 px PNG was reverted:
genpdf emitted a 12x12 px (about 0.5 mm) image regardless of
`Image::with_scale`, so the badge was invisible. The next attempt should
either vendor printpdf's image writer or draw a vector rounded rectangle
with a white iD instead of going through `genpdf::elements::Image`.
### First-page paragraph break