- using dash instead of colin for font attributes in xml conv
- v1.1.1
This commit is contained in:
1 parent
97928f7bc5
commit
0916e3a84c
3 files changed
+3
-3
No files matched your search
@@ -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(
|
||||
|
||||
@@ -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="")
|
||||
|
||||
|
||||
Reference in new issue
Block a user