[CentOS] Installing support for Chinese text in Centos 7

Mon Jul 17 15:31:13 UTC 2017
Scott Robbins <scottro11 at gmail.com>

On Mon, Jul 17, 2017 at 10:19:03AM -0400, H wrote:
> On 07/17/2017 05:54 AM, Scott Robbins wrote:
> > On Sun, Jul 16, 2017 at 11:23:08PM -0400, H wrote:
> > > On 05/27/2017 10:15 PM, H wrote:
> > > > > 
> > 
> > 
> > 
> >   > By the way, LibreOffice seems to have a couple of Chinese fonts installed, I am not sure I need to install additional fonts for the OS?
> > Once you get it running, you can see.  Possibly not.
> > 
> Scott, great, thank you very much! Changing the pinyin setting to true from false allowed me to use pinyin to type Chinese into a terminal window. One correction, though, the setting is not in ~/.config/fcitx but in ~/.config/profile.
> 
> I only had time for a very quick test of typing pinyin into a blank LibreOffice document since I am leaving on a trip. This did not work, however.
> 
> How do I get this working? In the font selection listbox there are a couple of - ugly-looking - simplified Chinese fonts but I could not get it to work. Do you have any suggestions here?
> 

On my version here, it's ~/.config/fcitx/profile, but regardless, glad you
found it--there may be differences between the Chinese and Japanese
version.

As for libreoffice, you might look under tools, options, languages and see
what the default Asian is. 

If that doesn't do it try something like
XMODIFIERS=@im=fcitx LC_CTYPE=en_US.UTF-8 GTK_IM_MODULE=fcitx libreoffice
and see if that works.

(I don't use the CentOS package for libreoffice, I get the latest from
their site. )


-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6