Page 1 of 1

Debugger font change

Posted: Tue May 26, 2020 8:10 pm
by Olliv
Sometimes I prefer the debugger aligns the characters output as the IDE does... So :

Code: Select all

For I = 0 To 3
X.U = I << 14
Debug PeekS(@X, 1, #PB_Unicode)
Debug "Hello !"
Debug "1234567"
Next
Simple way :

Code: Select all

Define U.U = $3000
Debug PeekS(@U, 1)
Back to normal font :

Code: Select all

Define U.U = $80
Debug PeekS(@U, 1)

Re: Debugger font change

Posted: Tue May 26, 2020 9:27 pm
by STARGÅTE
:?:
I don't understand your code.
Hello !
1234567
䀀
Hello !
1234567
耀
Hello !
1234567
쀀
Hello !
1234567
What do you mean with "Back to normal font :"?

Re: Debugger font change

Posted: Tue May 26, 2020 9:48 pm
by firace
Did you post the wrong snippet?
I fail to see how a Peek command can change anything, let alone a debugger font.

Re: Debugger font change

Posted: Wed May 27, 2020 3:05 pm
by kenmo
Olliv, well, it "works" but it depends on your OS, language settings, font settings, etc :)

On Windows (at least with my setup) when you write out high-value Unicode chars the OS automatically changes it to a (monospace) font which can handle them. It's been discussed on the forum before, usually as a question/complaint, not as a trick to intentionally change the font.

(I didn't know it was possible to switch back though, interesting!)

If you want a proper monospace font just change the Debugger Font setting! :D

Re: Debugger font change

Posted: Wed Jun 03, 2020 3:31 pm
by Olli
I profite this post to tell you I just registered as "Olli" being done that "Olliv" profile got false passwords.

Also I apologized if a subject about debugger character encoding was jumped to write this subject. If you have a link, I am interested.