There are two ways, a simple, a more complex, can be implemented (note: The method here is only suitable for a small number of Chinese fonts, if the use of too large, please use other methods to solve)The first type: simple1. Download the. ttf format for the required Chinese fonts, this is not difficult to find, Baidu on a search a large, can be downloaded to.2. Download FontForge software, this software can edit fonts, font file memory is generally r
1. install necessary software packages
Centos 6.0 is used to minimize installation.
A. Install the vncserver server and client
Yum install tigervnc-server-y
B. Install fontforge
Yum install fontforge-y
If fontforge is not installed, the text will become a square when the vncviewer client is connected.
C. install desktop software
Yum groupinstall desktop-y
-extra texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures texlive-science texlive-bibtex-extra texlive-common latex-beamer
If there are plenty of hard disks, you can directly complete the installation:
sudo apt-get install texlive-full latex-beamer
After installation, you can install the CJK software package. If you only need Chinese support, run:
sudo apt-get install latex-cjk-chinese ttf-arphic-* hbf-*
Otherwise, we recommend that you install latex-CJK-all for fu
, you also need to install a software ──fontforge to generate fonts:
sudo apt-get install FontForge
Well, what we've done in the front is a standard Debian installation, and if you don't need one day, just remove it and install it.Before creating a font, prepare the font file you want to generate: Simsun.ttc,simhei.ttf (to download it yourself, or to find it from Windows C), for example, SIMSU
Https://github.com/lvxiaobo616/vim-indent-guidesReference Https://github.com/Yggdroot/indentLineInstall Yggdroot/indentlin FirstSteps:1. Download FontForge.2. Open the font you want to patch with FontForge.3. Click Goto in the View menu and select Private Use area in its drop-down box.4. Select an empty glyph.5. Double-click the empty glyph to open the drawing tool6. Select Import from the File menu and sel
-extra Texlive-pictures texlive-science Texlive-bibtex-extra Texlive-common Latex-beamer
If the hard drive is sufficient, a direct full installation can also:
sudo apt-get install texlive-full Latex-beamer
After installing, you can install the related software package of CJK, if only need to obtain Chinese support, then execute:
sudo apt-get install Latex-cjk-chinese ttf-arphic-* hbf-*
Otherwise, it is recommended that you install Latex-cjk-all for full support.
second, the generation of Chinese
Deploy VNC Server in CentOS6
VNC (Virtual Network Computer) is short for Virtual Network Computer. VNC is a free open-source software based on UNIX and Linux operating systems. It has powerful remote control capabilities and is highly efficient and practical. Its performance can be comparable to any remote control software in Windows and MAC.
In Linux, VNC includes the following commands: vncserver, vncviewer, vncpasswd, and vncconnect.
The following uses CentOS6.2 as an example. The procedure f
Yum groupinstall "X window System"-Y (Chinese desktop, can not be installed)Yum Install fontforge-y (if the Fontforge,vncviewer client connection is not installed, the text will become a block)Yum groupinstall "desktop"-y (Gnome desktop)Yum Install Tigervnc-server-yVi/etc/sysconfig/vncserversVncservers= "1:root"vncserverargs[2]= "-geometry 800x600-nolisten tcp-localhost"vncpasswdPassword:tvminingVerify:tvmi
I wrote an article a few days ago, that is, using css to implement the triangular arrow. Although it has achieved the desired effect, there are still some problems. For example, I still need to rely on position to locate the arrow. At present, you can only use arrow triangles. If you want to use other characters, you still need to use images. So I have been searching for a better solution recently and finally found it ......
First, go to the Fonts folder on drive C to find the WEBDINGS. TTF font
square uses relative units and generates a 1000 unit. But it can also be 1024 , 2048 or other
Depending on the recommended unit, font metrics can be determined based on some settings (Ascender,descender,capital height,x-height, etc.). Note that some values are values other than Em-square
In the browser, the relative units are used for scaling to fit the desiredfont-size
Let's look Catamaran at the font and look at the metric of the font in Font
Usually a vector Chinese character library near 10MB, too large, and I may only need to show a few specific characters, how to extract or cut the ready-made font? I have tried a Chinese writing "Font clipping tool", points several times the mouse, only support the system font, not very convenient. I have also tried to find out if there is a similar function in Font creator 4.1, unfortunately I did not find it. Here is a way to use Font forge, after the use of the discovery is very strong, the o
the Microsoft Font for beautification. Because the font size Segment 8-12 is a dot matrix rather than a vector by default, the solution is as follows:$ Sudo apt-Get install fontforge # Install fontforgeThen save the following script as zenhei_nobitmap.fe.
Code:
#! /Usr/bin/fontforgeOpen ("wqy-zenhei.ttf ");Generate ("wqy-zenhei-nobitmap.ttf ");Close ();
Then place the script in the wqy-zenhei.ttf dir
-height, and so on. Note that the value in this area is allowed relative to the Em-square bleed (Bleed Outside) (the translator note: Presumably can be understood as exceeding Em-square)
In the browser, the above 1000 relative units will be scaled according to the font-size you need.
We put the catamaran font in the FontForge and analyzed its font metrics:
Em-square is 1000.
Ascender is 1100,descender is 540. The tests found th
-nontext ) --process-outline ) --printing ) --fallback output in Standby mode (default:0)--embed-external-font ) --font-format "Woff") --decompose-ligature fi (default:0)--auto-hint do not prompt when using fonts on FontForge autohint (default:0)--external-hint-tool "") --stretch-narrow-glyph stretch narrow glyphs instead of padding (default:0)--squeeze-wide-glyph ) --override-fstype inchttf/OTF fonts (default:0)--process-type3 f
installed.
3. Communication 6.25
This is the most troublesome. You must compile and install wine, because wine needs to be patched.
Download the source code of wine and decompress it for backup.
Http://sourceforge.net/project/s... 41 package_id = 77449
Install the following Dependencies
Sudo apt-get install flex bison fontforge xlibs-static-dev libfreetype6-dev libxext-dev
It doesn't matter if other dependencies are installed.
Libcupsys2-dev lib
written in the configuration file above) is switched to the account for starting the Service (many friends encounter "10061 error" when using DirectSpace's default desktop VNC ", enter!)
Restart the vncserver command:Service vncserver restart
Run the following command to set the VNC service to start at startup:Chkconfig vncserver on
In some minimal systems, box garbled characters may appear even in English. Use this command to correct it: yum-y install font
-kvm (kernel 2.6.27/2.6.28 with kvm-kmod 2.6.29 will also work) www.2cto.com
It will be used after installation. at this time, the graphical advantages will come, of course, for newcomers. Vncyum install tigervnc-server-yyum install fontforge-yyum groupinstall Desktop-y requires a password when it is started for the first time. the password is saved in/root/. vnc/passwd.
Modify the xstartup file and add gnome-session Shift + g to the last twm delete
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.