Before tossing MATLAB Chinese input problem, the structure of MATLAB is not good, but also the Firefox Chinese font bad. (Some of the pages, such as Baidu know the display of Chinese places all error)
The previous action is:Ubuntu installation Chinese font can display Chinese, or cannot input Chinese (fictx).
First, prepare font XP fonts stored in the C:/windows/fonts directory, we have the favorite fonts copied out, such as SIMSUN.TTC, Simkai.ttf, Simhei.ttf, Simfang.ttf and so on. Copy these font files to Ubuntu's/usr/share/fonts/xpfonts directory. Note: If you find that you cannot create a new folder under/usr/share/fonts/, please log in with the root user. Import fonts open terminal run the following command line to establish font cache information: sudo mkfontscale sudo mkfontdir # #会在命令执行的对应路径下生成fonts. Dir with Fonts.scale two file when the sudo fc-cache-fv command executes successfully, the terminal will display: fc-cache:succeeded
The possible reason for this analysis now is that the previously established Fonts.dir and Fonts.scale locations and the non-generated font cache error.
See also: Ubuntu Chinese-fonts
FC-CACHE-FV #通常复制字体进 ~/.fonts will automatically refresh the font, if not, with this command, if copied into the/usr/share/fonts/, with sudo fc-cache-fv
Get Chinese font:
sudo apt-get install Ttf-wqy-microhei #文泉驿-Micron Black
sudo apt-get install Ttf-wqy-zenhei #文泉驿-Positive Black
sudo apt-get install xfonts-wqy #文泉驿-lattice Arial
My font file path:
Firefox so successful, I tried the next matlab, you can input Chinese.
-----------------------------------------------------
Mark:fc-cache-fv/sudo FC-CACHE-FV
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Ubuntu Firefox garbled problem