SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed all available fonts in the Slackware 10.0 cd.
Although Cyrillic fonts are also shown as installed I could never
see them rendered. A box with 4 numbers is displayed instead.
What should I do to see them??
Please help!
Thanks
Cem
I've done that right after I realized I have the problem.
Please note that all the fonts here are installed together with
everything during the installation, since I opted for full install.
1) Make sure you have included the path that contains your Cyrillic fonts in /etc/X11/xorg.conf.
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#
Do a "xfonsel" and play with "encdng" menu. You'll see that there are no fonts with cp125x on list. koi is also messed up. KDE and others further filter the list and you end up with no available cyrillic fonts to draw - chronic Slackware problem.
With all the hoopla about butiful Vera fonts, they are not unicode
You just need to get more TTF fonts with cyrillic in it.
If you have access to a "cyrillic-capable" computer, (and read some Russian)
- go http://fonts.gets.ru/
- download the Arial, Courier, Times sets (italic, bold, it-bold, normal)
- install in the ttf folder.
- See it they showup in xfontsel
- look at gorgeous fonts.
You are right about the cp125x encoding.
However, there is the "cronyx" font available with "r" encoding and
"koi8" registry.
Is it not Cyrillic? I can see Russian characters in the preview.
(But I cannot read Russian)
I will get new fonts and try them with xfontsel.
Thanks for the tip.
Cem
ADDITION:
Also I realized there are more KOI8 fonts already. They are visible
by the xfontsel. However, the "fc-list" command returns very small
subset of what is available at xfontsel.
I think KDE only uses the fonts which are visible through "fc-list".
Another point is, OpenOffice.org started working with the Russian
characters, although I have not installed any additional fonts yet...
Originally posted by cemer You are right about the cp125x encoding.
However, there is the "cronyx" font available with "r" encoding and
"koi8" registry.
Is it not Cyrillic? I can see Russian characters in the preview.
(But I cannot read Russian)
The thing is, before that font gets to the screen, it has to filter through the QT, KDE, and become a unicode page in the process. The problem is not the complete absence of cyrillic fonts, but that the bad ones (only that kind comes with slack by default) are filtered out through the process, or, display horribly.
I managed to make the built-in cyrillic fonts work once, but found the days spent on it wasted. I.e. Looking at a mixed eng-russian web page english letters and numbers are well scaled and antialiased (those were probably Vera), cyrillic is small, horrid and scales only in increments of 4-5 point. Ugh..
Installing external unicode fonts is really the only way to cyrillic happiness.
finally I solved the problem, but in an unexpected way:
I found some new fonts to install and installed to the X11 directory.
However, they did not work!
I started playing with KDE and saw the Fonts link between the
Devices and LAN Browser links. I decided to give it a try.
I copied fonts from the X11 directory to Personal fonts dir.
All fonts were copied automatically to .fonts and then I started
to see anything in Russian!...
Apparently installation into personal fonts directory is better
working than the installation into the X11 directory manually.
There is something missing in the installation to X11 via
"fc-cache, mkfontscale, mkfontdir", but I don't know what.
Afterwards, I removed all the NLS modules from the kernel
and rebooted. Nothing broken. Apparently I don't need the
NLS modules for a successful KDE environment.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.