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 Hope someone else finds this post useful. |
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.
|
very strange. i thinked, nowadays, utf-8 / utf-16 contains all world possible \ usage symbols ?
|
Quote:
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. |
Wow, almost 3 years and someone did find it useful!!
|
Relevant after years indeed.
I just tried this with 0.4.17 and Apache still displays the Thai fonts incorrectly. Code:
à¹„àž—àž¢ à¹„àž—àž¢ | zombieTH àžªàž‡àž„àž£àž²àž¡ Engineer I Code:
ไทย ไทย | zombieTH สงคราม Engineer I I tried creating it and copying the fonts over and also copying them to the existing /usr/share/fonts/TTF but no cigar Code:
root@slack14:/tmp/thai/thai-ttf-0.4.17# fc-cache -vf |
Thank you very much all of you
This post is really helpful for me;and I'm quite sure that it help many Thais a lot.
***Please note, I'm using Slackware GNU/Linux*** As the time goes by and this solution is not exactly works for me now;so I'm try to figure out what solution could be in "this" time and I found it below. For Reading Thai 1. check out this font and choose the new one to download (such as thai-ttf-0.4.17.tar.gz). 2. And Follow step in this Slack's Document ***Note 2. is depend on your Distro*** My solution can be summarize in this code Please substitution thai-ttf-0.4.17.tar.gz with the version you selected Code:
$ wget https://linux.thai.net/pub/thailinux/software/thai-ttf/thai-ttf-0.4.17.tar.gz I hope this were useful for someone in the future. |
LoL
Thanks A LOT FOXMEAN !!!! since I updated to Slackware 14.2 I was looking/waiting for a solution to render thai fonts without luck.... Cheers my friend!!! |
Good to see this post is doing well for others over 6 years later!!
|
and thanks to you too "SqdnGuns" , who made the first post...
I wished I had read your post in more detail , and may be I would not have spent a year waiting for the answer from "Foxmean" :-D |
Also I just found today, Lanna script fonts (Thai Tam ) from kengtung.org
I hope someone find this useful :) |
All times are GMT -5. The time now is 05:46 AM. |