This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Advanced Topics
  •  » Tip: How to change Scratch font (without hacking the Scratch source)

#1 2009-08-07 13:41:19

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Tip: How to change Scratch font (without hacking the Scratch source)

So, if you feel that the Verdana font is little bit boring and you want to change it, do this:
Warning: I'm not responsible for any failures caused by changing the font.
Tips on how to locate your language file are for windows users only.
If you're editing the .po file, make a backup copy first to prevent failures
1. Right-Click on the Scratch icon on your desktop and select Preferences. The window like this one will show up (of course in your language, hehe  smile  ).
http://img27.imageshack.us/img27/2943/scratchfontchangestep1.png
2. Click the button that is marked with red, which will lead you to the Scratch directory. Then, go to the locale directory.
http://img27.imageshack.us/img27/4795/scratchfontchangestep2.png
3. To change font in your own language, you'll need to edit your language's PO file (open it in Notepad, I'm using Notepad ++). BUT: English language doesn't support that. You'll have to copy Scratch.pot.
http://img11.imageshack.us/img11/9124/scratchfontchangestep3b.png
Rename it to en-hacked.po and do this edit:
http://img11.imageshack.us/img11/3483/scratchfontchangestep4a.png
Edit:Mac users, in order to get it working, don't change the line under "Win-Font". Change the line under "Mac-Font" instead. Linux users, change the line under "Linux-Font". I hope it's clear  smile
4. Then, save the file, restart Scratch and open Languages menu. This will appear:
http://img11.imageshack.us/img11/7362/scratchfontchangestep5.png
5. Change to this "language", and look:
http://img11.imageshack.us/img11/1711/scratchfontchangefinala.png
Font is changed to Agency FB!

For other languages, simply change the Verdana to font that you prefer, below is Polish language set to Courier.
http://img17.imageshack.us/img17/5039/scratchfontchangestep4b.png
http://img27.imageshack.us/img27/6128/scratchfontchangefinalb.png

I hope this will help!

Last edited by filo5 (2009-08-08 14:50:22)


Converting my Scratch projects to Python!

Offline

 

#2 2009-08-07 14:02:10

alexpja
Scratcher
Registered: 2008-06-12
Posts: 100+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

Thanks filo5, or should I say: Filip Wieland  smile  Ja mam pytanie, czy to tez dziala dla Mac OS X 10.5 (Leopard) ???? Hehe.

EDIT: Nvm. It works! I used Copperplate Gothic Light... I am gonna make so many of these!

Last edited by alexpja (2009-08-07 14:16:39)


Sorry for never being on... I'm on Onverse now. So get inside, and Onverse yourself. Cya 'round.

Offline

 

#3 2009-08-07 14:08:14

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

It works for Mac, just instead of changing the line below "Win-Font", change the line below "Mac-Font" with your favourite font.


Converting my Scratch projects to Python!

Offline

 

#4 2009-08-07 14:18:27

alexpja
Scratcher
Registered: 2008-06-12
Posts: 100+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

filo5 wrote:

It works for Mac, just instead of changing the line below "Win-Font", change the line below "Mac-Font" with your favourite font.

Good! It worked! I am gonna make so many... my Mac is supplied with more fonts than Windows  big_smile


Sorry for never being on... I'm on Onverse now. So get inside, and Onverse yourself. Cya 'round.

Offline

 

#5 2009-08-07 14:24:21

coolperson
Scratcher
Registered: 2007-08-21
Posts: 1000+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

This is cool!


Coolperson- 2012 National Vex Robotics Finalist!
http://www.scratch.mit.edu/ext/youtube/?v=sn7p84DQFyk

Offline

 

#6 2009-08-07 14:30:20

alexpja
Scratcher
Registered: 2008-06-12
Posts: 100+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

I am releasing a whole library of these font .po files for Mac users.


Sorry for never being on... I'm on Onverse now. So get inside, and Onverse yourself. Cya 'round.

Offline

 

#7 2009-08-07 15:52:33

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

You know, I have 811 files in windows/fonts directory... I can play with it all the time...


Converting my Scratch projects to Python!

Offline

 

#8 2009-08-07 16:06:56

alexpja
Scratcher
Registered: 2008-06-12
Posts: 100+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

filo5 wrote:

You know, I have 811 files in windows/fonts directory... I can play with it all the time...

LOL!!!


Sorry for never being on... I'm on Onverse now. So get inside, and Onverse yourself. Cya 'round.

Offline

 

#9 2009-08-07 16:15:44

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

I don't have Windows and I can't get it to work on my Mac...

Offline

 

#10 2009-08-07 17:57:09

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

This looks like a lot of fun!  Can't wait to try it out  smile

-later-

Well, I had to fight Vista a bit.  First, I had to change my folder options so that extensions were not hidden so that I could rename the .POT file to .PO.  Then, I found that Notepad refused to write to the Scratch directory.  Rather than mess with the file permissions, I copied the .PO file to the desktop, made the changes there and then copied the file back.  Vista complained about the file copies but let me proceed with them.

Ultimately, I was successful and now I have a version of Scratch in the Jokerman font!


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#11 2009-08-07 18:35:30

littletonkslover
Scratcher
Registered: 2008-12-12
Posts: 1000+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

Cool, but I have a mac so.


http://www.coxlab.org/images/rat_banner.jpg
That's the dark nature of capitalism. ~ Wonder Showzen

Offline

 

#12 2009-08-08 09:18:11

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

Interesting.


http://i.imgur.com/WBkM2QQ.png

Offline

 

#13 2009-08-08 14:53:26

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

Update for every Mac and Linux users: Now I've put some better instructions to edit the font-changed file.

(that's for littletonkslover, The-Whiz and everybody who has a Mac or Linux)


Converting my Scratch projects to Python!

Offline

 

#14 2009-08-08 14:54:01

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

Thanks filo5!

But I mean I can't find the file.  hmm

Last edited by The-Whiz (2009-08-08 14:54:53)

Offline

 

#15 2009-08-09 04:40:50

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

Search for Scratch .app file directory then there should be locale dir.


Converting my Scratch projects to Python!

Offline

 

#16 2009-08-09 13:36:59

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

*bump*


Converting my Scratch projects to Python!

Offline

 

#17 2009-08-09 13:42:11

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: Tip: How to change Scratch font (without hacking the Scratch source)

I still don't understand...  sad

Offline

 
  • Index
  •  » Advanced Topics
  •  » Tip: How to change Scratch font (without hacking the Scratch source)

Board footer