IIIF/cookbook-recipes

Mismatch between Canvas and OCR aspect ratio in "Basic Newspaper" recipe

Opened this issue · 1 comments

Page 1 of the first sample newspaper is fine, but on page 2, there's a mismatch in aspect ratio between canvas and OCR that leads to broken rendering (mirador-textoverlay and pdiiif) as well as misaligned content search annotations.

Canvas:
w=3602, h=5000, ar=0.72040

https://github.com/IIIF/cookbook-recipes/blob/master/recipe/0068-newspaper/newspaper_issue_1-manifest.json#L110-L111

OCR:
w=3536, h=4999, ar=0.70734

https://github.com/IIIF/cookbook-recipes/blob/master/recipe/0068-newspaper/newspaper_issue_1-alto_p2.xml#L17

Glen to look into fixing this.