diff --git a/pdfmajor/__init__.py b/pdfmajor/__init__.py index ab562a6..d90dbf0 100644 --- a/pdfmajor/__init__.py +++ b/pdfmajor/__init__.py @@ -75,7 +75,7 @@ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ -__version__ = (1, 0, 7) +__version__ = (1, 1, 0) if __name__ == '__main__': print( diff --git a/pdfmajor/converters/XMLConverter.py b/pdfmajor/converters/XMLConverter.py index 73033eb..363873b 100644 --- a/pdfmajor/converters/XMLConverter.py +++ b/pdfmajor/converters/XMLConverter.py @@ -126,7 +126,7 @@ class XMLConverter(PDFConverter): } for key, value in char.font.descriptor.items(): if key != "Type" and "FontFile" not in key: - attr["font:" + key] = value + attr["font-" + key] = value with self.place_elm_with_child(tag_name, attr, no_additional_char=True): self.write(char.get_text(), lineend='', deep_space="") diff --git a/setup.py b/setup.py index 417c82e..a3c2f64 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ import sys with open('README.md') as readme_file: SETUP = { "name": "pdfmajor", - "version": "1.0.7", + "version": "1.1.1", "packages": find_packages(include=['pdfmajor*']), "install_requires": [ 'pycryptodome',