LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-06-2005, 01:21 PM   #1
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Default fonts in Slack not UTF-8 compatible?


Well the subject says it all.. Am i doing something wrong, or are the default fonts that come with slackware not UTF-8 compatible?

I used to read alot of languages before the clean install.. But now, i can't read arabic, chinese, japanese, german, hebrew, (the list might be long, but i stopped here). All i see are the typical boxes with HEX in them.

The fonts i have installed are,
x11-fonts-misc
x11-fonts-scale,

and my xorg looks like so
Code:
    
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
Don't know if they all exist or are full though... (should i?)

Are these the only fonts i have, which X and all other X related apps use? Are they TTF? And are there any better looking ones that are TTF and UTF-8/16 compatible?

Cheers
 
Old 07-06-2005, 03:03 PM   #2
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 30
I had to install fonts on both my desktop and my laptop in order to be able to display/input Japanese.
 
Old 07-06-2005, 05:03 PM   #3
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
I can understand that for Japanese, but what about German, Arabic and Hebrew?

Shouldn't any font do the trick if it supports UTF-8 ?
 
Old 07-06-2005, 07:37 PM   #4
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 30
Arabic and Hebrew were fixed with the same font I installed for Japanese. No problem with German, however; it worked out of the box. (German characters are in ASCII)
 
Old 07-07-2005, 04:46 PM   #5
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,422

Rep: Reputation: 112Reputation: 112
Don't mix "not the default" with "not working".

The fact is:

Only very few Linux distributions are Unicode based, in toto. One of the most advanced distributions in this respect is SuSE 9.3. The basic system is UTF-8, completely. But: Some programs that come with it, are not. Eg, the console based browser links supports a lot of ISO encodings, but not UTF-8. Result: German umlauts aren't displayed. Other programs show combinations of ugly replacement characters instead. Both results are incorrect.

Slackware is maintained more conservatively. Encoding is just one example showing that this is an advantage. Display of special characters in Slackware is consistent over all applications in Slackware.

But don't be disappointed:

For German you don't need UTF-8. Use ISO-8859-1 or ISO-8859-15. The latter ist good enough for most European languages plus Turkish.

However, if you want to see correct Japanese on your screen, you may be in need of Unicode, anyway....

gargamel
 
Old 07-07-2005, 05:07 PM   #6
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Thanks gargamel. Unfortunately, with the work i'm doing, i must stick with UTF-8.

As for the system, well, i'm not that concerned with the base itself, but rather more on Xorg, and particularely firefox and other text editors out there that (i'm assuming) all use the same font files located somewhere in /etc/X11.
 
Old 07-07-2005, 05:18 PM   #7
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,422

Rep: Reputation: 112Reputation: 112
Ok, then nothing I said is of any help to you, unfortunately.
You will have to go through the pain of acquiring the right fonts and install them in the rigth locations on your system, I am afraid. It's possible, though.

If you use KDE, there's a module in the control centre for managing fonts. It's really helpful.

gargamel
 
Old 07-07-2005, 05:31 PM   #8
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Hehe, thanks anyway =)

Hmm, i might switch to KDE to do that and then back to XFce if the changes are global.

But the question is, which fonts do i go for ..
 
Old 07-07-2005, 05:42 PM   #9
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,422

Rep: Reputation: 112Reputation: 112
You might try some -- believe it or not -- Microsoft TrueType fonts, first. You can download them from various places, just not from Microsoft, anymore. One place is KDE.org (sorry, I forgot where precisely, but it's easy to find when you look at the navigation bar on the left).

I am not sure if these are what you need for your current problem, I have to admit. But they may be useful for you if you exchange documents with Windows users.

Eg, I create OpenOffice.org documents on Windows and Linux (Slackware and SuSE). Only by sticking to these fonts that are available for all major platforms the documents look the same everywhere.

Good luck!

gargamel
 
Old 07-07-2005, 05:47 PM   #10
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,422

Rep: Reputation: 112Reputation: 112
Just found this link in another thread:

http://killerbob.ca/howto/

HTH. gargamel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I know how a file is encoded? UTF-8, UTF-16, etc.. ?? brynjarh Linux - General 1 12-03-2004 11:11 AM
UTF-8 compatible application grub Programming 0 12-01-2004 12:57 AM
[Enter] in text documents diffrent on Windows and Linux? UTF-8/UTF-16 problem or? brynjarh Linux - General 1 11-24-2004 05:20 AM
Slack compatible insyte Amigo 3 09-15-2004 04:07 PM
X11 / UTF-8 locale seems missing 'fr_FR.UTF-8' chrsitophermann Debian 11 07-17-2004 02:04 PM


All times are GMT -5. The time now is 03:07 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration