unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Distances between characters become larger
@ 2008-06-19  7:23 Herbert Euler
  2008-06-19  7:39 ` Herbert Euler
  2008-06-19  8:15 ` Kenichi Handa
  0 siblings, 2 replies; 6+ messages in thread
From: Herbert Euler @ 2008-06-19  7:23 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 776 bytes --]


Hi,

The newest CVS Emacs chooses a different font when started with the -Q
option.  Meanwhile, the distances between characters become extremely
larger.  I have configured to let the xft backend take precedence over
the x backend by adding "Emacs*FontBackend: xft, x" into
~/.Xresources.  I'm not sure if this is my configuration problem (may
or may not be Emacs related configuration) or not.  The logs both
before and after the checkout have been attached.  What should I do
fix this weird behavior?  Thanks.

Regards,
Guanpeng Xu

_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us

[-- Attachment #2: old-font-log --]
[-- Type: application/octet-stream, Size: 3470 bytes --]

ftfont-list: -adobe-courier-*-iso8859-1
list: -adobe-courier-medium-r-*-iso8859-1
ftfont-list: -adobe-fixed-*-iso8859-1
list: -adobe-fixed-medium-r-*-iso8859-1
ftfont-match: -adobe-courier-medium-r-*-16-*-iso8859-1
match: -adobe-courier-medium-r-*-120-*-iso8859-1
ftfont-list: -misc-fixed-*-c-*-iso8859-1
list: -misc-fixed-medium-r-normal-*-c-*-iso8859-1
ftfont-match: -misc-fixed-medium-r-normal-*-18-*-c-*-iso8859-1
match: -misc-fixed-medium-r-normal-*-140-*-c-*-iso8859-1
ftfont-list: -*-c-*-iso8859-1
  -unknown-FreeSans-normal-oblique-normal-*-0-iso8859-1
  -bitstream-Bitstream Vera Sans-normal-normal-normal-*-0-iso8859-1
  -bitstream-Bitstream Vera Sans-bold-normal-normal-*-0-iso8859-1
  -bitstream-Bitstream Vera Sans-normal-oblique-normal-*-0-iso8859-1
  -bitstream-Bitstream Vera Sans-bold-oblique-normal-*-0-iso8859-1
  -unknown-Dustismo Roman-normal-normal-normal-*-0-iso8859-1
  -unknown-FreeSans-bold-normal-normal-*-0-iso8859-1
  -unknown-FreeSerif-bold-italic-normal-*-0-iso8859-1
  -unknown-FreeSans-bold-oblique-normal-*-0-iso8859-1
  -unknown-ÐÂËÎÌå-18030-normal-normal-normal-*-0-iso8859-1
  -unknown-Dustismo Roman-bold-italic-normal-*-0-iso8859-1
  -unknown-Penguin Attack-normal-normal-normal-*-0-iso8859-1
  -unknown-FreeSerif-normal-italic-normal-*-0-iso8859-1
  -unknown-ÎĶ¦PLϸÉϺ£ËÎUni-normal-normal-normal-*-0-iso8859-1
  -unknown-FreeSans-normal-normal-normal-*-0-iso8859-1
  -unknown-Dustismo Roman-normal-italic-normal-*-0-iso8859-1
  -unknown-FreeSerif-normal-normal-normal-*-0-iso8859-1
  -unknown-ËÎÌå-18030-normal-normal-normal-*-0-iso8859-1
  -unknown-FreeSerif-bold-normal-normal-*-0-iso8859-1
  ...
list: -*-medium-r-normal-*-c-*-iso8859-1
  -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-normal-normal-*-0-iso8859-1
  -bitstream-Bitstream Vera Serif-normal-normal-normal-*-0-iso8859-1
  -unknown-ËÎÌå-18030-normal-normal-normal-*-0-iso8859-1
  -unknown-FreeSerif-normal-normal-normal-*-0-iso8859-1
  -unknown-FreeSans-normal-normal-normal-*-0-iso8859-1
  -unknown-ÎĶ¦PLϸÉϺ£ËÎUni-normal-normal-normal-*-0-iso8859-1
  -unknown-Penguin Attack-normal-normal-normal-*-0-iso8859-1
  -unknown-ÐÂËÎÌå-18030-normal-normal-normal-*-0-iso8859-1
  -unknown-Dustismo Roman-normal-normal-normal-*-0-iso8859-1
  -bitstream-Bitstream Vera Sans-normal-normal-normal-*-0-iso8859-1
sort-by: -*-medium-r-normal-*-18-*-c-*-iso8859-1
  -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-normal-normal-*-0-iso8859-1
open: -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-normal-normal-*-0-iso8859-1
  -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-normal-normal-*-18-*-0-iso8859-1
ftfont-list: -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-*-iso8859-1
  -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-normal-normal-*-0-iso8859-1
list: -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-*-normal-*-0-iso8859-1
  -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-normal-normal-*-0-iso8859-1
open: -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-normal-normal-*-0-iso8859-1
  -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-normal-normal-*-18-*-0-iso8859-1
list: -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-*-normal-normal-*-0-iso8859-1
  -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-normal-normal-*-0-iso8859-1
list: -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-*-normal-normal-*-0-iso8859-1
  -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-normal-normal-*-0-iso8859-1
list: -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-*-normal-normal-*-0-iso8859-1
  -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-normal-normal-*-0-iso8859-1
list: -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-*-normal-*-0-iso8859-1
  -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-normal-normal-*-0-iso8859-1

[-- Attachment #3: new-font-log --]
[-- Type: application/octet-stream, Size: 3342 bytes --]

ftfont-list: -adobe-courier-*-iso8859-1
list: -adobe-courier-medium-r-*-iso8859-1
ftfont-list: -adobe-fixed-*-iso8859-1
list: -adobe-fixed-medium-r-*-iso8859-1
ftfont-match: -adobe-courier-medium-r-*-16-*-iso8859-1
match: -adobe-courier-medium-r-*-120-*-iso8859-1
ftfont-list: -misc-fixed-*-c-*-iso8859-1
list: -misc-fixed-medium-r-normal-*-c-*-iso8859-1
ftfont-match: -misc-fixed-medium-r-normal-*-18-*-c-*-iso8859-1
match: -misc-fixed-medium-r-normal-*-140-*-c-*-iso8859-1
ftfont-list: -*-c-*-iso8859-1
  -unknown-ÎĶ¦PLϸÉϺ£ËÎUni-normal-normal-normal-*-0-iso8859-1
  -unknown-Penguin Attack-normal-normal-normal-*-0-iso8859-1
  -unknown-FreeSerif-normal-normal-normal-*-0-iso8859-1
  -bitstream-Bitstream Vera Serif-normal-normal-normal-*-0-iso8859-1
  -unknown-ÐÂËÎÌå-18030-normal-normal-normal-*-0-iso8859-1
  -unknown-FreeSerif-bold-italic-normal-*-0-iso8859-1
  -unknown-FreeSans-bold-normal-normal-*-0-iso8859-1
  -unknown-Dustismo Roman-bold-italic-normal-*-0-iso8859-1
  -unknown-FreeSerif-bold-normal-normal-*-0-iso8859-1
  -unknown-Dustismo Roman-normal-italic-normal-*-0-iso8859-1
  -bitstream-Bitstream Vera Sans-normal-oblique-normal-*-0-iso8859-1
  -bitstream-Bitstream Vera Sans-bold-normal-normal-*-0-iso8859-1
  -unknown-FreeSans-normal-oblique-normal-*-0-iso8859-1
  -unknown-FreeSans-normal-normal-normal-*-0-iso8859-1
  -bitstream-Bitstream Vera Sans-bold-oblique-normal-*-0-iso8859-1
  -unknown-FreeSans-bold-oblique-normal-*-0-iso8859-1
  -unknown-Dustismo Roman-normal-normal-normal-*-0-iso8859-1
  -unknown-Dustismo Roman-bold-normal-normal-*-0-iso8859-1
  -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-normal-normal-*-0-iso8859-1
  ...
list: -*-medium-r-normal-*-c-*-iso8859-1
  -unknown-ËÎÌå-18030-normal-normal-normal-*-0-iso8859-1
  -bitstream-Bitstream Vera Sans-normal-normal-normal-*-0-iso8859-1
  -unknown-ËÎÌå-·½Õý³¬´ó×Ö·û¼¯-normal-normal-normal-*-0-iso8859-1
  -unknown-Dustismo Roman-normal-normal-normal-*-0-iso8859-1
  -unknown-FreeSans-normal-normal-normal-*-0-iso8859-1
  -unknown-ÐÂËÎÌå-18030-normal-normal-normal-*-0-iso8859-1
  -bitstream-Bitstream Vera Serif-normal-normal-normal-*-0-iso8859-1
  -unknown-FreeSerif-normal-normal-normal-*-0-iso8859-1
  -unknown-Penguin Attack-normal-normal-normal-*-0-iso8859-1
  -unknown-ÎĶ¦PLϸÉϺ£ËÎUni-normal-normal-normal-*-0-iso8859-1
sort-by: -*-medium-r-normal-*-18-*-c-*-iso8859-1
  xft:-unknown-ËÎÌå-18030-normal-normal-normal-*-0-iso8859-1
open: -unknown-ËÎÌå-18030-normal-normal-normal-*-0-iso8859-1
  xft:-unknown-ËÎÌå-18030-normal-normal-normal-*-18-*-0-iso8859-1
ftfont-list: -unknown-ËÎÌå-18030-*-iso8859-1
  -unknown-ËÎÌå-18030-normal-normal-normal-*-0-iso8859-1
list: -unknown-ËÎÌå-18030-normal-*-normal-*-0-iso8859-1
  -unknown-ËÎÌå-18030-normal-normal-normal-*-0-iso8859-1
open: -unknown-ËÎÌå-18030-normal-normal-normal-*-0-iso8859-1
  xft:-unknown-ËÎÌå-18030-normal-normal-normal-*-18-*-0-iso8859-1
list: -unknown-ËÎÌå-18030-*-normal-normal-*-0-iso8859-1
  -unknown-ËÎÌå-18030-normal-normal-normal-*-0-iso8859-1
list: -unknown-ËÎÌå-18030-*-normal-normal-*-0-iso8859-1
  -unknown-ËÎÌå-18030-normal-normal-normal-*-0-iso8859-1
list: -unknown-ËÎÌå-18030-*-normal-normal-*-0-iso8859-1
  -unknown-ËÎÌå-18030-normal-normal-normal-*-0-iso8859-1
list: -unknown-ËÎÌå-18030-normal-*-normal-*-0-iso8859-1
  -unknown-ËÎÌå-18030-normal-normal-normal-*-0-iso8859-1

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Distances between characters become larger
  2008-06-19  7:23 Distances between characters become larger Herbert Euler
@ 2008-06-19  7:39 ` Herbert Euler
  2008-06-19  8:15 ` Kenichi Handa
  1 sibling, 0 replies; 6+ messages in thread
From: Herbert Euler @ 2008-06-19  7:39 UTC (permalink / raw)
  To: emacs-devel


> Meanwhile, the distances between characters become extremely
> larger.

More precisely, for each character C that

  (string-width (char-to-string c))

is 1, Emacs displays it as if the width were 2.

Regards,
Guanpeng Xu
_________________________________________________________________
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Distances between characters become larger
  2008-06-19  7:23 Distances between characters become larger Herbert Euler
  2008-06-19  7:39 ` Herbert Euler
@ 2008-06-19  8:15 ` Kenichi Handa
  2008-06-19  9:00   ` Herbert Euler
  1 sibling, 1 reply; 6+ messages in thread
From: Kenichi Handa @ 2008-06-19  8:15 UTC (permalink / raw)
  To: Herbert Euler; +Cc: emacs-devel

In article <BAY143-W6EF2C796588DE795F2107DAAA0@phx.gbl>, Herbert Euler <herberteuler@hotmail.com> writes:

> The newest CVS Emacs chooses a different font when started with the -Q
> option.  Meanwhile, the distances between characters become extremely
> larger.  I have configured to let the xft backend take precedence over
> the x backend by adding "Emacs*FontBackend: xft, x" into
> ~/.Xresources.

There should be no space after ",".  I'll fix the parsing
routine to allow extra spacing soon, but please try with
"xft,x" at the moment.

By the way, old-font-log says this is the first font opened:
  -unknown-宋体-方正超大字符集-normal-normal-normal-*-0-iso8859-1
and new-font-log says:
  -unknown-宋体-18030-normal-normal-normal-*-0-iso8859-1

Do you mean that the former is surely the font you want?

---
Kenichi Handa
handa@ni.aist.go.jp




^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Distances between characters become larger
  2008-06-19  8:15 ` Kenichi Handa
@ 2008-06-19  9:00   ` Herbert Euler
  2008-06-19 10:14     ` Thien-Thi Nguyen
  0 siblings, 1 reply; 6+ messages in thread
From: Herbert Euler @ 2008-06-19  9:00 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel


>> The newest CVS Emacs chooses a different font when started with the -Q
>> option.  Meanwhile, the distances between characters become extremely
>> larger.  I have configured to let the xft backend take precedence over
>> the x backend by adding "Emacs*FontBackend: xft, x" into
>> ~/.Xresources.
>
> There should be no space after ",".  I'll fix the parsing
> routine to allow extra spacing soon, but please try with
> "xft,x" at the moment.

After deleting the space, `emacs -Q' behaves exactly the same as the
behavior before the changing of preference to backends was introduced.
This means that, both the "old" behavior and the "new" behavior I
mentioned in previous mail are not what are supposed to be.  So it
doesn't count.

> By the way, old-font-log says this is the first font opened:
>   -unknown-宋体-方正超大字符集-normal-normal-normal-*-0-iso8859-1
> and new-font-log says:
>   -unknown-宋体-18030-normal-normal-normal-*-0-iso8859-1
>
> Do you mean that the former is surely the font you want?

I just notice that it is indeed not Emacs' fault of displaying all
characters as two units of width with the latter font, it is perhaps
due to my improper configuration of X and/or Font Config: Other
programs display characters as two units of width too with it.

As the result, I'm sure I prefer the former one over the latter one,
as long as I can't fix the display of the latter one for X.

Regards,
Guanpeng Xu
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Distances between characters become larger
  2008-06-19  9:00   ` Herbert Euler
@ 2008-06-19 10:14     ` Thien-Thi Nguyen
  2008-06-19 10:56       ` Herbert Euler
  0 siblings, 1 reply; 6+ messages in thread
From: Thien-Thi Nguyen @ 2008-06-19 10:14 UTC (permalink / raw)
  To: Herbert Euler; +Cc: emacs-devel

() Herbert Euler <herberteuler@hotmail.com>
() Thu, 19 Jun 2008 17:00:11 +0800

   deleting the space [...] doesn't count.

Did you do xrdb -merge ~/.Xresources after changing that file?

thi




^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Distances between characters become larger
  2008-06-19 10:14     ` Thien-Thi Nguyen
@ 2008-06-19 10:56       ` Herbert Euler
  0 siblings, 0 replies; 6+ messages in thread
From: Herbert Euler @ 2008-06-19 10:56 UTC (permalink / raw)
  To: Thien-Thi Nguyen; +Cc: emacs-devel


>    deleting the space [...] doesn't count.
> 
> Did you do xrdb -merge ~/.Xresources after changing that file?

Sure.  Otherwise changes aren't applied.

Regards,
Guanpeng Xu
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-06-19 10:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-19  7:23 Distances between characters become larger Herbert Euler
2008-06-19  7:39 ` Herbert Euler
2008-06-19  8:15 ` Kenichi Handa
2008-06-19  9:00   ` Herbert Euler
2008-06-19 10:14     ` Thien-Thi Nguyen
2008-06-19 10:56       ` Herbert Euler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).