python-docx-template icon indicating copy to clipboard operation
python-docx-template copied to clipboard

RichText font size

Open Daniel-ltw opened this issue 1 year ago • 1 comments

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.

Daniel-ltw avatar Sep 17 '24 00:09 Daniel-ltw