[Fedora-i18n-list] Thai not working

Leon Ho llch at redhat.com
Wed Mar 10 04:00:58 UTC 2004


No problem.

In XFree86 4.3 or newer (ie. in FC1), you can do something similar to
this:

setxkbmap -layout th,en_US -option "grp:shift_toggle"

For this then you put in th and en_US into groups and you can toggle
between groups by pressing L-Shift + R+Shift together.

Hope it helps,
Leon

On Wed, 2004-03-03 at 01:25, John Francis Lee wrote:
> Thank you Leon!
> 
> fc-list does show the font I have in mind.
> gucharmap shows the Thai character set.
> 
> I found a reference to a new version of pango that has
> helped quite a bit. I can now choose Thai when I log
> in and see menus and such displayed in Thai.
> 
> But I cannot input Thai characters... rather I can
> input only Thai characters or only Latin characters.
> 
> I used to be able to switch from one to the other
> using the Left-Alt Left-SHift for Latin and Left-Alt
> Right-Shift for Thai with rh8.0.
> 
> But now I am stuck with Thai only or English/Latin
> only, depending upon the setting for keybd in
> /etc/X11/XF86Config.
> 
> Any insight into that?
> 
> Thanks again for taking the time to help me.
> I truly do appreciate it.
> 
> --- Leon Ho <llch at redhat.com> wrote:
> > I will dump my 2 cents. See if you able to get it
> > working:
> > - does fontconfig able to list the font you have
> > installed? (ie.
> > fc-list)
> > - does font support the code ranges that needed?
> > Check with a program
> > called "gucharmap".
> > 
> > Leon
> > 
> > On Sat, 2004-02-28 at 13:38, John Francis Lee wrote:
> > > Hello,
> > > 
> > > We have an internet cafe here in Chiang Rai and
> > run
> > > rh8.0. We like it. I'm trying to keep up and have
> > > installed Fedora Core 1 on on of our machines and
> > home
> > > to promulgate the installation to all via sisuite,
> > > once it's debugged.
> > > 
> > > The problem is with Thai. I installed using
> > American
> > > English, but installed support for all languages. 
> > > 
> > > Yet when I try to chose thai at the gdm login
> > prompt,
> > > only the UTF-8 place holder characters show up.
> > > 
> > > I wrestled with similar problems with rh8.0, and
> > was
> > > able to "fix" some machines and not others, though
> > the
> > > installations seemed indentical to me.
> > > 
> > > I would really like to get Thai working on all my
> > > machines, as you may well imagine.
> > > 
> > > Any and all help appreciated.
> > > 
> > > I have installed :
> > >  thai-fonts-ttf-0.1-alt2.src.rpm   
> > >  thai-ttf-0.2.1-4.noarch.rpm      
> > >  thaixfonts-1.2.4-1.noarch.rpm
> > >  PlaDaoFont-1.0-250102.i386.rpm
> > > 
> > > [root at ws7 root]# cat /etc/sysconfig/i18n
> > > LANG="th_TH.UTF-8"
> > > SYSFONT="latarcyrheb-sun16"
> > > 
> > > [root at ws7 root]# cat /etc/X11/XF86Config
> > > # XFree86 4 configuration created by pyxf86config
> > > 
> > > Section "ServerLayout"
> > >         Identifier     "Default Layout"
> > >         Screen      0  "Screen0" 0 0
> > >         InputDevice    "Mouse0" "CorePointer"
> > >         InputDevice    "Keyboard0" "CoreKeyboard"
> > >         InputDevice    "DevInputMice" "AlwaysCore"
> > > EndSection
> > > 
> > > Section "Files"
> > > # RgbPath is the location of the RGB database. 
> > Note,
> > > this is the name of the
> > > # file minus the extension (like ".txt" or ".db").
> > 
> > > There is normally
> > > # no need to change the default.
> > > 
> > > # Multiple FontPath entries are allowed (they are
> > > concatenated together)
> > > # By default, Red Hat 6.0 and later now use a font
> > > server independent of
> > > # the X server to render fonts.
> > > 
> > >         RgbPath      "/usr/X11R6/lib/X11/rgb"
> > >         FontPath     "unix/:7100"
> > > EndSection
> > > 
> > > Section "Module"
> > >         Load  "dbe"
> > >         Load  "extmod"
> > >         Load  "fbdevhw"
> > >         Load  "glx"
> > >         Load  "record"
> > >         Load  "freetype"
> > >         Load  "type1"
> > >         Load  "dri"
> > > EndSection
> > > 
> > > Section "InputDevice"
> > > # Specify which keyboard LEDs can be
> > user-controlled
> > > (eg, with xset(1))
> > > #       Option  "Xleds"         "1 2 3"
> > > 
> > > # To disable the XKEYBOARD extension, uncomment
> > > XkbDisable.
> > > #       Option  "XkbDisable"
> > > 
> > > # To customise the XKB settings to suit your
> > keyboard,
> > > modify the
> > > # lines below (which are the defaults).  For
> > example,
> > > for a non-U.S.
> > > # keyboard, you will probably want to use:
> > > #       Option  "XkbModel"      "pc102"
> > > # If you have a US Microsoft Natural keyboard, you
> > can
> > > use:
> > > #       Option  "XkbModel"      "microsoft"
> > > #
> > > # Then to change the language, change the Layout
> > > setting.
> > > # For example, a german layout can be obtained
> > with:
> > > #       Option  "XkbLayout"     "de"
> > > # or:
> > > #       Option  "XkbLayout"     "de"
> > > #       Option  "XkbVariant"    "nodeadkeys"
> > > #
> > > # If you'd like to switch the positions of your
> > > capslock and
> > > # control keys, use:
> > > #       Option  "XkbOptions"    "ctrl:swapcaps"
> > > # Or if you just want both to be control, use:
> > > #       Option  "XkbOptions"    "ctrl:nocaps"
> > > #
> > >         Identifier  "Keyboard0"
> > >         Driver      "keyboard"
> > >         Option      "XkbRules" "xfree86"
> > >         Option      "XkbModel" "pc105"
> > > #       Option      "XkbModel" "pc102"
> > >         Option      "XkbLayout" "us"
> > > #       Option      "XkbLayout" "th"
> > > EndSection
> > > 
> > > Section "InputDevice"
> > >         Identifier  "Mouse0"
> > >         Driver      "mouse"
> > >         Option      "Protocol" "PS/2"
> > >         Option      "Device" "/dev/psaux"
> > >         Option      "ZAxisMapping" "4 5"
> > >         Option      "Emulate3Buttons" "yes"
> > > EndSection
> > > 
> > > Section "InputDevice"
> > > # If the normal CorePointer mouse is not a USB
> > mouse
> > > then
> > > # this input device can be used in AlwaysCore mode
> > to
> > > let you
> > > # also use USB mice at the same time.
> > >         Identifier  "DevInputMice"
> > >         Driver      "mouse"
> > >         Option      "Protocol" "IMPS/2"
> > >         Option      "Device" "/dev/input/mice"
> > >         Option      "ZAxisMapping" "4 5"
> > >         Option      "Emulate3Buttons" "no"
> > > EndSection
> > > 
> > > Section "Monitor"
> > >         Identifier   "Monitor0"
> > >         VendorName   "Monitor Vendor"
> > >         ModelName    "Unprobed Monitor"
> > >         HorizSync    31.5 - 37.9
> > >         VertRefresh  50.0 - 70.0
> > >         Option      "dpms"
> > > EndSection
> > > 
> > > Section "Device"
> > >         Identifier  "Videocard0"
> > >         Driver      "trident"
> > >         VendorName  "Videocard vendor"
> > >         BoardName   "Trident CyberBlade (generic)"
> > > EndSection
> > > 
> > > Section "Screen"
> > >         Identifier "Screen0"
> > >         Device     "Videocard0"
> > >         Monitor    "Monitor0"
> > >         DefaultDepth     24
> > >         SubSection "Display"
> > >                 Depth     24
> > >                 Modes    "800x600" "640x480"
> > >         EndSubSection
> > > EndSection
> > > 
> > > Section "DRI"
> > >         Group        0
> > >         Mode         0666
> > > EndSection
> > > 
> > > 
> > > 
> > > 
> > > 
> > 
> === message truncated ===
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Search - Find what youre looking for faster
> http://search.yahoo.com
> 
> --
> Fedora-i18n-list mailing list
> Fedora-i18n-list at redhat.com
> http://www.redhat.com/mailman/listinfo/fedora-i18n-list




More information about the Fedora-i18n-list mailing list