Use fixedsys font in Linux

Source: Internet
Author: User

I used a lot of fonts. What kind of fonts are there on the Internet that are most suitable for programming?ArticleFinally, we found that the default fixedsys font for vc6 was written.CodeSome people on the Internet say that the font c: \ windows \ fonts \ vgafix in windows can be directly used. fon is used in Linux, but after experiment, after installation, the font is set in Emacs. All the text is actually square. And then find several TTF fixedsys on the Internet.

1, http://fixedsys.moviecorner.de /? P = download & l = 1
Fixedsys500c.zip
This font is the best among the several fonts, and will be specially written for its configuration later.

2, http://fixedsys.moviecorner.de /? P = download2 & l = 1
Fixeddisplay.zip
Fixedsysneo.zip
These two fonts are basically the improved version of 1, and some special changes have been made, but I do not like these improvements.

3. http://www.fixedsysexcelsior.com/
Fsex300.ttf
This font also has a good effect.

4, fsex2p00_public.ttf, the effect is also good, but the official website has not opened, in linuxsir.org can find download (http://www.linuxsir.org/bbs/thread257713.html)
I also uploaded a copy to the current space. The file name is fsex2p00_public.tar.bz2. After downloading it, change the file name. jpg extension.
Http://logicbaby.files.wordpress.com/2011/09/fsex2p00_public-tar-bz2.jpg

Fixedsys500c.zip in the selected version 1. After installation, the font name is fixed0000tf. The following are the settings of the two most commonly used tools:

1. rxvt-Unicode
Rxvt-Unicode is the standard XProgram, Use x resource to set the appearance. In my. xdefaults, there are only two lines of the urxvt font.

Urxvt. Font:Xft: fixed0000tf: Style = monospaced: size = 10: antialias = false, Xft: dejavu sans yuanti condensed: size = 9: Style = regular: antialias = false
Urxvt. boldfont:Xft: fixed0000tf: Style = monospaced: size = 10: antialias = false, Xft: dejavu sans yuanti condensed: size = 9: Style = regular: antialias = false

Of course there are other settings about urxvt, the effect is as follows:

2. emacs

The xft font can be used in Versions later than Emacs 23, so it is very convenient to set the font. I add it to my. emacs

(Set-default-font "FixedsysTTF-10: antialias = false ")

The use of antialias = false is because anti-aliasing will blur words such as WWW, And the = * +-and other symbols appear blurred when anti-aliasing is enabled, it works well after anti-sawtooth is disabled.

The toolkit uses GTK during Emacs compilation. For more information about the font settings in the menu and toolbar, see the GNU Emacs official manual ~ /. Emacs. d/gtkrc. The content of this file is as follows, and the underline part is the font settings.

Include "/usr/share/themes/clearlooks/gtk-2.0/gtkrc"

Style "menufont"
{
Font_name = "fixed0000tf 10"
}

GTK-theme-name = "clearlooks"

GTK-font-name = "fixed0000tf 10"

The effect after configuration is as follows:

(Indicate the author and source when reprinting. Do not use it for commercial purposes without permission)

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.