replace `PrintSpace` with `Border`

fix https://github.com/qurator-spk/eynollah/issues/15
pull/19/head
Clemens Neudecker 3 years ago committed by GitHub
parent 70d0b985a9
commit 306acd3618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1284,7 +1284,7 @@ class eynollah:
# create the file structure
pcgts, page = create_page_xml(self.image_filename, self.height_org, self.width_org)
page_print_sub = ET.SubElement(page, "PrintSpace")
page_print_sub = ET.SubElement(page, "Border")
coord_page = ET.SubElement(page_print_sub, "Coords")
coord_page.set('points', self.calculate_page_coords())
@ -1527,7 +1527,7 @@ class eynollah:
# create the file structure
pcgts, page = create_page_xml(self.image_filename, self.height_org, self.width_org)
page_print_sub = ET.SubElement(page, "PrintSpace")
page_print_sub = ET.SubElement(page, "Border")
coord_page = ET.SubElement(page_print_sub, "Coords")
coord_page.set('points', self.calculate_page_coords())

Loading…
Cancel
Save