Closed dtbaker closed 1 year ago
Hello,
If I add this to the Dockerfile
and re-built, the output image gets a bit nicer:
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
but still missing a few characters
The textimg Dockerfile uses MyricaM as the font. https://github.com/jiro4989/textimg/blob/32e541eaf37f472bb1342454fd2f383c6e066d08/Dockerfile#L31
Maybe, the character is missing because the font file does not contain that character.
Please add another fonts and overwrite the environment variable TEXTIMG_FONT_FILE
.
Thank you for the suggestion.
I tried: DejaVuSansMono.ttf
Then NotoMono-Regular.ttf
And NotoSansCJK-Regular.ttc
And also Hack-Regular.ttf
Does the attached file work with any font you have by chance? bpytop.txt
Have you come across any other similar tools to this that I can try as well to see if they have the same problem?
Thank you very much.
Does the attached file work with any font you have by chance?
I tried it, but the characters were missing.
Have you come across any other similar tools to this that I can try as well to see if they have the same problem?
I have never tried other tools. ImageMagick
will be a similar tool.
The missing characters (⢠⡀
) will be Braille.
For example, it will be drawn when I use a font that contains only Braille.
So this is a font issue.
Describe the bug
It seems some characters are missing during the conversion.
To Reproduce
Build docker image locally on Raspberry Pi:
Install tmux and bpytop tools
Capture bpytop output into
bpytop.txt
file:Use docker to convert output to image:
Screenshots or Logs
Environment (please complete the following information)
Additional context
Attached:
bpytop.txt