LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-02-2005, 08:54 AM   #1
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
About unicode fonts


Hi, I am using debian and I wanted to install some unicode fonts. When I did a "apt-cache search" I found quite some packages which seem to be unicode fonts. However, most of them will tell you that it is a unicode font for chinese, greek, etc.

This make me wonder about this question on how softwares handle unicode fonts. Let's say if a webpage/text file was written in Chinese and Greek. Then do you need a unicode font which contains both of these 2 languages to display it? Or the system is clever enough to find the characters from different font files?

Thanks for your enlightenment in advance
 
Old 06-02-2005, 04:06 PM   #2
Jaxån
Member
 
Registered: Apr 2005
Location: Sweden
Distribution: Debian
Posts: 142

Rep: Reputation: 15
I havn't looked into this, so it's speculation...

<speculation-mode>
Unicode is LARGE and needs lot of fonts to present all of its characters. So to save room on your disk, they have splited it into parts. So you download the parts you will use.

In Emacs, characters that isn't possible to show is shown with a square. I think it's the same with other programs, like FireFox. I have hade those problems here with Firefox (see my name, and you will understand and problem with page coding from server/pages, not Firefox)
</speculation-mode>
 
Old 06-02-2005, 09:23 PM   #3
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Original Poster
Rep: Reputation: 31
Thanks for your reply.

But if that is the case, does it only use fonts specially made for unicode? Or does it can use any usual TTF files?
 
Old 06-03-2005, 05:46 PM   #4
Jaxån
Member
 
Registered: Apr 2005
Location: Sweden
Distribution: Debian
Posts: 142

Rep: Reputation: 15
How fonts are visually shown has nothing to do with character coding.

So a character 'A' coded in Latin1 (ISO-8859-1) has nothing to do with which font it is used to shown the 'A* on your screen (or print out).

So an 'A' in Unicode and an 'A' in Latin1 can look the same or not, depending on fonts (looks). But it's still the same character, hopefully. There are at least two 'Å' in Unicode. One for Swedish/Norwegian character 'Å', and one for the length ångström (used with atoms, so it is a short unit), which is named after a Swedish physics scientist. I guess they didn't ask anyone from Sweden or Norway about that

Anyway, you have to remember that what you see on the screen is a font, that represents graphically a character in a character coding (like Latin1 or Unicode or something else). So you could use many different fonts to represent the same character.

So if those fonts you download to be used in Unicode character coding could be in any font format that your system can handle, like TTF (True type font). So I think that there is some sort of mappings between Unicode and other character codings that different fonts are coded in.

Confused? I'm not that convinced by my own explanation

Last edited by Jaxån; 06-03-2005 at 05:50 PM.
 
Old 06-05-2005, 08:09 AM   #5
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by Jaxån
Confused? I'm not that convinced by my own explanation
Indeed
But I more or less understand what you meant.

Thanks for your lengthful explanations though
 
Old 06-06-2005, 06:31 PM   #6
Jaxån
Member
 
Registered: Apr 2005
Location: Sweden
Distribution: Debian
Posts: 142

Rep: Reputation: 15
Thanks.
Your welcome. Just hope someone else get any use of it.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unicode fonts for aterm? matthias_k Linux - Software 0 10-30-2005 03:38 AM
Aterm and Unicode geekzen Linux - General 0 04-15-2004 10:55 PM
Unicode Problem bullstrong Linux - Software 1 11-18-2003 02:07 PM
Unicode ?? Help 80s Debian 1 11-02-2003 07:27 AM
RH 8 and UNICODE rafabgood Linux - Software 4 12-10-2002 04:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:11 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration