all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Hansen <david.hansen@gmx.net>
To: emacs-devel@gnu.org
Subject: Emacs using weird double width font again for some non latin chars.
Date: Fri, 13 Jun 2008 23:02:51 +0200	[thread overview]
Message-ID: <878wx982v8.fsf@localhorst.mine.nu> (raw)


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





             reply	other threads:[~2008-06-13 21:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-13 21:02 David Hansen [this message]
2008-06-15  1:52 ` Emacs using weird double width font again for some non latin chars David Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878wx982v8.fsf@localhorst.mine.nu \
    --to=david.hansen@gmx.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.