91861 / wayst

A simple terminal emulator
MIT License
287 stars 9 forks source link

Font awesome 5 rendering issues #37

Closed freed00m closed 3 years ago

freed00m commented 4 years ago

Hi,

Cannot make the Font awesome 5 to work on wayst.

The top is alacritty and wayst rendering is the other.

2020-07-18-155408_selection

This didn't work in any version so it's not a regression.

Using this.

font="Terminus"
font-fallback="Font Awesome 5 Free Regular"
font-fallback2="Font Awesome 5 Free Brands"
font-size=14

If you feel like reproducing it exactly in LF file manager, there is my custom LF_ICONS variable with a set icons configuration option ~/.config/lf/lfrc

export LF_ICONS="di=:fi=:ln=:or=:*.c=:*.cc=:*.clj=:*.csv=:*.doc=:*.docx=:*.tex=:*.txt=:*.bib=:*.bbl=:*.xls=:*.xlsx=:*.coffee=:*.cpp=:*.cxx=:*.cp=:*.c++=:*.css=:*.less=:*.sass=:*.scss=:*.styl=:*.d=:*.dart=:*.erl=:*.exs=:*.fs=:*.go=:*.h=:*.hh=:*.hpp=:*.hs=:*.html=:*.htm=:*.slim=:*.sln=:*.suo=:*.ejs=:*.java=:*.jl=:*.js=:*.jsx=:*.vue=:*.json=:*.lua=:*.md=:*.markdown=:*.php=:*.pl=:*.pro=:*.py=:*.rb=:*.rs=:*.scala=:*.ts=:*.vim=:*.viminfo=:*.vimrc=:*.key=:*.lock=:*.pem=:*.pub=:*.pgp=:*.gpg=:*.sig=:*.kdbx=:*.cmd=:*.ps1=:*.sh=:*.bin=:*.bash=:*.zsh=:*.fish=:*.tar=:*.tgz=:*.arc=:*.arj=:*.taz=:*.lha=:*.lz4=:*.lzh=:*.lzma=:*.tlz=:*.txz=:*.tzo=:*.t7z=:*.zip=:*.z=:*.dz=:*.gz=:*.lrz=:*.lz=:*.lzo=:*.xz=:*.zst=:*.tzst=:*.bz2=:*.bz=:*.tbz=:*.tbz2=:*.tz=:*.deb=:*.dmg=:*.rpm=:*.jar=:*.war=:*.ear=:*.sar=:*.rar=:*.alz=:*.ace=:*.zoo=:*.cpio=:*.7z=:*.rz=:*.cab=:*.wim=:*.swm=:*.dwm=:*.esd=:*.psd=:*.psb=:*.xcf=:*.kra=:*.jpg=:*.jpeg=:*.mjpg=:*.mjpeg=:*.gif=:*.bmp=:*.pbm=:*.pgm=:*.ppm=:*.tga=:*.xbm=:*.xpm=:*.tif=:*.tiff=:*.png=:*.svg=:*.svgz=:*.mng=:*.pcx=:*.mov=:*.mpg=:*.mpeg=:*.m2v=:*.mkv=:*.webm=:*.ogm=:*.mp4=:*.m4v=:*.mp4v=:*.vob=:*.qt=:*.nuv=:*.wmv=:*.asf=:*.rm=:*.rmvb=:*.flc=:*.avi=:*.fli=:*.flv=:*.gl=:*.dl=:*.xwd=:*.yuv=:*.cgm=:*.emf=:*.ogv=:*.ogx=:*.aac=:*.au=:*.flac=:*.m4a=:*.mid=:*.midi=:*.mka=:*.mp3=:*.mpc=:*.ogg=:*.ra=:*.wav=:*.oga=:*.opus=:*.spx=:*.xspf=:*.epub=:*.pdf=:*.nix=:"
freed00m commented 3 years ago

With following settings,

font-symbol = [
    "Font Awesome 5 Brands Regular:-5",
    "Font Awesome 5 Free Solid:-5",
    "Font Awesome 5 Free Regular:-5"
]

Rendering works almost perfectly with Terminus font.

One problem is that icons leave blue line of pixels behind. Will create new issue for the rendering issue.

2020-10-06-160748_selection