Posts: 1,270
Threads: 118
Joined: Apr 2022
Reputation:
100
I had a reader email me with a question regarding the new IDE lesson I just posted.
In the Options menu of the IDE and then inside Display is the Window width: input field based on characters per line in relation to mono-spaced or proportional fonts?
I'm pretty sure there is no difference, characters per line is characters per line regardless, but I want to clarify so that I have the correct information.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Posts: 3,984
Threads: 178
Joined: Apr 2022
Reputation:
222
05-09-2024, 05:19 PM
(This post was last modified: 05-09-2024, 05:20 PM by bplus.)
ok i just checked when i toggle x off for monospace, my window shrinks down from 18 pixel lucon to 8x16 and width 116 is same BUT of that 116 my highest column is 111 i believe the other 5 chars are for borders and scroll bars...
b = b + ...
Posts: 2,698
Threads: 328
Joined: Apr 2022
Reputation:
218
Doesn't matter if you toggle off X for monospace with the IDE -- the IDE is 100% written in SCREEN 0, and SCREEN 0 **ONLY** works with monospace. If you load a font to use in the IDE, it's going to be monospaced.
Now, with that stated, let me also state that it doesn't matter if the font you use is true monospace, proportional, or even variable-width. The IDE is going to basically run a small script which looks for the widest character in your font, and then it's going to add padding to all the other characters so they become that set width.
The IDE will **FORCE** that monospace setting, on any non-monospace font. And whoooo boy, does it end up looking stupid weird!! Try one of the script fonts sometime, where capital characters are oversized and have wide flourishes attached to them....
Posts: 1,270
Threads: 118
Joined: Apr 2022
Reputation:
100
Thanks for the replies. I'll relay the info.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial