Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Terminal.app font in X11?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Terminal.app font in X11?



On Mon, May 19, 2003 at 05:56:25PM -0400, robert delius royar wrote:
> On Mon, 19 May 2003 about 22:19 +0100 UTC Tim Cutts wrote:
>
> > Use the -fn and -fs options to xterm.  e.g.:
> >
> > xterm -fn monaco -fs 10
> >
> > You can also specify these as resources in your .Xdefaults file, e.g.:
> >
> > xterm*faceName: monaco
> > xterm*faceSize: 10
> >
> > Tim
>
> Have you tried this?  I have, and the response (from the console log is)
>  xterm:  unable to open font "monaco", trying "fixed"....
>
> I get similar responses when I try to use FreeType installed fonts also,
> even though I installed the FreeType directory and include it in my font
> path.  Maybe it just doesn't work on some systems?

It does, but I made a mistake.  This relates to my other post in this
thread this morning.  There are two distinct font handling mechanisms
compiled into apple's xterm.  One of them is the traditional X font
mechanism, which uses the -fn flag.  One of them is FreeType, which
gives you access to the native scalable (and antialiased) fonts, and
that uses the -fa and -fs options.  So, my command line was incorrect;
it asked for a UNIX-style font called Monaco.  None exists, so it
reverted to the default (fixed).  If you say:

xterm -fa monaco -fs 10

It should work.  Using FreeType fonts breaks some xterm functionality -
in particular the xterm menu which controls font size no longer works.

X11.app comes with a program called xfontsel which will show you all the
standard X fonts supplied on your system.  You'll see that it also
cannot see the Aqua native fonts.

Tim

--
Dr Tim Cutts
Informatics Systems Group
Wellcome Trust Sanger Institute, Hinxton, Cambridge, CB10 1SA, UK
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.

References: 
 >Terminal.app font in X11? (From: Graham Guttocks <email@hidden>)
 >Re: Terminal.app font in X11? (From: Tim Cutts <email@hidden>)
 >Re: Terminal.app font in X11? (From: robert delius royar <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.