Skip to content

Releases: MeetWq/pil-utils

v0.2.2

30 Nov 05:02
Compare
Choose a tag to compare

What's Changed

  • add msvc-runtime dependency for windows 6192f1f

Full Changelog: v0.2.1...v0.2.2

v0.2.1

04 Nov 11:46
Compare
Choose a tag to compare

What's Changed

  • fix line break in bbcode text 627295b

Full Changelog: v0.2.0...v0.2.1

v0.2.0

02 Nov 06:18
Compare
Choose a tag to compare

What's Changed

  • use skia-python to render text by @MeetWq in #7

Full Changelog: v0.1.12...v0.2.0

已知问题

  • Windows 上 SkIcuLoader: datafile missing

由于 skia 在 Windows 上需要加载 icudtl.dat 文件,临时解决办法是手动将缺失的 icudtl.dat 文件放到 Python 环境里

icudtl.dat 文件下载:https://github.com/MeetWq/pil-utils/releases/download/v0.2.0/icudtl.dat

请放置到 Python 包目录下,即 Lib\site-packages 文件夹下

相关 Issue:kyamagu/skia-python#268

  • Linux 下字体异常

可能是 skia 的 bug,在 Linux 上当 locate 设置为中文时,字体选择会出现异常

临时解决办法是设置为英文 locate:

export LANG=en_US.UTF-8

相关 Issue:rust-skia/rust-skia#963