IIIF / cookbook-recipes

For working on the recipes
https://iiif.io/api/cookbook/index.html
37 stars 32 forks source link

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

Open jbaiter opened 1 year ago

jbaiter commented 1 year ago

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

glenrobson commented 1 year ago

Glen to look into fixing this.