unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* font selection
@ 2006-05-29 10:18 Gary Wessle
  2006-05-30 16:51 ` Kevin Rodgers
  0 siblings, 1 reply; 6+ messages in thread
From: Gary Wessle @ 2006-05-29 10:18 UTC (permalink / raw)


Hi

I am trying to replace the font I now see using emacs to 
-bitstream-bitstream charter-medium-*-normal-*-17-120-*-*-*-0-iso8859-1
which I got using xfontsel.
now in *Customize Group: Basic Faces* I donot have all those
attributes in-order to set, the attributes I was expecting are what I
notices from xfontsel,
fndry-fmly-wght-slant-sWdth-adstyl-pxlsz-ptSz-resx-resy-spc-avgWdth-rgstry-encodng

what should I do?

thanks

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

* Re: font selection
  2006-05-29 10:18 font selection Gary Wessle
@ 2006-05-30 16:51 ` Kevin Rodgers
  0 siblings, 0 replies; 6+ messages in thread
From: Kevin Rodgers @ 2006-05-30 16:51 UTC (permalink / raw)


Gary Wessle wrote:
> I am trying to replace the font I now see using emacs to 
> -bitstream-bitstream charter-medium-*-normal-*-17-120-*-*-*-0-iso8859-1
> which I got using xfontsel.
> now in *Customize Group: Basic Faces* I donot have all those
> attributes in-order to set, the attributes I was expecting are what I
> notices from xfontsel,
> fndry-fmly-wght-slant-sWdth-adstyl-pxlsz-ptSz-resx-resy-spc-avgWdth-rgstry-encodng
> 
> what should I do?

Put this in your $HOME/.Xdefaults file:

Emacs*Font: -bitstream-bitstream 
charter-medium-*-normal-*-17-120-*-*-*-0-iso8859-1

-- 
Kevin

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

* font selection
@ 2009-09-29  8:06 Frédéric Boiteux
  2009-09-30  8:23 ` Peter Dyballa
  2009-09-30  8:31 ` Jaideep Das
  0 siblings, 2 replies; 6+ messages in thread
From: Frédéric Boiteux @ 2009-09-29  8:06 UTC (permalink / raw)
  To: help-gnu-emacs

	Hello,

  I've recently shifted to Emacs23, and have some problems with font
selection, until I remember it's set in X resources. Is it possible to select
fonts from the init.el / custom.el specific Emacs config files ? it would be
simpler from my POV…

  Thanks for any tip about this, else full thanks to the emacs devs !
	Fred.






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

* Re: font selection
  2009-09-29  8:06 Frédéric Boiteux
@ 2009-09-30  8:23 ` Peter Dyballa
  2009-09-30  8:31 ` Jaideep Das
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2009-09-30  8:23 UTC (permalink / raw)
  To: Frédéric Boiteux; +Cc: help-gnu-emacs


Am 29.09.2009 um 10:06 schrieb Frédéric Boiteux:

> Is it possible to select fonts from the init.el / custom.el  
> specific Emacs config files ?


Yes. In for example

         (setq initial-frame-alist '(
           (mouse-color           . "midnightblue")
           (foreground-color      . "grey20")
           (background-color      . "alice blue")
           (internal-border-width . 2)
           (line-spacing          . 1)
           (active-alpha          . 0.875)
           (inactive-alpha        . 0.75)
           (top . 25) (left . 650) (width . 91) (height . 50)))
         (setq default-frame-alist '(
           (border-color          . "#4e3831")
           (foreground-color      . "grey10")
           (background-color      . "ghost white")
           (vertical-scroll-bars  . left)
           (cursor-color          . "purple")
           (cursor-type           . box)
           (active-alpha          . 0.75)
           (inactive-alpha        . 0.875)
           (top . 50) (left . 150) (width . 89) (height . 56)))

you can also put elements like

           (font . "-apple-courier std-medium-r-normal--0-0-0-0-m-0- 
mac-roman")

or

           (font . "fontset-osaka")

and there is also the option:

	(set-frame-font "-apple-courier-medium-r-normal--14-*-*-*-*-*- 
fontset-14pt_bitstream_courier" 'keep)


The fontsets can be built in your init file as well.

--
Greetings

   Pete

      _o    o         o   o
    _<<     \\_/\_,   \\_ \\_/\_,
   (*)/(*) (*)   (*) (*) `-    (*)







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

* Re: font selection
  2009-09-29  8:06 Frédéric Boiteux
  2009-09-30  8:23 ` Peter Dyballa
@ 2009-09-30  8:31 ` Jaideep Das
  1 sibling, 0 replies; 6+ messages in thread
From: Jaideep Das @ 2009-09-30  8:31 UTC (permalink / raw)
  To: Help-gnu-emacs


I have the following line in my .emacs file for the default font setting:
(set-face-attribute 'default nil :height 100)

I hope this is useful to you.
-- 
View this message in context: http://www.nabble.com/font-selection-tp25674674p25676963.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





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

* Re: font selection
       [not found] <mailman.7733.1254283137.2239.help-gnu-emacs@gnu.org>
@ 2009-09-30 23:01 ` Tim X
  0 siblings, 0 replies; 6+ messages in thread
From: Tim X @ 2009-09-30 23:01 UTC (permalink / raw)
  To: help-gnu-emacs

Frédéric Boiteux <fboiteux@free.fr> writes:

> 	Hello,
>
>   I've recently shifted to Emacs23, and have some problems with font
> selection, until I remember it's set in X resources. Is it possible to select
> fonts from the init.el / custom.el specific Emacs config files ? it would be
> simpler from my POV…
>
>   Thanks for any tip about this, else full thanks to the emacs devs !
> 	Fred.
>
You can use the font selection option from the 'Options' menu. This
will provide a GTK font selection box and if, after selecting a font,
you save it, it will be saved into your .emacs file.

Tim
>
>
>

-- 
tcross (at) rapttech dot com dot au


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

end of thread, other threads:[~2009-09-30 23:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-29 10:18 font selection Gary Wessle
2006-05-30 16:51 ` Kevin Rodgers
  -- strict thread matches above, loose matches on Subject: below --
2009-09-29  8:06 Frédéric Boiteux
2009-09-30  8:23 ` Peter Dyballa
2009-09-30  8:31 ` Jaideep Das
     [not found] <mailman.7733.1254283137.2239.help-gnu-emacs@gnu.org>
2009-09-30 23:01 ` Tim X

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).