Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

用雅黑字体为什么句号位置不正确?

0 views
Skip to first unread message

子愚

unread,
Jan 17, 2008, 10:27:36 PM1/17/08
to

记得从前有人遇见过这个问题,但是找不到那个话题了。

见图片,输入句号后句号出现在字体的上方。。。

这是为什么? 谢谢~
--

[m [36m※ 来源:·水木社区 http://newsmth.net·[FROM: 202.118.73.*] [m

Your Emacs Is Mine

unread,
Jan 17, 2008, 11:39:10 PM1/17/08
to
你分别在中文和句号上

M-x describe-char

把结果贴出来

【 在 unbroke (子愚) 的大作中提到: 】
: 记得从前有人遇见过这个问题,但是找不到那个话题了。
: 见图片,输入句号后句号出现在字体的上方。。。
: 这是为什么? 谢谢~
: ...................

--
║ ★ 欢迎光临水木社区算法版 Algorithm@newsmth ★ ║
毫无疑问 ║ 这里的算法 ║ 是全水木上 ║ 最鲁棒的
║ ║ ║
██║██ ║ █║█
█████║█████ █║█ ████║████
███████║███████ ███║███ ██████║██████


[m [1;32m※ 来源:·水木社区 newsmth.net·[FROM: 211.99.222.*] [m

子愚

unread,
Jan 18, 2008, 1:39:18 AM1/18/08
to
.emacs的设置是这样的
(set-default-font "DejaVu Sans Mono-9")
(set-fontset-font (frame-parameter nil 'font)
'han '("Microsoft YaHei" . "unicode-bmp"))

中文的结果是:
character: 句 (21477, #o51745, #x53e5)
preferred charset: gb18030 (GB18030)
code point: 0xBEE4
syntax: w which means: word
category: C:Chinese (Han) characters of 2-byte character sets
c:Chinese h:Korean j:Japanese
|:While filling, we can break a line at this character.
buffer code: #xE5 #x8F #xA5
file code: #xE5 #x8F #xA5 (encoded by coding system utf-8-unix)
display: by this font (glyph code)
microsoft
yahei:pixelsize=13:foundry=microsoft:weight=medium:slant=r:width=normal
(#x54F)

句号的结果是:
character: 。 (12290, #o30002, #x3002)
preferred charset: gb18030 (GB18030)
code point: 0xA1A3
syntax: _ which means: symbol
category: c:Chinese h:Korean j:Japanese |:While filling, we can
break a line at this character.
buffer code: #xE3 #x80 #x82
file code: #xE3 #x80 #x82 (encoded by coding system utf-8-unix)
display: by this font (glyph code)
-Daewoo-Mincho-Medium-R-Normal--16-120-100-100-C-160-KSC5601.1987-0
(#x2123)
【 在 PKubuntu (Your Emacs Is Mine) 的大作中提到: 】
: 你分别在中文和句号上
: M-x describe-char
: 把结果贴出来
: ...................

--

[m [1;36m※ 来源:·水木社区 newsmth.net·[FROM: 202.118.73.*] [m

sakulaqi

unread,
Jan 18, 2008, 5:56:29 AM1/18/08
to
character: 中 (20013, #o47055, #x4e2d)
preferred charset: chinese-gbk (GBK Chinese simplified.)
code point: 0xD6D0

syntax: w which means: word
category: C:Chinese (Han) characters of 2-byte character sets
c:Chinese h:Korean j:Japanese
|:While filling, we can break a line at this character.
buffer code: #xE4 #xB8 #xAD
file code: #xD6 #xD0 (encoded by coding system chinese-gbk-dos)

display: by this font (glyph code)
stheiti:pixelsize=17:foundry=unknown:weight=medium:slant=r:width=normal (#x3EB2)

Character code properties are not shown: customize what to show

There are text properties here:
auto-composed t
charset chinese-gbk
character: 。 (12290, #o30002, #x3002)
preferred charset: chinese-gbk (GBK Chinese simplified.)


code point: 0xA1A3
syntax: _ which means: symbol
category: c:Chinese h:Korean j:Japanese
|:While filling, we can break a line at this character.
buffer code: #xE3 #x80 #x82

file code: #xA1 #xA3 (encoded by coding system chinese-gbk-dos)


display: by this font (glyph code)

-arphic-ar pl sungtil gb-medium-r-normal--17-164-75-75-m-170-gb2312.1980-0 (#x2123)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
怪不得总感觉中文标点全都怪怪的
这个问题怎么解决呢?
Character code properties are not shown: customize what to show

There are text properties here:
auto-composed t
charset chinese-gbk

[back]

【 在 unbroke (子愚) 的大作中提到: 】
: 标 题: Re: 用雅黑字体为什么句号位置不正确?
: 发信站: 水木社区 (Fri Jan 18 14:39:17 2008), 转信
:
: .emacs的设置是这样的


--

[m [1;31m※ 来源:·水木社区 newsmth.net·[FROM: 211.99.222.*] [m

猪的导师

unread,
Jan 18, 2008, 5:59:00 AM1/18/08
to
(set-fontset-font (frame-parameter nil 'font)
'han '("Yahei" . "unicode-bmp"))
(set-fontset-font (frame-parameter nil 'font)
'symbol '("Yahei" . "unicode-bmp"))
(set-fontset-font (frame-parameter nil 'font)
'cjk-misc '("Yahei" . "unicode-bmp"))
(set-fontset-font (frame-parameter nil 'font)
'bopomofo '("Yahei" . "unicode-bmp"))

【 在 sakulaqi (sakulaqi) 的大作中提到: 】
: character: 中 (20013, #o47055, #x4e2d)


: preferred charset: chinese-gbk (GBK Chinese simplified.)
: code point: 0xD6D0

: ...................

--

[m [1;34m※ 来源:·水木社区 newsmth.net·[FROM: 202.106.184.*] [m

Message has been deleted

sakulaqi

unread,
Jan 19, 2008, 4:56:18 AM1/19/08
to
thanks

【 在 Boarmon (猪的导师) 的大作中提到: 】
: (set-fontset-font (frame-parameter nil 'font)


: 'han '("Yahei" . "unicode-bmp"))
: (set-fontset-font (frame-parameter nil 'font)

: ...................

--

[m [1;35m※ 来源:·水木社区 newsmth.net·[FROM: 211.99.222.*] [m

0 new messages