all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs using weird double width font again for some non latin chars.
@ 2008-06-13 21:02 David Hansen
  2008-06-15  1:52 ` David Hansen
  0 siblings, 1 reply; 2+ messages in thread
From: David Hansen @ 2008-06-13 21:02 UTC (permalink / raw
  To: emacs-devel


Hello,

this started after upgrading about an hour ago.  Line drawing chars,
math symbol and probably a lot other chars are displayed again in some
weird double width font.

This used to work for me before the last upgrade (except the "not
working" part):

  ;;; Fontset stuff
  (create-fontset-from-fontset-spec
   "-unknown-Monaco-normal-normal-normal-*-12-*-*-*-m-0-fontset-monaco")

  ;; Not working
  (set-fontset-font "fontset-default" #x60 "DejaVu Sans Mono")
  (set-fontset-font "fontset-monaco" #x60 "DejaVu Sans Mono")

  ;; Greek
  (set-fontset-font "fontset-default" '(#x370 . #x3ff) "DejaVu Sans Mono")
  (set-fontset-font "fontset-monaco" '(#x370 . #x3ff) "DejaVu Sans Mono")
  ;; Math symbols
  (set-fontset-font "fontset-default" '(#x2000 . #x27FF) "DejaVu Sans Mono")
  (set-fontset-font "fontset-monaco" '(#x2000 . #x27FF) "DejaVu Sans Mono")

  (push (cons 'font "fontset-monaco") default-frame-alist)
  (push (cons 'font "fontset-monaco") initial-frame-alist)

As you may have guessed i want to use ``Monaco'' for ASCII / Latin-1 and
``DejaVu Mono Sans'' for the rest.  Am I doing something wrong or is
Emacs screwed?

David





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

* Re: Emacs using weird double width font again for some non latin chars.
  2008-06-13 21:02 Emacs using weird double width font again for some non latin chars David Hansen
@ 2008-06-15  1:52 ` David Hansen
  0 siblings, 0 replies; 2+ messages in thread
From: David Hansen @ 2008-06-15  1:52 UTC (permalink / raw
  To: emacs-devel

On Fri, 13 Jun 2008 23:02:51 +0200 David Hansen wrote:
>
>   ;; Greek
>   (set-fontset-font "fontset-default" '(#x370 . #x3ff) "DejaVu Sans Mono")
>   (set-fontset-font "fontset-monaco" '(#x370 . #x3ff) "DejaVu Sans Mono")
>   ;; Math symbols
>   (set-fontset-font "fontset-default" '(#x2000 . #x27FF) "DejaVu Sans Mono")
>   (set-fontset-font "fontset-monaco" '(#x2000 . #x27FF) "DejaVu Sans Mono")

Works with

"-unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1"

instead of "DejaVu Sans Mono".  This it at least pretty weird...

David





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

end of thread, other threads:[~2008-06-15  1:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-13 21:02 Emacs using weird double width font again for some non latin chars David Hansen
2008-06-15  1:52 ` David Hansen

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.