booktype / python-ooxml

Python library for parsing .docx (Office Open XML) files
GNU Affero General Public License v3.0
52 stars 24 forks source link

Used Font size #38

Open Zarif99 opened 2 years ago

Zarif99 commented 2 years ago

Hi guys! There is a minor error that I faced. I fixed it changing int to float. Please review and give response is it correct or not?

My suggestion firstly convert to float and after that convert to int ! https://github.com/booktype/python-ooxml/blob/b56990a5bee2e1bc46839cec5161ff3726dc4d87/ooxml/doc.py#L104

image

Thanks in advance.