all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* font-selection seems broken for many non-ascii charsets
@ 2006-02-06  2:47 Miles Bader
       [not found] ` <E1F68sa-0000AL-Hl@fencepost.gnu.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Miles Bader @ 2006-02-06  2:47 UTC (permalink / raw)


Sometime recently, font selection (and some other stuff) seems to have
broken for me in many cases -- in particular, Japanese and most other
non-ascii fonts now render completely as empty boxes, though they worked
fine for many years previously.  [Chinese, Thai, and some european
characters still display correctly though.]

Also for some reason Emacs seems to default to using black-and-white
versions of things like icons and the startup splash screen picture,
though I have a true-color display.

I'm not exactly sure how to debug this; it could very well be a change
in my system -- though I have lots of fonts installed (both scalable and
bitmap, and I have "scalable-fonts-allowed" set to t), I've recently
upgraded to X version 6.9 (from x.org), which reflects a somewhat large
change in the packaging of X.

Any hints about useful things to for debugging?

There also seems to be a weird disconnect between what "x-list-fonts"
says and what will be accepted by `M-x set-default-font':  for instance,
the font "shinonome-gothic", which I previously used to use a lot, is
present:

   (x-list-fonts "*-shinonome-gothic-medium-r-*-16-*")
   => ("-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1" "-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-jisx0201.1976-0" "-shinonome-gothic-medium-r-normal--16-150-75-75-c-160-jisx0208.1983-0" "-shinonome-gothic-medium-r-normal--16-150-75-75-c-160-jisx0208.1990-0")

But if I try to use it:  

   (set-default-font (car (x-list-fonts "*-shinonome-gothic-medium-r-*-16-*")))

   Debugger entered--Lisp error: (error "Font `-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1' is not defined")
     modify-frame-parameters(#<frame emacs@dhapc248.dev.necel.com 0x85e1d98> ((font . "-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1")))
     set-default-font("-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1")
     eval((set-default-font (car (x-list-fonts "*-shinonome-gothic-medium-r-*-16-*"))))

...

help?

Thanks,

-Miles
-- 
"Whatever you do will be insignificant, but it is very important that
 you do it."  Mahatma Gandhi

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

* Re: font-selection seems broken for many non-ascii charsets
       [not found] ` <E1F68sa-0000AL-Hl@fencepost.gnu.org>
@ 2006-02-07  9:45   ` Miles Bader
  0 siblings, 0 replies; 2+ messages in thread
From: Miles Bader @ 2006-02-07  9:45 UTC (permalink / raw)
  Cc: Emacs-Devel

2006/2/7, Richard M. Stallman <rms@gnu.org>:
>        (set-default-font (car (x-list-fonts "*-shinonome-gothic-medium-r-*-16-*")))
>        Debugger entered--Lisp error: (error "Font `-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1' is not defined")
>
> That ought to be pretty straightforward to debug, no?

You are absolutely right -- but the problem seems to have gone away. 
When I came into work this morning, X failed to start, and after
everything was finally working again, Emacs worked fine too.

Part of the problem with X was that some symlinks used in the font
paths had been removed, so I'll tentatively say that the problem was
with that, not Emacs (though for some reason, only Emacs seemed
affected yesterday, no other apps had problems).

Thanks,

-Miles
--
Do not taunt Happy Fun Ball.

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

end of thread, other threads:[~2006-02-07  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-06  2:47 font-selection seems broken for many non-ascii charsets Miles Bader
     [not found] ` <E1F68sa-0000AL-Hl@fencepost.gnu.org>
2006-02-07  9:45   ` Miles Bader

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.