SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
In my full install of Slackware 9.1, Thai characters appear as hex boxes in all of my GTK 2 applications, more specifically, Gaim. (0.71)
All other characters tested (Japanese, Chinese, Korean...) display perfectly.
The only modifications I did to the full default 9.1 setup concerning fonts is adding my own personal font directory and compiling and reinstalling freetype-2.1.5 with the INTERPRETER on.
- In 9.0, Thai fonts displayed beautifully by default.
- In 9.0, I triend compiling and installing the latest Pango and GTK 2 libraries, but Thai language broke. (those hex boxes) So I tried installing only GTK 2 (by using the Pango with 9.0 instead of the latest) and Thai fonts worked.
- In 9.1, when I run Mozilla with xft support built in, Thai displays perfectly. When I run mozilla without xft support, Thai DOES display, but there are empty "boxes" where spaces should be.
- In 9.1, my GTK 2 applications (Gaim, gqview, gftp) will not display Thai, neither from Slackware nor compiled by me. They all used to in 9.0.
- I can run KDE in Thai mode. The whole system is in perfect Thai characters! So what's up with GTK not being able to find the same fonts?? Grrr...
...Is anyone else having trouble displaying Thai fonts in GTK 2 in 9.1? Or is any other language giving anyone else those hex boxes?
Please ask you need more info. I'm out of ideas on what is wrong! :'(
Yes, I have all the default font paths, along with my own person /usr/local/share/fonts path. So, not only did I install some Thai fonts in my own directory, but I should also be using the default Slackware Thai fonts. (the same that KDE uses, I guess)
The thing that boggles me is, I upgraded (a full reinstall) from 9.0 to 9.1 two days ago, and Thai fonts do not work by default like they did in 9.0. Are Thai fonts for GTK 2 really broken in 9.1, or did I mess something up so quickly just after a brand new install??
I don't generally have much need for Thai fonts, but I thought I'd check to see if this would be a problem on my 9.1 machine also. It is. I tried pasting text into gedit and got the hex boxes as you did. I also tried pasting into AbiWord and got little circles instead of Thai characters. They pasted perfectly into Kword. It doesn't seem like a problem with fontconfig because the characters display fine in Mozilla, which uses fontconfig. This one seems kind of odd.
I've been using Slackware since 8.0. I did a full install of Slackware 9.1 onto a clean harddisk on my Fujitsu P2110 laptop.
The problem was Thai language would not show up in GTK2 applications. Thai characters would appear as ugly hex boxes. All other languages show fine, including Japanese, Arabic, and Chinese characters. I have some Thai fonts on my computer, and Thai was working in 9.0.
After a lot of poking around, I found the problem lies in the Pango library. So, to make a yucky story short, pango-1.2.1 (9.0) displays Thai correctly and pango-1.2.5 (9.1) does not.
An easy solution is to install the 9.0 pango package into a 9.1 install. A better solution is to compile your own pango-1.2.1, because 9.1 has some extra font features that 9.0 didn't.
Sorry, it's kind of a yucky solution, but it works. Here's hoping for Slackware 10!