mirror of
				https://github.com/qurator-spk/ocrd-galley.git
				synced 2025-10-30 18:54:14 +01:00 
			
		
		
		
	✨ As a last step, downgrade to PAGE 2018 to support PAGE Viewer
This commit is contained in:
		
							parent
							
								
									cf2b4de2a0
								
							
						
					
					
						commit
						be5750f4e1
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		|  | @ -119,6 +119,15 @@ page_workaround_remove_conf() { | |||
|   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_validate | ||||
|  | @ -140,4 +149,8 @@ page_fix_image_references   OCR-D-OCR-TESS | |||
| page_validate_xml           OCR-D-OCR-TESS | ||||
| 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: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue