From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Carl-Erik <carlerik@gmail.com>
Cc: Help-gnu-emacs@gnu.org
Subject: Re: [Win32] Font issues - not showing all fonts available
Date: Sat, 20 Dec 2008 18:43:20 +0100 [thread overview]
Message-ID: <D30A8E97-43CE-4F28-95A8-FE4E9ABB0797@Web.DE> (raw)
In-Reply-To: <21092771.post@talk.nabble.com>
Am 19.12.2008 um 16:03 schrieb Carl-Erik:
> So what I am wondering is how to add/select fonts that are not
> available in
> the drop down menu.
The name of the structure that is handled by this menu is x-fixed-
font-alist, via the function mouse-set-font, as defined in mouse.el.
You could do it as simplistic as I do:
(setq x-fixed-font-alist
'("X11 Font Menu"
("Misc fixed"
;; For these, we specify the pixel height and width.
("«ProFont»" "»ProFont«")
("ISO 10646-1" "-misc-profontwindows-medium-r-normal--0-*-*-*-
m-*-iso10646-1" "ISO 10646-1")
("ISO 8859-15" "-misc-profontwindows-medium-r-normal--0-*-*-*-
m-*-iso8859-15" "ISO 8859-15")
("fcd 8859-15" "-misc-profontwindows-medium-r-normal--0-*-*-*-
m-*-fcd8859-15" "fcd 8859-15")
("ISO 8859-9" "-misc-profontwindows-medium-r-normal--0-*-*-*-
m-*-iso8859-9" "ISO 8859-9")
("ISO 8859-1" "-misc-profontwindows-medium-r-normal--0-*-*-*-
m-*-iso8859-1" "ISO 8859-1")
("ASCII-0" "-misc-profontwindows-medium-r-normal--0-*-*-*-
m-*-ascii-0" "ASCII-0")
; ("»Microsoft-CP1252«")
; ( "0" "-windows-profontwindows-medium-r-normal--0-*-*-*-c-*-
microsoft-cp1252" "0")
; ("10" "-windows-profontwindows-medium-r-normal--10-*-*-*-c-*-
microsoft-cp1252" "10")
; ("11" "-windows-profontwindows-medium-r-normal--11-*-*-*-c-*-
microsoft-cp1252" "11")
; ("12" "-windows-profontwindows-medium-r-normal--12-*-*-*-c-*-
microsoft-cp1252" "12")
; ("15" "-windows-profontwindows-medium-r-normal--15-*-*-*-c-*-
microsoft-cp1252" "15")
; ("17" "-windows-profontwindows-medium-r-normal--17-*-*-*-c-*-
microsoft-cp1252" "17")
; ("22" "-windows-profontwindows-medium-r-normal--22-*-*-*-c-*-
microsoft-cp1252" "22")
; ("27" "-windows-profontwindows-medium-r-normal--29-*-*-*-c-*-
microsoft-cp1252" "27")
; ("»iso8859-1«")
; ( "0" "-nil-profont-medium-r-normal--0-*-*-*-c-*-iso8859-1"
"0")
; ("10" "-nil-profont-medium-r-normal--10-*-*-*-c-*-iso8859-1"
"10")
; ("11" "-nil-profont-medium-r-normal--11-*-*-*-c-*-iso8859-1"
"11")
; ("12" "-nil-profont-medium-r-normal--12-*-*-*-c-*-iso8859-1"
"12")
; ("15" "-nil-profont-medium-r-normal--15-*-*-*-c-*-iso8859-1"
"15")
; ("17" "-nil-profont-medium-r-normal--17-*-*-*-c-*-iso8859-1"
"17")
; ("22" "-nil-profont-medium-r-normal--22-*-*-*-c-*-iso8859-1"
"22")
; ("27" "-nil-profont-medium-r-normal--29-*-*-*-c-*-iso8859-1"
"27")
; ("")
("fixed" "fixed")
....
--
Greetings
Pete
Build a man a fire and he'll be warm for a night, but set a man on
fire and he'll be warm for the rest of his life.
next prev parent reply other threads:[~2008-12-20 17:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-19 15:03 [Win32] Font issues - not showing all fonts available Carl-Erik
2008-12-20 17:43 ` Peter Dyballa [this message]
[not found] <mailman.3137.1229717165.26697.help-gnu-emacs@gnu.org>
2008-12-19 22:13 ` Chris McMahan
2008-12-20 11:04 ` harven
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=D30A8E97-43CE-4F28-95A8-FE4E9ABB0797@Web.DE \
--to=peter_dyballa@web.de \
--cc=Help-gnu-emacs@gnu.org \
--cc=carlerik@gmail.com \
/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.