【发布时间】:2021-08-28 15:23:27
【问题描述】:
当我从 libre office 或 word 复制例如文本时,它会复制字体和字体大小,有没有办法可以在 python 中输入我的文本并更改这些参数?例如,我想将字体大小增加为 5,因此文本大小为 10 的文本将是 15 pt ...
# Here an example
def increment(text, increment_size):
# Should return the text, but the font size incremented of the value inputed ...
【问题讨论】: