You are not logged in.

#1 2015-07-02 12:41:17

t0m5k1
Member
From: overthere
Registered: 2012-02-10
Posts: 326

[SOLVED] font/unicode problem

I appear to have a font issue which has me perplexed & so I hope someone can shed light on what I have done wrong here

I use a different unicode font for each workspace within awesomeWM as you can see in this rc.lua:

https://gist.github.com/t0m5k1/f3ca055dd92addac16ac

however when I log in I see the following:

1HEivjy.png

my locale is setup:

┌─(t0m5k1@b0x-pts/0)-(jb:0)-(502)-(13:18:02/07/15) 
└─>($:~) 
└─>>locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

locale.conf:

┌─(t0m5k1@b0x-pts/0)-(jb:0)-(503)-(13:37:02/07/15) 
└─>($:~) 
└─>>cat /etc/locale.conf
LANG=en_GB.UTF-8
LC_COLLATE=C

I am really stumped as to what I have done wrong or missed! even when I try to look at unicode fonts within character map it just shows the code for the font.

Thanks in advance for any & all advice

Last edited by t0m5k1 (2015-07-04 15:10:11)


Aurora R10 (0TYR0X) - Ryzen 7 5800X - 16GB - RX6700XT 12GB - Hyprland (occasionally XFCE) - AOC Q27G3XMN 1440P
EFI Stub Boot
PROUD XLIBRE USER
Linux User: 401820  Steam-Reddit

Offline

#2 2015-07-02 13:35:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] font/unicode problem

It should say 'at your service', but I don't see what's the problem you're talking about. Fonts becoming bold?
Post your prompt setup.

Offline

#3 2015-07-02 13:58:38

t0m5k1
Member
From: overthere
Registered: 2012-02-10
Posts: 326

Re: [SOLVED] font/unicode problem

thanks for the grammatical correction, that is why it is there ...to anger the grammar cops wink
problem in terminal & WM

┌─(t0m5k1@b0x-pts/0)-(jb:0)-(511)-(14:57:02/07/15) 
└─>($:~) 
└─>>cat .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# don't put duplicate lines in the history. See bash(1) for more options
#export HISTCONTROL=ignoredups
# append to the history file, don't overwrite it
shopt -s histappend

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" -a -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
#case "$TERM" in
#xterm-color)
#
#PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$
#'
#    ;;
#*)
#    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
#    ;;
#esac

# Comment in the above and uncomment this below for a color prompt
#PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
#PS1='\[\033[01;32m\]\u\[\033[01;34m\]@\[\033[01;31m\]\h\[\033[00;34m\]-jb:\l{\[\033[01;34m\]\w\[\033[00;34m\]}\[\033[01;32m\]:\[\033[00m\]'
#PS1="┌─[\[\e[31;1m\]\u\[\033[01;34m\]@\[\e[32;1m\]\H\[\033[1;37m\]]\[\033[1;37m\]-[jb:\j] \n\[\033[1;37m\]└─>[\[\033[0;36m\]\w\[\033[1;37m\]] \[\e[0m\]\n\[\033[1;37m\]└─>>"
PS1="┌─\[\e[32;1m\](\[\e[31;1m\]\u\[\033[1;37m\]@\[\e[0;36m\]\H\[\033[1;37m\]-pts/\[\e[0;36m\]\l\[\e[32;1m\])\[\033[1;37m\]-\[\e[32;1m\](\[\e[31;1m\]jb\[\033[1;37m\]:\[\e[0;36m\]\j\[\e[32;1m\])\[\033[1;37m\]-\[\e[32;1m\](\[\e[31;1m\]\!\[\e[32;1m\])\[\033[1;37m\]-\[\e[32;1m\](\[\e[31;1m\]\A\[\033[1;37m\]:\[\e[0;36m\]\D{%d/%m/%y}\[\e[32;1m\]) \n\[\033[1;37m\]└─>\[\e[32;1m\](\[\e[31;1m\]\$\[\033[1;37m\]:\[\033[0;36m\]\w\[\e[32;1m\]) \[\e[0m\]\n\[\033[1;37m\]└─>>"
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"'
    ;;
*)
    ;;
esac

# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ]; then
    export LS_OPTIONS='--color=auto'
    eval `dircolors -b`
fi

#-----------------------
# Greeting, motd etc...
#-----------------------

# Define some colors first:
red='\e[0;31m'
RED='\e[1;31m'
blue='\e[0;34m'
BLUE='\e[1;34m'
cyan='\e[0;36m'
CYAN='\e[1;36m'
NC='\e[0m'              # No Color
# --> Nice. Has the same effect as using "ansi.sys" in DOS.

# Looks best on a black background.....
echo -e "${CYAN}Hello ${USER}, Bash ${RED}${BASH_VERSION%.*}${CYAN} at you're service
 you are currently veiwing ${HOSTNAME}${RED}$DISPLAY${NC}\nToday's date is:${NC}"
date
if [ -x /usr/games/fortune ]; then
    /usr/games/fortune -s     # makes our day a bit more fun.... :-)
fi

function _exit()	# function to run upon exit of shell
{
    echo -e "${RED}Hasta la vista, baby${NC}"
}
trap _exit EXIT
# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ]; then
    eval "`dircolors -b`"
    alias ls='ls -hF --color=auto' # add colors for filetype recognition
fi

# Less Colors for Man Pages
export LESS_TERMCAP_mb=$'\E[01;31m'       # begin blinking
export LESS_TERMCAP_md=$'\E[01;38;5;74m'  # begin bold
export LESS_TERMCAP_me=$'\E[0m'           # end mode
export LESS_TERMCAP_se=$'\E[0m'           # end standout-mode
export LESS_TERMCAP_so=$'\E[38;5;246m'    # begin standout-mode - info box
export LESS_TERMCAP_ue=$'\E[0m'           # end underline
export LESS_TERMCAP_us=$'\E[04;38;5;146m' # begin underline

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ "$TERM" != "dumb" ]; then
    eval "`dircolors -b`"
    alias ls='ls --color=auto'
    alias dir='ls --color=auto --format=vertical'
    alias vdir='ls --color=auto --format=long'
fi

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi
##functions
#
if [ -f ~/.bash_functions ]; then
    . ~/.bash_functions
fi
#
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi

Last edited by t0m5k1 (2015-07-02 13:59:10)


Aurora R10 (0TYR0X) - Ryzen 7 5800X - 16GB - RX6700XT 12GB - Hyprland (occasionally XFCE) - AOC Q27G3XMN 1440P
EFI Stub Boot
PROUD XLIBRE USER
Linux User: 401820  Steam-Reddit

Offline

#4 2015-07-04 15:09:51

t0m5k1
Member
From: overthere
Registered: 2012-02-10
Posts: 326

Re: [SOLVED] font/unicode problem

Still unsure what the cause of this was so I copied over known working configs & fonts from my laptop to my PC & now all is working.

For those wondering there are no log files mentioned here because the only log file that mentioned fonts was xorg.0.log & it is still complaining now so as to what was causing the fonts to not display I don't know.


Aurora R10 (0TYR0X) - Ryzen 7 5800X - 16GB - RX6700XT 12GB - Hyprland (occasionally XFCE) - AOC Q27G3XMN 1440P
EFI Stub Boot
PROUD XLIBRE USER
Linux User: 401820  Steam-Reddit

Offline

Board footer

Powered by FluxBB