【问题标题】:Change Text Size Python更改文本大小 Python
【发布时间】: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 ...

【问题讨论】:

    标签: python text fonts


    【解决方案1】:

    我不知道你说的是不是这个,但你可以试试设置。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-08-20
      • 2016-07-29
      • 2011-08-18
      • 2015-09-14
      • 2022-09-10
      • 1970-01-01
      • 2021-08-25
      相关资源
      最近更新 更多