diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2020-12-01 19:48:45 +0100 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2020-12-01 19:48:45 +0100 |
commit | cbfbe782993f041872b1cd6388941242697549da (patch) | |
tree | b064e4026e58e1a1953550480527af0bfb4b386a | |
parent | 9b83579ad19e3f9e59e88c38c92552ba8370a20c (diff) |
feat(anzeigetafel): use unifont pcf font
This *should* contain more codepoints than the truetype font, however the desired effect hasn't been achieved: we still have no emojis. I suspect this is an issue with PIL's ImageFont. However I haven't confirmed that the pcf in fact does contain these glyphs.
-rw-r--r-- | default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/default.nix b/default.nix index 6a3787d..b8d63d0 100644 --- a/default.nix +++ b/default.nix @@ -89,7 +89,7 @@ rec { sed -i "s/version = '.*'/version = '${version}'/" setup.py - sed -i 's|FONT =.*$|FONT = "${unifont}/share/fonts/truetype/unifont.ttf"|' anzeigetafel.py + sed -i 's|FONT =.*$|FONT = "${unifont}/share/fonts/unifont.pcf.gz"|' anzeigetafel.py ''; }; in python3.pkgs.callPackage drv { }; |