1775
Posts: 51
Joined: Sat Apr 18, 2015 4:16 am

Any way to make the text on the Scratch interface larger?

Sun Oct 25, 2015 9:30 pm

I am running Scratch on Raspbian Jessie. The screen resolution is fine for most things but the text on the Scratch menus is minuscule as is the text on the programming blocks. Scratch increased to full screen is no better - and Raspbian does not let one change monitor resolution on the fly - it requires changing the config files and rebooting each time to go from one resolution to another. I see no settings on the Scratch interface at all. Any way to do this - easily?

User avatar
rpdom
Posts: 14788
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Any way to make the text on the Scratch interface larger

Sun Oct 25, 2015 9:32 pm

Haven't you already asked this once today?

Ah, yes. Here it is viewtopic.php?f=66&t=124151&p=833640#p833640
and you got a reply too :)

You can change the resolution in Raspbian with the tvservice command and may also need to use fbset and xrefresh.

1775
Posts: 51
Joined: Sat Apr 18, 2015 4:16 am

Re: Any way to make the text on the Scratch interface larger

Sun Oct 25, 2015 10:52 pm

I saw that response and it is not what I am asking. I know - as said - that I can go through the config file for Raspbian - but I don't want to touch that. Other software running on Raspbian each have a way to increase the size of the text and/or interface to be able to see it with limited vision. This is what I am asking here specifically about Scratch. If not - say so, and that is that and I will give up on Scratch as a programming option.

timrowledge
Posts: 1272
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Any way to make the text on the Scratch interface larger

Mon Oct 26, 2015 5:54 am

Yes, you can change the text size in Scratch, though it isn't provided by any of the menus. I'd be happy to add something for that if you can convince someone at the foundation to add it to my list.

For now you can get the effect you need by editing a '.po' file. What is one of those? Glad you asked...

First, you need to copy a file -
Open a terminal and enter

Code: Select all

sudo cp /usr/share/scratch/locale/Scratch.pot /usr/share/scratch/locale/ex.po
Then we need to edit ex.po

Code: Select all

sudo nano /usr/share/scratch/locale/ex.po
A)where it says

Code: Select all

msgid "Language-Name"
msgstr ""
Replace the blank string with something like "English-large"
B) Then a few lines later you will see

Code: Select all

msgid "Font-Scale"
msgstr ""
Again, replace the blank string with a suitable number - try something like 1.6 to start with.
Save the file and restart Scratch. Now in the list of languages you get by clicking on the globe icon there will be new entry for English-large.
Change the number as needed to suit your screen and eyes. It works pretty well as long as you stick to modest numbers. 10 just isn't going to work well.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

1775
Posts: 51
Joined: Sat Apr 18, 2015 4:16 am

Re: Any way to make the text on the Scratch interface larger

Mon Oct 26, 2015 11:26 pm

Wonderful! Thank you so much!!! This is exactly what I wanted and it is perfect. No more eye strain!

Again, Thank you! :D

timrowledge
Posts: 1272
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Any way to make the text on the Scratch interface larger

Tue Oct 27, 2015 1:33 am

You're welcome. Never be afraid to ask for new things or improvements to Scratch; I may not be able to solve everything but I certainly can't solve something I don't know is broken!
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

timrowledge
Posts: 1272
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Any way to make the text on the Scratch interface larger

Tue Dec 01, 2015 7:11 pm

See also viewtopic.php?p=852670#p852670 for a much simpler way to change the base size of the fonts introduced in the November '15 release !
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

Return to “Scratch”