unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Carbon Font Size
@ 2005-04-09 16:23 Shug Boabby
  2005-04-11 21:55 ` Peter Dyballa
       [not found] ` <mailman.1110.1113255026.2895.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 9+ messages in thread
From: Shug Boabby @ 2005-04-09 16:23 UTC (permalink / raw)


hi there,

i wish to use a slightly larger font in the cvs OS X Carbon build, but
setting
  (set-default-font
"-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman")
makes my §±€ glyphs appear as empty boxes...

anyone know how i can get a working size 14 font? the default is nice,
its just too small.

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

* Re: Carbon Font Size
@ 2005-04-10 21:27 David Reitter
  0 siblings, 0 replies; 9+ messages in thread
From: David Reitter @ 2005-04-10 21:27 UTC (permalink / raw)
  Cc: Help-gnu-emacs

Shug Boabby wrote:

> i wish to use a slightly larger font in the cvs OS X Carbon build,

create a font set first:

(create-fontset-from-fontset-spec
"-apple-monaco-medium-r-normalx-14-*-*-*-*-*-fontset-monaco14,
ascii:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-*,
latin-iso8859-1:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac- 
*")

then set the font to that newly created fontset. You can try it out  
with the Options / Set Font/Fontset function.

-- Dave

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

* Re: Carbon Font Size
       [not found] <mailman.1007.1113166921.2895.help-gnu-emacs@gnu.org>
@ 2005-04-10 23:04 ` Shug Boabby
  2005-04-11 18:44   ` Shug Boabby
  2005-04-11 21:59   ` Peter Dyballa
  0 siblings, 2 replies; 9+ messages in thread
From: Shug Boabby @ 2005-04-10 23:04 UTC (permalink / raw)


€ still appears as an empty box

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

* Re: Carbon Font Size
@ 2005-04-11 17:27 David Reitter
  0 siblings, 0 replies; 9+ messages in thread
From: David Reitter @ 2005-04-11 17:27 UTC (permalink / raw)
  Cc: Help-gnu-emacs

Shug -

> ? still appears as an empty box

OK, I suggest you try the AquaMacs distribution, which comes  
preconfigured.

Official site is

http://www.wordtech-software.com/Aquamacs.html

(but this is offline right now)

Description is here:

http://www.davids-world.com/archives/2005/04/aquamacs_an_ema.html

Download from here:

http://www.apple.com/downloads/macosx/unix_open_source/ 
aquamacsdistributionofemacs.html

Cheers
Dave

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

* Re: Carbon Font Size
  2005-04-10 23:04 ` Shug Boabby
@ 2005-04-11 18:44   ` Shug Boabby
  2005-04-11 21:59   ` Peter Dyballa
  1 sibling, 0 replies; 9+ messages in thread
From: Shug Boabby @ 2005-04-11 18:44 UTC (permalink / raw)


> OK, I suggest you try the AquaMacs distribution, which comes
preconfigured.

no thanks, i don't like it much. i changed my OS X bindings to be more
emacs like, i have no intention of then running an emacs distro which
aims to copy the OS X original bindings.

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

* Re: Carbon Font Size
  2005-04-09 16:23 Carbon Font Size Shug Boabby
@ 2005-04-11 21:55 ` Peter Dyballa
       [not found] ` <mailman.1110.1113255026.2895.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 9+ messages in thread
From: Peter Dyballa @ 2005-04-11 21:55 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 09.04.2005 um 18:23 schrieb Shug Boabby:

> anyone know how i can get a working size 14 font?

First you need to know which fonts your system has. This can be done in 
Emacs: M-x set-frame-font RET TAB TAB. A *Completions* buffer will 
open. Save it at once!

Now you know your fonts. What you need now are the encodings. M-x 
list-coding-systems. Save the *Help* buffer too! So you can create your 
own fontsets now:

	(create-fontset-from-fontset-spec
	"-*-lucida sans typewriter 
regular-medium-r-*-*-0-*-*-*-*-*-fontset-14pt_lucida_sans_typewriter,
              latin-iso8859-1:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
              latin-iso8859-2:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
              latin-iso8859-3:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
              latin-iso8859-4:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
              latin-iso8859-5:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
              latin-iso8859-6:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
              latin-iso8859-7:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
              latin-iso8859-8:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
              latin-iso8859-9:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
             latin-iso8859-12:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
             latin-iso8859-13:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
             latin-iso8859-14:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
             latin-iso8859-15:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
             latin-iso8859-16:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
              mac-roman-lower:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
              mac-roman-upper:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
       mule-unicode-0100-24ff:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
       mule-unicode-2500-33ff:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
       mule-unicode-e000-ffff:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
                   iso10646-1:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic,
                        ascii:-*-lucida sans typewriter 
regular-medium-r-*-mac-cyrillic" t 'noerror)

This one uses a font that has only default (bitmap) size. This encoding 
is only determined by newer Emacsen, some elder ones see that it is 
probably more correct a Mac-Roman and Windows-Unicode encoded TrueType 
font.

	(create-fontset-from-fontset-spec
	"-*-courier-medium-r-*-*-14-*-*-*-*-*-fontset-14pt_bitstream_courier,
              latin-iso8859-1:-*-courier-*-14-*-mac-roman,
              latin-iso8859-2:-*-courier-*-14-*-mac-roman,
              latin-iso8859-3:-*-courier-*-14-*-mac-roman,
              latin-iso8859-4:-*-courier-*-14-*-mac-roman,
              latin-iso8859-5:-*-courier ce-*-14-*-mac-roman,
              latin-iso8859-6:-*-courier-*-14-*-mac-roman,
              latin-iso8859-7:-*-courier-*-14-*-mac-roman,
              latin-iso8859-8:-*-courier-*-14-*-mac-roman,
              latin-iso8859-9:-*-courier-*-14-*-mac-roman,
             latin-iso8859-10:-*-courier-*-14-*-mac-roman,
             latin-iso8859-13:-*-courier-*-14-*-mac-roman,
             latin-iso8859-14:-*-courier-*-14-*-mac-roman,
             latin-iso8859-15:-*-courier-*-14-*-mac-roman,
             latin-iso8859-16:-*-courier-*-14-*-mac-roman,
              mac-roman-lower:-*-courier-*-14-*-mac-roman,
              mac-roman-upper:-*-courier-*-14-*-mac-roman,
       mule-unicode-0100-24ff:-*-courier-*-14-*-mac-roman,
       mule-unicode-2500-33ff:-*-courier-*-14-*-mac-roman,
       mule-unicode-e000-ffff:-*-courier-*-14-*-mac-roman,
                   iso10646-1:-*-courier-*-14-*-mac-roman,
                        ascii:-*-courier-*-14-*-mac-roman" t 'noerror)

Here two fonts are used to create one fontset. These fonts have more 
than one (bitmap) size, so I can use it in different sizes.

You actively use these fontsets via M-x set-frame-fontset or in .emacs:

	(setq initial-frame-alist '(
	  (mouse-color	  . "midnightblue")
	  (foreground-color . "grey20")
	  (background-color . "alice blue")
	  (font . "fontset-12pt_bitstream_courier")
	  (top . 10) (left . 650) (width . 89) (height . 60)))
	(setq default-frame-alist '(
	  (background-color . "ghost white")
	  (foreground-color . "grey10")
	  (vertical-scroll-bars . left)
	  (font . "fontset-12pt_bitstream_courier")
	  (cursor-color . "purple")
	  (vertical-scroll-bars . left)
	  (cursor-type . box)
	  (top . 20) (left . 150) (width . 89) (height . 56)))

Just for your imagination ...


--
Greetings

   Pete

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

* Re: Carbon Font Size
  2005-04-10 23:04 ` Shug Boabby
  2005-04-11 18:44   ` Shug Boabby
@ 2005-04-11 21:59   ` Peter Dyballa
  1 sibling, 0 replies; 9+ messages in thread
From: Peter Dyballa @ 2005-04-11 21:59 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 11.04.2005 um 01:04 schrieb Shug Boabby:

> € still appears as an empty box
>

You probably know it's in either Unicode ISO 10646-1 at U+20AC or in 
ISO Latin-9/ISO 8859-15 at "U+00A4" ...

--
Greetings

   Pete

Chicago, n.:
         Where the dead still vote ... early and often!

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

* Re: Carbon Font Size
       [not found] ` <mailman.1110.1113255026.2895.help-gnu-emacs@gnu.org>
@ 2005-04-11 22:23   ` Shug Boabby
  2005-04-11 22:53     ` Peter Dyballa
  0 siblings, 1 reply; 9+ messages in thread
From: Shug Boabby @ 2005-04-11 22:23 UTC (permalink / raw)


thanks very much peter, that got it working. however it took:

(create-fontset-from-fontset-spec
 "-apple-monaco-medium-r-normal--14-*-*-*-*-*-fontset-monaco14,

latin-iso8859-1:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

latin-iso8859-2:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

latin-iso8859-3:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

latin-iso8859-4:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

latin-iso8859-5:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

latin-iso8859-6:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

latin-iso8859-7:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

latin-iso8859-8:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

latin-iso8859-9:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

latin-iso8859-10:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

latin-iso8859-13:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

latin-iso8859-14:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

latin-iso8859-15:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

latin-iso8859-16:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

mac-roman-lower:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

mac-roman-upper:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,
mule-unicode-0100-24ff:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,
mule-unicode-2500-33ff:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,
mule-unicode-e000-ffff:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

iso10646-1:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman,

ascii:-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman" t
'noerror)
(set-default-font "fontset-monaco14")

and that is just a joke!!! there *must* be an easier and cleaner way to
increase a fontsize for TTFs!

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

* Re: Carbon Font Size
  2005-04-11 22:23   ` Shug Boabby
@ 2005-04-11 22:53     ` Peter Dyballa
  0 siblings, 0 replies; 9+ messages in thread
From: Peter Dyballa @ 2005-04-11 22:53 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 12.04.2005 um 00:23 schrieb Shug Boabby:

> there *must* be an easier and cleaner way to increase a fontsize for 
> TTFs!

True! A translator, another interface, is needed to make real use of 
the Mac OS X fonts, one that understands AAT (Apple Advanced 
Typography) and another one that can deal with TrueType and OpenType 
fonts in a more natural way, not going over X11. GNU Emacs 25.x?

It is planned to make one of the next GNU Emacs versions a real Unicode 
savvy application, one that does not need fontsets. That could be the 
entry point for a new way of font handling too.

--
Greetings

   Pete

The human brain operates at only 10% of its capacity. The rest is 
overhead for the operating system.

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

end of thread, other threads:[~2005-04-11 22:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-09 16:23 Carbon Font Size Shug Boabby
2005-04-11 21:55 ` Peter Dyballa
     [not found] ` <mailman.1110.1113255026.2895.help-gnu-emacs@gnu.org>
2005-04-11 22:23   ` Shug Boabby
2005-04-11 22:53     ` Peter Dyballa
  -- strict thread matches above, loose matches on Subject: below --
2005-04-10 21:27 David Reitter
     [not found] <mailman.1007.1113166921.2895.help-gnu-emacs@gnu.org>
2005-04-10 23:04 ` Shug Boabby
2005-04-11 18:44   ` Shug Boabby
2005-04-11 21:59   ` Peter Dyballa
2005-04-11 17:27 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).