LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 788|回复: 3

-*-simsun-medium-r-*-*-14-*-*-*-*-*-*-*, I want to know the meaning, 3Q!!!

[复制链接]
发表于 2006-6-25 10:51:49 | 显示全部楼层 |阅读模式
-*-simsun-medium-r-*-*-14-*-*-*-*-*-*-*
I want to know what does the star mean?
I want to set up my fonts and I find the space between the fonts is too small that it make fonts overlap and see unclearly.
发表于 2006-6-25 10:56:24 | 显示全部楼层
[php]
File: emacs,  Node: Font X,  Next: Colors,  Prev: Display X,  Up: Emacs Invocation

C.7 Font Specification Options
==============================

By default, Emacs displays text in a twelve point Courier font (when
using X).  You can specify a different font on your command line
through the option `-fn NAME' (or `--font', which is an alias for
`-fn').

`-fn NAME'
`--font=NAME'
     Use font NAME as the default font.

   Under X, each font has a long name which consists of fourteen words
or numbers, separated by dashes.  Some fonts also have shorter
nicknames.  For instance, `9x15' is such a nickname.  This font makes
each character nine pixels wide and fifteen pixels high.  You can use
either kind of name.  Case is insignificant in both kinds.  You can use
wildcard patterns for the font name; then Emacs lets X choose one of
the fonts that match the pattern.  The wildcard character `*' matches
any sequence of characters (including none) and `?' matches any single
character.  However, matching is implementation-dependent, and can be
inaccurate when wildcards match dashes in a long name.  For reliable
results, supply all 14 dashes and use wildcards only within a field.
Here is an example, which happens to specify the font whose nickname is
`6x13':

     emacs -fn \
       "-misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1" &

You can also specify the font in your `.Xdefaults' file:

     emacs.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1

   Note that if you use a wildcard pattern on the command line, you
need to enclose it in single or double quotes, to prevent the shell
from accidentally expanding it into a list of file names.  On the other
hand, you should not quote the name in the `.Xdefaults' file.

   The default font used by Emacs (under X) is:

     -adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1

   A long font name has the following form:

     -MAKER-FAMILY-WEIGHT-SLANT-WIDTHTYPE-STYLE...
     ...-PIXELS-HEIGHT-HORIZ-VERT-SPACING-WIDTH-REGISTRY-ENCODING

MAKER
     This is the name of the font manufacturer.

FAMILY
     This is the name of the font family--for example, `courier'.

WEIGHT
     This is normally `bold', `medium' or `light'.  Other words may
     appear here in some font names.

SLANT
     This is `r' (roman), `i' (italic), `o' (oblique), `ri' (reverse
     italic), or `ot' (other).

WIDTHTYPE
     This is normally `condensed', `extended', `semicondensed' or
     `normal'.  Other words may appear here in some font names.

STYLE
     This is an optional additional style name.  Usually it is
     empty--most long font names have two hyphens in a row at this
     point.

PIXELS
     This is the font height, in pixels.

HEIGHT
     This is the font height on the screen, measured in tenths of a
     printer's point--approximately 1/720 of an inch.  In other words,
     it is the point size of the font, times ten.  For a given vertical
     resolution, HEIGHT and PIXELS are proportional; therefore, it is
     common to specify just one of them and use `*' for the other.

HORIZ
     This is the horizontal resolution, in pixels per inch, of the
     screen for which the font is intended.

VERT
     This is the vertical resolution, in pixels per inch, of the screen
     for which the font is intended.  Normally the resolution of the
     fonts on your system is the right value for your screen;
     therefore, you normally specify `*' for this and HORIZ.

SPACING
     This is `m' (monospace), `p' (proportional) or `c' (character
     cell).

WIDTH
     This is the average character width, in pixels, multiplied by ten.

REGISTRY
ENCODING
     These together make up the X font character set that the font
     depicts.  (X font character sets are not the same as Emacs
     charsets, but they are solutions for the same problem.)  You can
     use the `xfontsel' program to check which choices you have.
     However, normally you should use `iso8859' for REGISTRY and `1'
     for ENCODING.

   You will probably want to use a fixed-width default font--that is, a
font in which all characters have the same width.  Any font with `m' or
`c' in the SPACING field of the long name is a fixed-width font.
Here's how to use the `xlsfonts' program to list all the fixed-width
fonts available on your system:

     xlsfonts -fn '*x*' | egrep "^[0-9]+x[0-9]+"
     xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-m*'
     xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-c*'

To see what a particular font looks like, use the `xfd' command.  For
example:

     xfd -fn 6x13

displays the entire font `6x13'.

   While running Emacs, you can set the font of the current frame
(*note Frame Parameters: or for a specific kind of text (*note
Faces:.

[/php]
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-25 11:47:36 | 显示全部楼层
Got it, and very detailed and useful, thank you very much!!!
回复 支持 反对

使用道具 举报

发表于 2006-6-25 14:42:14 | 显示全部楼层
It's from Emacs info mannual
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表