You are not logged in.
Hey guys!
This isn't really a testing/unstable question (except for maybe the xterm version), but is there a way to get xterm to display Kannada correctly? I have the correct fonts installed (in fact, I have every single font package installed lol
), and gnome-terminal and terminator kind of display Kannada as best as they can. I've tried uxterm which gives boxes (an improvement over simply nothing!), lxterm which calls uxterm, and koi8term which gives me something which looks like Russian. xterm is perfect in every other way. Any ideas?
Thanks in advance!
- Chaanakya
Last edited by chaanakya (2011-06-22 14:00:42)
Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1
Offline
Did you change the font for xterm? If the setting the regular font does not work, maybe you need to set the wideFont too. Heres an example of my font settings in ~/.Xdefaults:
xterm*font: -*-terminus-medium-*-12-*
xterm*wideFont: -misc-fixed-medium-r-normal-ja-13-120-75-75-c-120-iso10646-1Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
Well...I set my default terminal font to terminus, so the first part is not necessary...I'll check out the WideFont setting and report back.
Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1
Offline
Hmmm...apparently Terminus does not support the Kannada glyphs??
Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1
Offline
That is correct.
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
Could I force xterm to load the kannada fonts I have on my system as backup fonts for those specific glyphs?
Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1
Offline
If possible, I don't know how. Did you try using an alternate for wideFont?
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
No, that's the next thing I'm going to try...it might help...
Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1
Offline
If all hope is lost, pull a MacGuyver: http://fontforge.sourceforge.net/
I'm so meta, even this acronym
Offline
Well...I got *some* kind of Kannada working - I used unifont. The only problem is that unifont is not fixed width, which means big problems with everything else :'(
Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1
Offline
You might try urxvt instead of xterm. It works well for me with Japanese fonts.
John
--------------------
( a boring Japan blog , and idle twitterings )
Offline
Thank you!!! That works perfectly!!
Marking thread as solved! 
Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1
Offline
Hmmm...related question...I've setup a script /usr/bin/urxvt.real which just calls urxvt with the correct font size and all. The first time urxvt.real is run (called from a keyboard shortcut to x-terminal-emulator), it shows boxes where the Kannada characters should be. However, any new instance opened from within the first instance open just fine. What could be the cause?
I've included my .bashrc here for examination:
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
#Add DirB fuctions
source ~/.bashDirB
# 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
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
# 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 "$(SHELL=/bin/sh lesspipe)"
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -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) color_prompt=yes;;
esac
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
force_color_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi
BLUE='34m'
WHITE='37m'
CYAN='36m'
YELLOW='33m'
BLACK='30m'
RED='31m'
GREEN='32m'
VIOLET='35m'
if [ "$color_prompt" = yes ]; then
#PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
#PS1="$FRED[${debian_chroot:+($debian_chroot)}$FRED\u$FWHT@$FCYN\h$FRED] $FBLE\w$FWHT\\$ $FGRN"
PS1='\[\e[$RED\]┌─[\[\e[$BLUE\]\u@\t\[\e[$RED\]] \n└─[\[\e[$WHITE\]\W\[\e[$GREEN\]]>> '
PS2="\[\e[$RED\]>>>>>>>> \[\e[$GREEN\]"
else
#PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
PS1="[ ${debian_chroot:+($debian_chroot)}\u@\h: \w ]\\$ "
PS2=">> "
fi
unset color_prompt force_color_prompt
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
*)
;;
esac
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# 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 [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
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 ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
export PATH=$PATH:/home/chiraag/scripts:/usr/sbin:/sbin
export LADSPA_PATH=/usr/lib/ladspa
export EDITOR=/home/chiraag/scripts/emacs
export BROWSER=/usr/bin/conkeror
export LANG=kn_IN.utf8
export LANGUAGE=kn_IN.utf8
~/scripts/hello
echo Date: `date "+%a, %B %d, %Y"`
echo -e \\n
echo Time: `date "+%H:%M:%S"`
echo -e \\n
echo Battery level: `/home/chiraag/scripts/battery.sh`%
echo -e \\n
echo `ddate`
echo -e \\n
export AWT_TOOLKIT=MToolkitCheck out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1
Offline
Why not use ~/.Xdefaults to specify the default font?
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
Would that work for urxvt??
Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1
Offline
Of course.
urxvt*font: xft:Terminus:pixelsize=9Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
I'll give that a try.
Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1
Offline
Did you install the Kannada fonts?
http://packages.debian.org/search?keywo … nada-fonts
You can also install debian in Kannada from the beginning,
Desktop: Atom 1.6 || 1 MB RAM || 160 GB HD
Minimal Squeeze || icewm/fluxbox/ratpoison
KISS = Keep It Simple, Stupid
Offline
Yes, I have installed literally *every* single font available from the Debian repos 
Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.