Hiptext UTF8 block element rendering!
Provides almost double the resolution by using the unicode upper block character, "▀", and setting its colour as with the fg colour and the missing space below it with the bg colour. Clever stuff.
This commit is contained in:
parent
e9f5124a45
commit
65e0d7c87f
|
@ -16,7 +16,10 @@ RUN apk --no-cache add --virtual build-dependencies \
|
|||
&& mkdir -p build \
|
||||
&& cd build \
|
||||
|
||||
# Need glibc for locale support
|
||||
# Need glibc for locale support, not that any UTF8 locales work :/
|
||||
# This PR seems to be the most relevant: https://github.com/andyshinn/alpine-pkg-glibc/issues/13
|
||||
# Note that we're currently having to use this hack in hiptext because of alpine's poor locale support:
|
||||
# https://github.com/tombh/hiptext/commit/bc502af5f6e3b622a9b53d1ffb9a40e74d968ae3
|
||||
&& wget -q -O /etc/apk/keys/andyshinn.rsa.pub https://raw.githubusercontent.com/andyshinn/alpine-pkg-glibc/master/andyshinn.rsa.pub \
|
||||
&& wget https://github.com/andyshinn/alpine-pkg-glibc/releases/download/2.23-r1/glibc-2.23-r1.apk \
|
||||
&& apk --no-cache add glibc-2.23-r1.apk \
|
||||
|
@ -25,7 +28,7 @@ RUN apk --no-cache add --virtual build-dependencies \
|
|||
# Watch: https://github.com/jart/hiptext/pull/27
|
||||
&& git clone https://github.com/tombh/hiptext \
|
||||
&& cd hiptext \
|
||||
&& git checkout ffmpeg-updates \
|
||||
&& git checkout ffmpeg-updates-and-unicode-hack \
|
||||
&& make \
|
||||
# Alpine's version of `install` doesn't support the `--mode=` format
|
||||
&& install -m 0755 hiptext /usr/local/bin \
|
||||
|
|
Loading…
Reference in a new issue