all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: fontsets on w32 emacs (ver 22.3)
Date: Fri, 20 Nov 2009 18:07:39 -0600	[thread overview]
Message-ID: <NYOdnWj4b8DfsprWnZ2dnUVZ_umdnZ2d@sysmatrix.net> (raw)

Is it possible to construct fontsets out of ttf fonts or do they have to
be bdf on w32 emacs also? For instance, could I make a fontset that
includes all the characters from Arial Unicode and supplements them with
some from Code2000 or Code2001?

I found this code on the emacs wiki:

 ;; "Greek extended"  U+1F00 - U+1FEF
    (set-fontset-font "fontset-standard"
                      (cons (decode-char 'ucs #x1f00)
                            (decode-char 'ucs #x1fef))
                      "-*-palatino
linotype-*-*-r-*-14-*-*-*-*-*-iso10646-1")

;; is the above referring to a bdf Palatino font?

Will something like this also work on w32 emacs? I already have:

(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(default ((t (:stipple nil :background "ghostwhite" :foreground
"black" :inverse-video nil :box nil :strike-through nil :overline nil
:underline nil :slant normal :weight normal :height 108 :width normal
:family "outline-arial unicode ms")))))



(make-frame '((name . "courier")
           (top . 1) (left . 1) (width . 123) (height . 18)
           (visibility . icon) ; nil or icon
     ))

(select-frame-by-name "courier")
(set-frame-font "-outline-Courier
New-normal-r-normal-normal-*-*-96-96-c-*-iso10646-1")

Could I add a unicode range to these without disturbing the method that
choses glyphs from those two fonts for the two named frames? Are there
examples on web somewhere?

Thanks,

Ed


             reply	other threads:[~2009-11-21  0:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-21  0:07 B. T. Raven [this message]
2009-11-23  1:07 ` fontsets on w32 emacs (ver 22.3) Jason Rumney
2009-11-24  4:22   ` B. T. Raven

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=NYOdnWj4b8DfsprWnZ2dnUVZ_umdnZ2d@sysmatrix.net \
    --to=nihil@nihilo.net \
    --cc=help-gnu-emacs@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.