unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joseph Garvin <k04jg02@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: How to load a font from a file?
Date: Thu, 29 Jan 2009 09:56:53 -0800 (PST)	[thread overview]
Message-ID: <47b358c1-f314-442e-a263-b9a7b8d1a377@d36g2000prf.googlegroups.com> (raw)

In the interest of making my emacs setup more portable, I'd like to be
able to set the current font by specifying a file rather than a font
name, i.e. "Load ~/config/myfont.ttf and use size 12". Is there a way
to do that in my .emacs? All the instructions I've found assume the
font is already installed on the system. I'm using the XFT support on
Linux, so a linux specific hack would be OK but I'd prefer something
that would work on all targets.


                 reply	other threads:[~2009-01-29 17:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=47b358c1-f314-442e-a263-b9a7b8d1a377@d36g2000prf.googlegroups.com \
    --to=k04jg02@gmail.com \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).