'font size of Squirrel SQL too small
The size of the font to enter the SQL is too small. What is the way to increase the size of the font to type the SQL ? In 'global options' there is a possibility to increase the size of the fonts. But this has no impact on the size of the text to enter the SQL.
Solution 1:[1]
I'm assuming you're using Windows 8.1 like I am. It seems some combination of 8.1, high DPI monitors, and Swing don't play well together. My fix was to edit the squirrel-sql.bat file and add the following java options right after the existing java option
-Dswing.plaf.metal.controlFont=Tahoma-18 -Dswing.plaf.metal.userFont=Tahoma-18
For reference, the complete line is as follows:
start "SQuirreL SQL Client" /B "%LOCAL_JAVA%" -Xmx256m -Dsun.java2d.noddraw=true -Dswing.plaf.metal.controlFont=Tahoma-18 -Dswing.plaf.metal.userFont=Tahoma-18 -cp %SQUIRREL_CP% -splash:"%SQUIRREL_SQL_HOME%/icons/splash.jpg" net.sourceforge.squirrel_sql.client.Main %TMP_PARMS%
EDIT: The above will increase the size for everything except the SQL entry field. For this, go to File->New Session Properties->SQL->SQL Entry Area
Solution 2:[2]
Additional java switches on top of the ones given by James will help with other sections of the UI which shows small font.
-Dswing.plaf.metal.titleFont=Tahoma-18
-Dswing.plaf.metal.menuFont=Tahoma-18
-Dswing.plaf.metal.systemFont=Tahoma-18
-Dswing.plaf.metal.smallFont=Tahoma-18
start.bat entry :
start "SQuirreL SQL Client" /B "%LOCAL_JAVA%" -Dsun.awt.nopixfmt=true -Dsun.java2d.noddraw=true -Dswing.plaf.metal.controlFont=Tahoma-18 -Dswing.plaf.metal.userFont=Tahoma-18 -Dswing.plaf.metal.titleFont=Tahoma-18 -Dswing.plaf.metal.menuFont=Tahoma-18 -Dswing.plaf.metal.systemFont=Tahoma-18 -Dswing.plaf.metal.smallFont=Tahoma-18 -cp %SQUIRREL_CP% -splash:"%SQUIRREL_SQL_HOME%/icons/splash.jpg" net.sourceforge.squirrel_sql.client.Main %TMP_PARMS%
Solution 3:[3]
Here is what worked for me (Windows 10 64-bit, SQuirrel 3.9.1, jrw1.8.0_211)
At the bottom of C:\Program Files\squirrel-sql-3.9.1\squirrel-sql.bat, I changed the start command to this:
start "SQuirreL SQL Client" /B "%LOCAL_JAVA%"^
-Dsun.awt.nopixfmt=true -Dsun.java2d.noddraw=true^
-Dswing.plaf.metal.controlFont=Tahoma-18^
-Dswing.plaf.metal.userFont=Tahoma-18^
-Dswing.plaf.metal.titleFont=Tahoma-18^
-Dswing.plaf.metal.menuFont=Tahoma-18^
-Dswing.plaf.metal.systemFont=Tahoma-18^
-Dswing.plaf.metal.smallFont=Tahoma-18^
-cp %CP%^
-splash:"%SQUIRREL_SQL_HOME%/icons/splash.jpg"^
net.sourceforge.squirrel_sql.client.Main %TMP_PARMS%
Note, that the ^ must be at the very end of the line (no spaces after it!)
Solution 4:[4]
There is Font tab in the Global Preferences , there will be Four tabs, increase the Font size there, I selected Arial size 28, now my squirrel display font size large enough, so my eyes wont get strained. File ==> Global Preferences ==> Fonts
Solution 5:[5]
Solution 6:[6]
Go to File -> New Session Properties -> SQL tab -> SQL Entry Area -> Choose FONT accordingly.
Refer to the image below:

Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | |
| Solution 2 | |
| Solution 3 | TmTron |
| Solution 4 | Philip Puthenvila |
| Solution 5 | Milovan Tomašević |
| Solution 6 | Jeremy Caney |

