[comp.sys.mac] MacDraw type defaults

barry@hcx1.SSD.HARRIS.COM (01/05/89)

Hello...
I apologize if this has been discussed recently,
but does anyone know of a way to change the default
typeface in MacDraw? I never use Geneva in my documents
so I would like to make a permanent change to something 
else (if it is legal to do so). 
Thank you for responding.

--
Barry Lyden
barry@hcx1.SSD.HARRIS.COM
"The opinions expressed here are solely my own and
 do not necessarily reflect those of my employer."

adchen@phoenix.Princeton.EDU (Anthony Dunyeh Chen) (01/13/89)

In article <49800022@hcx1> barry@hcx1.SSD.HARRIS.COM writes:
>
>Hello...
>I apologize if this has been discussed recently,
>but does anyone know of a way to change the default
>typeface in MacDraw? I never use Geneva in my documents
>so I would like to make a permanent change to something 
>else (if it is legal to do so). 
>Thank you for responding.
>
>--
>Barry Lyden
>barry@hcx1.SSD.HARRIS.COM

The default fonts aren't located in MacDraw itself.  If you use Font/DA
Mover on it, you'll find it really has no fonts at all.  What you can
try is to use ResEdit and modify your System file.  That's where
Chicago, Geneva and Monaco or stored.  Font/DA Mover won't let you
remove them from the System file but use ResEdit.

Open up the system file (but make sure you've got a backup in case of
any screw ups) and go to the FONT resource.  Open FONT and Cut out
Geneva or all of them if you want.  Then paste in from a font file you
want to use as your system fonts.  Hope I've been of some help.

					- Tony
			 		adchen@phoenix.princeton.edu

levin@bbn.com (Joel B Levin) (01/13/89)

In article <5355@phoenix.Princeton.EDU> adchen@phoenix.Princeton.EDU (Anthony Dunyeh Chen) writes:
|In article <49800022@hcx1> barry@hcx1.SSD.HARRIS.COM writes:
|>but does anyone know of a way to change the default
|>typeface in MacDraw? I never use Geneva in my documents . . .
|                   . . . .  What you can
|try is to use ResEdit and modify your System file.  That's where
|Chicago, Geneva and Monaco or stored. . .
|
|Open up the system file (but make sure you've got a backup in case of
|any screw ups) and go to the FONT resource.  Open FONT and Cut out
|Geneva or all of them if you want.  Then paste in from a font file you
|want to use as your system fonts.  Hope I've been of some help.

Don't try this.  This is a lot of work, easy to screw up, and I'm not
sure it works.  There are two ways an application chooses its default
font: (1) it's coded, and would require a patch to change (or it could
be in a resource and changed by ResEdit, but not everyone is sensible;
or (2) it uses the default system font, whose identity (normally
Geneva) is stored in the PRAM.  There are utilities in the sumex
archives (for instance) which let you examine and modify this memory
(it also contains things like the alarm clock setting and serial port
settings).  If an application uses the system default (Finder does,
for instance), changing this parameter will change the application's
default (and the default for all other applications which do this).

	/JBL
- -
UUCP:     {backbone}!bbn!levin		POTS: (617) 873-3463
INTERNET: levin@bbn.com

jmunkki@kampi.hut.fi (Juri Munkki) (01/15/89)

>In article <49800022@hcx1> barry@hcx1.SSD.HARRIS.COM writes:
>>but does anyone know of a way to change the default
>>typeface in MacDraw? I never use Geneva in my documents
>>so I would like to make a permanent change to something 
>>else (if it is legal to do so). 

You would probably have to change the default application font id
in the parameter RAM. I think there's a CDEV for this purpose, but
I don't know where to get it. You could ask a programmer to write
a few lines of code to do the thing. It's quite easy.

The problem is that it will change the font in almost all programs,
including the Finder. Changing only MacDraw is somewhat harder, since
the font number might be used in several places.

You could start using locked files that contain a template for an
empty document with the font set to something else besides Geneva.
Every time you want to start a new document, just open the locked
copy and use "save as...".

In article <5355@phoenix.Princeton.EDU> adchen@phoenix.Princeton.EDU (Anthony Dunyeh Chen) writes:
> [... a few lines of irrelevant information about fonts deleted...]
>
>Open up the system file (but make sure you've got a backup in case of
>any screw ups) and go to the FONT resource.  Open FONT and Cut out
>Geneva or all of them if you want.  Then paste in from a font file you
>want to use as your system fonts.  Hope I've been of some help.

  Mild flame *** ON ***

Actually what you said confused me for a moment... You shouldn't write
about something that you really don't know about. Please read the question
before answering and try to think what you are doing. Removing the FONT
resources from the system and leaving behind an orphan FOND resource that
thinks there are several FONT resources will not make your Mac happy.

If you were thinking about creating a font with the same family ID as
Geneva, you should have given instructions on how to change the ID
(in the FOND and in the FONT resources) and how to make sure that
the replacement is safely done. In this case you should also have
warned the user that changing the fonts in the system file will
very probably affect the way other applications look and work.

Thanks for trying, but please remember that you really should
understand what you are writing about, if you post something
for the whole world to read.

  Mild flame *** OFF ***

_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
|     Juri Munkki jmunkki@hut.fi  jmunkki@fingate.bitnet        I Want   Ne   |
|     Helsinki University of Technology Computing Centre        My Own   XT   |
~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~