Skip to content

Optional OTF/TTF support #105

@polyzen

Description

@polyzen

pillow being mandatory would make upgrading to 2.0.0 pull in another 64 MiB of dependencies:

~ > sudo pacman -S python-pillow
...
Package (25)         New Version        Net Change  Download Size

extra/aom            3.13.1-2             9.16 MiB       2.91 MiB
extra/dav1d          1.5.3-1              1.78 MiB       0.63 MiB
extra/freetype2      2.14.1-2             1.66 MiB       0.53 MiB
extra/fribidi        1.0.16-2             0.24 MiB       0.07 MiB
extra/graphite       1:1.3.14-6           0.20 MiB       0.08 MiB
extra/harfbuzz       12.3.2-1             4.21 MiB       1.09 MiB
extra/jbigkit        2.1-8                0.16 MiB
extra/lcms2          2.18-1               0.68 MiB       0.22 MiB
extra/libavif        1.3.0-5              0.74 MiB       0.26 MiB
extra/libdeflate     1.25-1               0.14 MiB       0.06 MiB
extra/libimagequant  4.4.1-1              0.63 MiB       0.27 MiB
extra/libjpeg-turbo  3.1.3-1              2.42 MiB       0.56 MiB
extra/libraqm        0.10.4-1             0.18 MiB       0.03 MiB
extra/libtiff        4.7.1-1              1.26 MiB       0.38 MiB
extra/libwebp        1.6.0-2              1.04 MiB       0.32 MiB
extra/libxau         1.0.12-1             0.02 MiB       0.01 MiB
extra/libxcb         1.17.0-1             3.87 MiB       0.97 MiB
extra/libxdmcp       1.1.5-1              0.13 MiB       0.03 MiB
extra/libyuv         r2426+464c51a03-1    1.82 MiB       0.30 MiB
extra/openjpeg2      2.5.4-1             13.37 MiB       0.87 MiB
extra/rav1e          0.8.1-2              7.61 MiB       1.60 MiB
extra/svt-av1        4.0.1-1              5.26 MiB       1.93 MiB
extra/xcb-proto      1.17.0-4             1.03 MiB       0.13 MiB
extra/xorgproto      2025.1-1             1.47 MiB       0.24 MiB
extra/python-pillow  12.1.1-1             4.80 MiB       0.91 MiB

Total Download Size:   14.39 MiB
Total Installed Size:  63.87 MiB

This feature is probably pretty niche too -- maybe another demo in the readme would help expose it more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions