1 Commits
Author SHA1 Message Date
ari 7319b7f584 xml chars output bbx instead of width/height 2018-10-31 14:45:02 -04:00
2 changed files with 5 additions and 3 deletions

No files matched your search

+4 -2
View File
@@ -125,8 +125,10 @@ class XMLConverter(PDFConverter):
def place_text(self, char: LTChar): def place_text(self, char: LTChar):
with self.place_elm_with_child('char', { with self.place_elm_with_child('char', {
'width': char.width, 'x0': char.x0,
'height': char.height, 'x1': char.x1,
'y0': char.y0,
'y1': char.y1,
}, no_additional_char=True): }, no_additional_char=True):
self.write(char.get_text(), lineend='', deep_space="") self.write(char.get_text(), lineend='', deep_space="")
+1 -1
View File
@@ -10,7 +10,7 @@ import sys
with open('README.md') as readme_file: with open('README.md') as readme_file:
SETUP = { SETUP = {
"name": "pdfmajor", "name": "pdfmajor",
"version": "1.1.5", "version": "1.1.6",
"packages": find_packages(include=['pdfmajor*']), "packages": find_packages(include=['pdfmajor*']),
"install_requires": [ "install_requires": [
'pycryptodome', 'pycryptodome',