Bigger font?
Blitz3D Forums/Blitz3D Beginners Area/Bigger font?
| ||
Hi, using B3D on my laptop and the text is very small. I'm sure there was a way to make it larger but don't know? Jim |
| ||
Should have searched. Left Ctrl & Mouse wheel |
| ||
If one is concerned about the font used in graphics:Graphics( 400, 300, 0, 2 ) ;The default font is Courier, 12pt. Print "This is the default Blitz3D font." font = LoadFont( "Courier", 20 ) SetFont( font ) Print "" Print "This is the Blitz3D font" Print "with larger height." ;Freefont( font ) WaitKey() End |
| ||
Incidentally the font (and size) used for the default BlitzIDE is defined in the "Prefs" file (within Blitz installation / cfg directory I believe?) |
| ||
Hi, had a look for it but it's not there. Tried to add one but it gets ignored. ???? Jim |
| ||
It is Blitz3D\cfg\blitzide.prefs. There's a certain key there with a "blitz 12" value: font_editor blitz 12 Change that value to "arial 16" or whatever. |
| ||
<ignore> |
| ||
All I have is Blitz - a font file dgb_toolbar - bmp ide_toolbar - bmp toolbar - bmp No blitzide.prefs Jim |
| ||
What version of Blitz3D are you using (as seen in Help -> About Blitz3D!) ? Mine has "IDE V1.106." Perhaps you should download and install the "full installation." Go to the product updates page and download the full installation package for version 1.108, the latest. In any case, here's my copy of blitzide.prefs: https://www.dropbox.com/s/oh387ikq2j12qqb/blitzide.prefs The color scheme was modified to be the same as Blitz Basic (the old 2D version). |
| ||
Hi, had version 1.108 but totally removed the Blitz3D folder and uninstall. Downloaded the 1.108 FULL install. There is no .prefs file in the cfg and when I add your file, Kryzon, it makes no difference. Strange thing is that the new install knows where my old recent files are - so this info must be stored somewhere outside the B3D folder? I'm using Windows 8.0 Puzzled Jim |
| ||
It's probably a virtual store issue. On Windows 7 64-bit, which is what I'm running, programs are normally not allowed to write to the "Program Files (x86)" directory, where my Blitz3D resides. So Windows just pretends to write there and silently redirects to the virtual store. I have Blitz3D set to "Run as Administrator". Now it can and does put blitzide.prefs in the C:\Program Files (x86)\Blitz3D\cfg folder. The prefs file still can't be edited in the usual way, such as with Notepad, because access will be denied. The solution is to run Notepad as Administrator. |
| ||
Thanks, Floyd. Things are working better but not right. When I set the 'font 12' it looks normal. When I set to 'font 14' or greater it jumps to, what looks like, 24. Also does the same 'jump' using Ctrl + Mouse Wheel. Jim |
| ||
I think it depends on the font. Some sizes are not available. Look around for a programmer's font that you like. I use Consolas. Proggy is also popular. If you've never calibrated ClearType then do that too. Just enter cleartype in the Start menu and follow your nose. |
| ||
Might I suggest using another IDE? There are many excellent editors that have some great features and will really make such a difference as well as being ablke to change fonts much easier :) Personally I recommend IDEal. |
| ||
Thanks _PJ_ IDEal is nice. Jim |