As a last step, downgrade to PAGE 2018 to support PAGE Viewer

pull/27/head
Gerber, Mike 5 years ago
parent cf2b4de2a0
commit be5750f4e1

@ -119,6 +119,15 @@ page_workaround_remove_conf() {
done done
} }
page_downgrade_to_2018() {
filegrp=$1
local file
for file in `ocrd workspace find -G $filegrp`; do
sed -i 's#pagecontent/[0-9-]*#pagecontent/2018-07-15#g' $file
done
}
do_fontident do_fontident
do_validate do_validate
@ -140,4 +149,8 @@ page_fix_image_references OCR-D-OCR-TESS
page_validate_xml OCR-D-OCR-TESS page_validate_xml OCR-D-OCR-TESS
do_validate do_validate
# As a last step, downgrade to PAGE 2018 to support PAGE Viewer
page_downgrade_to_2018 OCR-D-OCR-TESS
do_validate
# vim:tw=120: # vim:tw=120:

Loading…
Cancel
Save