Home>Article>Operation and Maintenance> How to solve openoffice garbled characters in centos

How to solve openoffice garbled characters in centos

WJ
WJ Original
2020-06-05 15:57:40 1999browse

How to solve openoffice garbled characters in centos

How to solve openoffice garbled characters in centos?

1. Check the font storage location of the Linux system:cat /etc/fonts/fonts.conf

2. Upload the font to/ in usr/share/fonts.simhei.ttfHelvetica,simsun.ttcSong Dynasty (search inC:\Windows\Fontsof Windows system)

3. Execute The following command:

mkfontscale#Generate the fonts.scale file (if prompted-bash: mkfontscale: command not foundrequires installation:yum install mkfontscale)

mkfontdir #Generate fonts.dir file

fc-cache

4. Restartopenoffice

Related reference:centOS tutorial



The above is the detailed content of How to solve openoffice garbled characters in centos. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn