On Sat, Aug 24, 2019 at 09:33:57PM +0300, Գասպար Վարդանյան 
<gaspar.vardanyan.mail...@gmail.com> wrote:
> FontAwesome doesn't work in urxvt (1st window), but works in xst terminal 
> (2nd window): https://imgur.com/a/HkcWalq
> There are some patches fixing that bug: 
> https://aur.archlinux.org/packages/?O=0&K=rxvt-unicode

The most common reason for such font problems is that such fonts often
use the private use area for their own glyphs and magically expect them
to work - which both clashes with urxvt's own use of that area and also
with your locale, because it doesn't know the character widths of these
codepoints, as they are not officially assigned. It can accidentally work
with other terminals that are less picky about unicode support (xterm
for example ignores locale settings and hardcodes these widths), but the
underlying problem is the that this is a hack and bad design.

For example, websites that use font awesome don't render correctly for me
in firefox either, which has similar (but different) problems with this
hack - a major nuisance for me, but not a bug in firefox, but in font
awesome. My (web surfing) life would surely be improved if font awesome
were fixed :)

The solution would be to fix font awesome to properly implement
locale/unicode support, or not use such a badly hacked font.

In any case, if there is a choice between good font localisation support
in urxvt and font awesome, the former has to win, because locale support
is the whole reason for urxvts existance.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schm...@schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
rxvt-unicode mailing list
rxvt-unicode@lists.schmorp.de
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to