python-docx-template
python-docx-template copied to clipboard
RichText font size
Describe your problem
Seem to have trouble getting defined font size to work with various applications when opening the rendered docx file.
More details about your problem
Tried specifying size as a integer. The text size seems to revert to 5 when opening the docx in various other applications, like Google Docs, Pages on osx and TextEdit on osx.
Tried specifying size as a string. The text size seems to revert to 5 when opening the docx in various other applications, like Google Docs, Pages on osx and TextEdit on osx.
Tried specifying size as "10 pt". This seems to work with Pages on osx.
Have had a look at the tests and size in that example is an integer, so not sure what I am doing wrong here.