xml chars output bbx instead of width/height

This commit is contained in:
ari committed 2018-10-31 14:45:02 -04:00
1 parent 5b641d6243
commit 7319b7f584
2 files changed
+5 -3

No files matched your search

+4 -2
View File
@@ -125,8 +125,10 @@ class XMLConverter(PDFConverter):
def place_text(self, char: LTChar):
with self.place_elm_with_child('char', {
'width': char.width,
'height': char.height,
'x0': char.x0,
'x1': char.x1,
'y0': char.y0,
'y1': char.y1,
}, no_additional_char=True):
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:
SETUP = {
"name": "pdfmajor",
"version": "1.1.5",
"version": "1.1.6",
"packages": find_packages(include=['pdfmajor*']),
"install_requires": [
'pycryptodome',