all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* font selection
@ 2006-05-29 10:18 Gary Wessle
  2006-05-30 16:51 ` Kevin Rodgers
  0 siblings, 1 reply; 11+ 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] 11+ messages in thread

* Re: font selection
  2006-05-29 10:18 Gary Wessle
@ 2006-05-30 16:51 ` Kevin Rodgers
  0 siblings, 0 replies; 11+ 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] 11+ messages in thread

* emacs/cvs: keybindings broken
@ 2008-06-20 13:15 T. V. Raman
  2008-06-20 14:42 ` Stefan Monnier
  0 siblings, 1 reply; 11+ messages in thread
From: T. V. Raman @ 2008-06-20 13:15 UTC (permalink / raw)
  To: emacs-devel

This is when running on the Linux console.

A large number of builtin define-key deefinitions from emacs
appear to not work, cant tell what is special about the ones that
dont work.

But here are some examples:

0) Run M-x mspools -- and notice that 'n' 'p' and 'q' dont get
bound, they show up in the  keymap mspools-mode-map as cons
cells.
If you then do a define-key explicitly
(define-key mspools-map "q" 'mspools-quit)
it works, examining the keymap shows that the binding is inserted
in the array at the front.

Ditto with respect to calendar: notice that 'S' is no longer
invokes the sunrise/sunset command.

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs




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

* Re: emacs/cvs: keybindings broken
  2008-06-20 13:15 emacs/cvs: keybindings broken T. V. Raman
@ 2008-06-20 14:42 ` Stefan Monnier
  2008-06-21  2:46   ` T. V. Raman
  0 siblings, 1 reply; 11+ messages in thread
From: Stefan Monnier @ 2008-06-20 14:42 UTC (permalink / raw)
  To: raman; +Cc: emacs-devel

> Ditto with respect to calendar: notice that 'S' is no longer
> invokes the sunrise/sunset command.

Works for me,


        Stefan




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

* Re: emacs/cvs: keybindings broken
  2008-06-20 14:42 ` Stefan Monnier
@ 2008-06-21  2:46   ` T. V. Raman
  2008-06-21  3:51     ` Font Selection Florian Beck
  2008-06-21  4:18     ` emacs/cvs: keybindings broken Stefan Monnier
  0 siblings, 2 replies; 11+ messages in thread
From: T. V. Raman @ 2008-06-21  2:46 UTC (permalink / raw)
  To: monnier; +Cc: raman, emacs-devel

could you confirm that this works for you on the console?

I' still seeing these problems -- and in this case I dont have
any code of mine from emacspeak touching that layer 

>>>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca> writes:
    >> Ditto with respect to calendar: notice that 'S' is no
    >> longer invokes the sunrise/sunset command.
    Stefan> 
    Stefan> Works for me,
    Stefan> 
    Stefan> 
    Stefan>         Stefan

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs




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

* Font Selection
  2008-06-21  2:46   ` T. V. Raman
@ 2008-06-21  3:51     ` Florian Beck
  2008-06-21  4:18     ` emacs/cvs: keybindings broken Stefan Monnier
  1 sibling, 0 replies; 11+ messages in thread
From: Florian Beck @ 2008-06-21  3:51 UTC (permalink / raw)
  To: emacs-devel

Hi,

font selection still does not seem to work as expected. CVS checkout as
of 2008-06-19:

Execute this:

emacs -Q

(create-fontset-from-fontset-spec  "-*-DejaVu Serif-medium-r-normal-*-10-*-*-*-*-*-fontset-serif")
(set-default-font "fontset-serif")

Test:

ͰͱͲͳʹ͵Ͷͷ͸͹ͺͻͼͽ;Ϳ΀΁΂΃΄΅Ά·ΈΉΊ΋Ό΍ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξ

Check if set-fontset-font works for "fontset-serif":

(set-fontset-font "fontset-serif" 'greek (font-spec :family "Analecta" ))

Well, kind of. This only affects undefined characters. It *should* set
all greek characters to "Analecta" if this font defines them, should't
it? And "Analecta" *can* display these characters, eg:

(insert (propertize "Β" 'face '(:family "Analecta")))

Now test this (Kharoshthi, unicode range U+10A00 – U+10A5F   (68096–68191):

𐨀𐨁𐨂𐨃𐨄𐨅𐨆𐨇𐨈𐨉𐨊𐨋𐨌𐨍𐨎𐨏𐨐𐨑𐨒𐨓𐨔𐨕𐨖𐨗𐨘𐨙𐨚𐨛𐨜𐨝𐨞𐨟𐨠𐨡𐨢𐨣𐨤𐨥𐨦

I see only boxes, which is ok so far.

Now I set:

(set-fontset-font "fontset-serif" '(68096 . 68191) (font-spec :family "MPH 2B Damase"))

Nothing changes. I still only see only boxes. However, Emacs *can* display (most of) 
these characters with this font. Behold:

(insert (propertize "𐨀𐨁𐨂𐨃𐨄𐨅𐨆𐨇𐨈𐨉𐨊𐨋𐨌𐨍𐨎𐨏𐨐𐨑𐨒𐨓𐨔𐨕𐨖𐨗𐨘𐨙𐨚𐨛𐨜𐨝𐨞𐨟𐨠𐨡𐨢𐨣𐨤𐨥𐨦" 'face '(:family "MPH 2B Damase")))

What is going on?

-- 
Florian Beck

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

* Re: emacs/cvs: keybindings broken
  2008-06-21  2:46   ` T. V. Raman
  2008-06-21  3:51     ` Font Selection Florian Beck
@ 2008-06-21  4:18     ` Stefan Monnier
  1 sibling, 0 replies; 11+ messages in thread
From: Stefan Monnier @ 2008-06-21  4:18 UTC (permalink / raw)
  To: raman; +Cc: emacs-devel

> could you confirm that this works for you on the console?

Yes, same thing.  The description of the messed-up keymap seems to
indicate the problem is independent from the terminal in use.


        Stefan




^ permalink raw reply	[flat|nested] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ messages in thread

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-20 13:15 emacs/cvs: keybindings broken T. V. Raman
2008-06-20 14:42 ` Stefan Monnier
2008-06-21  2:46   ` T. V. Raman
2008-06-21  3:51     ` Font Selection Florian Beck
2008-06-21  4:18     ` emacs/cvs: keybindings broken Stefan Monnier
     [not found] <mailman.7733.1254283137.2239.help-gnu-emacs@gnu.org>
2009-09-30 23:01 ` font selection Tim X
  -- 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
2006-05-29 10:18 Gary Wessle
2006-05-30 16:51 ` Kevin Rodgers

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.