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
  Search this Thread
Old 07-11-2011, 01:17 AM   #1
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64® 14.0
Posts: 982

Rep: Reputation: 94
Thumbs up Slackware and Thai fonts


Someone may find this useful so I am posting it.

My wife is Thai and I have been struggling with getting Thai fonts to render properly in Slackware, especially with Firefox since this is her source of news back home.

After some digging around the net with Google, I came across these fonts:

http://linux.thai.net/pub/thailinux/...-0.4.15.tar.gz

I followed the example install directions and the fonts are looking great now. Before they were almost unreadable. Another plus is now I can read all files that are in Thai.

Code:
# cd /usr/share/fonts/truetype
# tar xzf ~/Download/thai-ttf-0.4.15.tar.gz
# mv thai-ttf-0.4.15/etc/fonts/conf.avail/* /etc/fonts/conf.avail
# ln -s /etc/fonts/conf.avail/64-ttf-thai-tlwg.conf /etc/fonts/conf.d/
# ln -s /etc/fonts/conf.avail/89-ttf-thai-tlwg-synthetic.conf /etc/fonts/conf.d/
# rm -rf thai-ttf-0.4.15/etc
Screenshot: http://dl.dropbox.com/u/1574277/Screenshot-07102011.png

Hope someone else finds this post useful.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 04-14-2015, 05:38 AM   #2
zakame
Member
 
Registered: Apr 2012
Distribution: Debian, Ubuntu, Slackware
Posts: 156

Rep: Reputation: 63
And useful indeed! Glad to come across this as I need to set Thai font support for Chrome and others. Will put this on docs.slackware.com for posterity.
 
Old 04-14-2015, 06:14 AM   #3
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 435

Rep: Reputation: 44
very strange. i thinked, nowadays, utf-8 / utf-16 contains all world possible \ usage symbols ?
 
Old 04-14-2015, 06:54 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 5,499

Rep: Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531
Quote:
Originally Posted by WiseDraco View Post
very strange. i thinked, nowadays, utf-8 / utf-16 contains all world possible \ usage symbols ?
UTF-8 is a standard for encoding well defined characters, each associated to a specific name. A handy table is provided here. But to physically draw a character on the screen you need to associate to it a glyph that comes from a file, containing data that represent a set of straight line segments and quadratic Bézier curves in the case of True Type fonts.

That's a lot of work and each True Type font includes a limited number of these glyphs.

You can make your own font or modify existing ones in Slackware using fontforge.

Last edited by Didier Spaier; 04-14-2015 at 01:07 PM.
 
2 members found this post helpful.
Old 04-20-2015, 02:40 PM   #5
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64® 14.0
Posts: 982

Original Poster
Rep: Reputation: 94
Wow, almost 3 years and someone did find it useful!!
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 13 Thai language support for Dolphin, OOo title bars, 'Everything' install slackist Slackware 1 12-12-2009 05:57 AM
Can't read Thai fonts jmite Linux - Newbie 4 08-01-2008 07:41 PM
install Thai fonts - thanks LQ and Barry Kauler pppaaarrrkkk Linux - Newbie 0 09-24-2007 06:37 PM
Problem setting Thai Fonts in OOo 1.1.1 on RH9 gmichel Linux - Newbie 18 11-15-2004 08:37 AM
Thai fonts problem in GTK 2 - slack 9.1 static_drc Slackware 5 01-05-2004 10:46 PM


All times are GMT -5. The time now is 09:56 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration