# Visual Parity Demo

This demo converts pages 1 through 5 of the catalog into browser-native fixed-layout HTML using pdf2htmlEX on the `debian1` buildbox. Heavy conversion does not run on the laptop.

The generated page contains real positioned DOM text, extracted web fonts, CSS, and visual assets. It does not embed or display the source PDF.

## Build

```bash
./demo/build.sh
```

## View

```bash
python3 -m http.server 4173 --directory demo/pdf2html
```

Then open `http://127.0.0.1:4173/`.

## Current limitations

- The HTML is fixed-layout rather than reflowed.
- Semantic heading and paragraph tags have not yet been aligned with the visual text runs.
- Some malformed or custom font glyph mappings can produce incorrect searchable characters.
- Non-text page artwork is consolidated into page background assets by pdf2htmlEX.
- The pinned converter image is suitable for this isolated POC, not yet approved as a production dependency.
