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

How to solve openoffice garbled characters in centos

WJ
WJOriginal
2020-06-05 15:57:402128browse

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.ttf Helvetica, simsun.ttc Song Dynasty (search in C:\Windows\Fonts of Windows system)

3. Execute The following command:

mkfontscale #Generate the fonts.scale file (if prompted -bash: mkfontscale: command not found requires 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