broot icon indicating copy to clipboard operation
broot copied to clipboard

`vscode.ttf` font with Termux?

Open xfzv opened this issue 3 years ago • 2 comments

Placing vscode.ttf in ~/.local/share/fonts/ to get icons as documented here works just fine on my Arch Linux and Gentoo systems.

However, I can't get icons working on my Android phone with Termux (I installed broot with apt install broot):

image image

Am I missing something? Maybe broot is looking for vscode.ttf in ~/.local/share/fonts/ but the font file is actually in /data/data/com.termux/files/home/.local/share/fonts so it cannot find it?

I tried chmoding 777 the vscode.ttf file but it doesn't make any difference. ~/.local/share/fonts directory has 700 permissions like other directories.

Thanks.

xfzv avatar May 22 '22 08:05 xfzv

Termux is not supported by the icons feature.

asdf8dfafjk avatar Oct 14 '22 13:10 asdf8dfafjk

If you're too keen, find a way for termux to load external .ttf as a backup font (and please add to wiki). Basically .local/share/fonts is used for GUI display on linux, but on Android something else is used.

asdf8dfafjk avatar Oct 14 '22 13:10 asdf8dfafjk