[comp.sys.mac.programmer] Changing THINK C default font

jxf@altair.cis.ksu.edu (Jerry Frain) (11/13/90)

I know this has been posted before (though I think it has been a while),
so pardon me for bringing up old material.

Would someone please tell me how to change the default font for the THINK C
editor?  I am using THINK C 4.0 (or whatever the newest patch level is).

I believe I need to use ResEdit to change one of the resources in the
THINK C executable, but I can't remember (or find) exactly where or what
needs to be changed.

Replies should probably probably be emailed to me, since this topic
has been covered before.  I'd be more than happy to summarize if
there's any interest.

Thanks in advance.

  --Jerry

--
Jerry Frain -- Systems Programmer               Kansas State University
                                        Department of Computing & Info Sciences
Internet : jxf@cis.ksu.edu                         Manhattan, Kansas
UUCP     : ...!rutgers!ksuvax1!jxf

naz@ksuvax1 (Nazareth Karjian) (11/14/90)

In article <1990Nov13.034150.14517@maverick.ksu.ksu.edu> jxf@altair.cis.ksu.edu (Jerry Frain) writes:

> Would someone please tell me how to change the default font for the THINK C
> editor?  I am using THINK C 4.0 (or whatever the newest patch level is).
> 
> Replies should probably probably be emailed to me, since this topic
                 ^^^^^^^^^^^^^^^^^
Twice?   :-)

This may not be the best way to do this, but you can use F/DA Mover to 
attach the font you want to the application itself (don't forget the
option key).  You can then use ResEdit to change the font ID to 4, since
that's what the THINK C editor looks for as its default.


--
:-)

jmattson@spdcc.COM (Jeff Mattson) (11/14/90)

In article <1990Nov13.034150.14517@maverick.ksu.ksu.edu> jxf@altair.cis.ksu.edu (Jerry Frain) writes:

> Would someone please tell me how to change the default font for the THINK C
> editor?  I am using THINK C 4.0 (or whatever the newest patch level is).

This is from the manual, page 98:

NOTE: To change the default font and tab settings, use ResEdit to
modify the CNFG 0 resource in the THINK C application. The second,
third, and fourth words of this resource specify the font number,
font size, and tab width, respectively, used for newly created
Untitled windows.

Someday, we'll get around to indexing these manuals properly...

Invader@cup.portal.com (Michael K Donegan) (11/16/90)

Changing only the font does nothing, you must also pick a default size in
the third word of the CNFG(0) resource.  Then it works like a champ.
	mkd