supernote-typescript

What the device drew, and what we drew

Every fixture that ships with Supernote's own PDF export, page by page: the device's vector ink, the library's vector-ink SVG, and the library's vector-ink PDF. The first two panes are ink only (background removed) so they compare like-for-like; the PDF pane shows the full page as a real export.

17 fixtures44 pagesbuilt from tests/input

line-n5-20260016-ruler-tool

The ruler tool — the only fixture producing stroke_kind "straightLine".

p1p2p3

erase-n6-20230015-horizontal-1270

Erasing, with the tightest ground truth here — its PDF names stroke by stroke what survived.

p1

ink-a5x-2.14.28-old-pen-width

The older ink pen (pen=1), and a rare 1:1 export — 146 filled outlines for 146 decoded strokes.

p1

caligraphy-n5-20260016-widths-erase

The calligraphy pen at three width settings; page 4 is a page erased down to one word.

p1p2p3p4

stroke-n5-20260016-isolation-tools-colors-widths

One variable per page: page 2 the pen tools, page 3 colours, page 4 width settings, page 5 marker black and white.

p1p2p3p4p5

erase-n5-20260016-white-pen-cover

Erasing with a white pen rather than the eraser tool. Page 4 is the control, dark ink only.

p1p2p3p4

erase-n5-20260016-mixed-colors

Grey marker bands through black pen writing, then erased. Page 1 is the control, no erasers.

p1p2

erase-n5-20260016-all-mechanisms

Every erase mechanism on one page, plus white-ink cover-ups.

p1

erase-n5-20260016-no-white-pen

Four pens, every stroke erased, no white-ink cover-ups.

p1

heading-n5-20260016-backgrounds-marker

The Heading feature — four background styles — separated from the marker tool.

p1p2p3

sticker-n5-20260016-plugin-artwork

The sticker plugin — artwork placed as ordinary stroke records, in a shape the centreline model cannot express.

p1p2p3

turkish-a6x-20230015-handwriting-erase

Dense handwriting with erasures throughout, then rewritten in place.

p1

blank-a6x-3.15.27-shapes-rtr

Shapes, patterns, Headings and keyword highlighting.

p1

blank-a6x-3.26.40-two-pages

An export that draws nothing at all, on either of its pages.

p1p2

link-n6-3.26.40-partial-erase-3p

Partial erasing — the one firmware that splits a stroke instead of removing it, and stores what it left behind.

p1p2p3

test-a5x-20220011-old-pen-ids

The oldest file here (SN_FILE_VER_20220011, A5X) — the only one on the older ids: ink pen 1, marker 5, and colours stored as palette ids rather than greys.

p1p2

textbox-n5-20260016-digest

Text boxes and a Digest, whose content is raster-only rather than TOTALPATH ink.

p1p2p3p4p5p6p7