unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* What determines the available font sizes?
@ 2005-06-06  0:19 Chris Page
  2005-06-06  9:52 ` Peter Dyballa
       [not found] ` <mailman.3503.1118052059.25862.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 8+ messages in thread
From: Chris Page @ 2005-06-06  0:19 UTC (permalink / raw)


What determines which font sizes are available to emacs? Is there some 
finite set of sizes it supports?

I'd like to use Monaco 11 on Mac OS X, but I can only seem to get 10 and 
12 pt sizes. If I define a fontset for Monaco 11, or customize a face to 
use "monaco" "110", it gets displayed the same as 10 or 12. There 
doesn't seem to be a way to access Monaco at 11 pts.

-- 
Chris Page - Software Wrangler - Dylan Pundit

 Open Source Dylan Compilers: <http://www.gwydiondylan.org/>
              Dylan Blogging: <http://homepage.mac.com/chrispage/iblog/>
                 Dylan Stuff: <http://cafepress.com/chrispage>

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: What determines the available font sizes?
@ 2005-06-08 14:58 David Reitter
  2005-06-08 15:24 ` Peter Dyballa
  0 siblings, 1 reply; 8+ messages in thread
From: David Reitter @ 2005-06-08 14:58 UTC (permalink / raw)
  Cc: Peter Dyballa

Peter Dyballa:

>> Is there some finite set of sizes it supports?
>
> With create-fontset-from-fontset-spec there certainly is. I think  
> this function can only retrieve the bitmapped fonts from a font  
> suitcase.

The big question is now: how to include, say, a scalable cyrillic  
font in a font set in arbitrary font sizes?
create-fontset-from-mac-roman-font seems to support only ASCII fonts,  
as it uses create-fontset-from-ascii-font.

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: What determines the available font sizes?
@ 2005-06-08 15:03 David Reitter
  0 siblings, 0 replies; 8+ messages in thread
From: David Reitter @ 2005-06-08 15:03 UTC (permalink / raw)
  Cc: Help-gnu-emacs

> > With create-fontset-from-fontset-spec there certainly is. I think  
> this
> > function can only retrieve the bitmapped fonts from a font suitcase.
>
> Well, I suppose that's my answer, then. There is no bitmap for 11pt
> Monaco, I don't think. Then again, I'm using Aquamacs, which uses
> anti-aliased outline fonts. I suppose it's still limiting the  
> available
> font sizes to those with bitmaps. I wonder how I might overcome that
> unfortunate limitation.


You can add this to your file ~/Library/Preferens/Aquamacs Emacs/ 
Preferences.el :

(condition-case e
     (create-fontset-from-fontset-spec
      "-apple-monaco*-medium-r-normal--11-*-*-*-*-*-fontset-monaco11,
     ascii:-apple-monaco*-medium-r-normal--11-110-75-75-m-120-mac-*,
     latin-iso8859-1:-apple-monaco*-medium-r-normal--11-110-75-75- 
m-120-mac-*,
     latin-iso8859-9:-apple-monaco*-medium-r-normal--11-110-75-75- 
m-120-mac-*,
     utf-8:-apple-monaco*-medium-r-normal--11-110-75-75-m-120-mac-*,
     " nil t)
   (error (print (list "Warning: " e))))


That should give you a size 11.
Peter's solution should work, too.

- Dave

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

end of thread, other threads:[~2005-06-08 19:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-06  0:19 What determines the available font sizes? Chris Page
2005-06-06  9:52 ` Peter Dyballa
     [not found] ` <mailman.3503.1118052059.25862.help-gnu-emacs@gnu.org>
2005-06-06 10:24   ` Chris Page
  -- strict thread matches above, loose matches on Subject: below --
2005-06-08 14:58 David Reitter
2005-06-08 15:24 ` Peter Dyballa
2005-06-08 15:37   ` David Reitter
2005-06-08 19:22     ` Peter Dyballa
2005-06-08 15:03 David Reitter

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