How to solve openoffice garbled characters in centos

WJ
Release: 2020-06-05 15:57:40
Original
2095 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template