QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: Richard on February 23, 2020, 04:43:29 am

Title: ᵀᴵᴺᵞ ᴵᴰᴱ PROBLEM QB64 Valentine
Post by: Richard on February 23, 2020, 04:43:29 am
Hopefully it is something simple I have overlooked …

When using default Windows settings (NOT HI DPI AWARE) for 3200x1800 native display, FULLSCREEN graphics displayed is incorrectly rendered and only renders correctly at say 1600x900 display setting (i.e. not fully accessing native display resolution). However the IDE window is readable.

To obtain maximum resolution of display I enable settings in Windows (HI DPI AWARE) and this appears to render graphics correctly at 3200x1800 FULLSCREEN. However the IDE window is now half-size and difficult to read.

At present I either use Windows 10 Magnifier to edit in the IDE (which is a pain to use repeatably) or run two instances of QB64 - one at NOT HI DPI AWARE (for editing the programs) - the other at HI DPI WARE for running and viewing the graphics.

  [ This attachment cannot be displayed inline in 'Print Page' view ]  

Any settings in QB64 to overcome this problem?

Thanks
Title: Re: ᵀᴵᴺᵞ ᴵᴰᴱ PROBLEM QB64 Valentine
Post by: SMcNeill on February 23, 2020, 04:46:40 am
Options — Custom Font...  Choose a custom font with a size twice normal so it’ll be large enough to read. 
Title: Re: ᵀᴵᴺᵞ ᴵᴰᴱ PROBLEM QB64 Valentine
Post by: Richard on February 23, 2020, 05:14:11 am
Thanks Steve

I ticked the custom font box and got a much more readable size

  [ This attachment cannot be displayed inline in 'Print Page' view ]  


I also tried to change the custom font name to say "Courier" but nothing seems to happen let alone being able to change the actual font size.

Changing the IDE display window size appears to work though.

No problem if I can't change the font to Courier or something (and bigger size) - as is, it is now useable for me.
Title: Re: ᵀᴵᴺᵞ ᴵᴰᴱ PROBLEM QB64 Valentine
Post by: Richard on February 23, 2020, 03:28:14 pm
Just to update …

It appears that :-

QB64 > Options > Display > [X] Custom Font

DOES NOT ACCEPT SOME other C:\windows\fonts\....ttf    eg Courier New, Terminal  (but does accept others such as Arial)


HOWEVER the default other

C:\windows\fonts\lucon.ttf 

allows Row Height (Pixels) to be changed  (e.g. 32) - which is OK for me!

Thanks Steve
Title: Re: ᵀᴵᴺᵞ ᴵᴰᴱ PROBLEM QB64 Valentine
Post by: FellippeHeitor on February 23, 2020, 03:33:38 pm
Most fonts will be accepted. You said you had problems with Courier, here's my IDE (latest version) with Courier being used:

 [ This attachment cannot be displayed inline in 'Print Page' view ]  

Please do make sure your paths and font file names are correct.
Title: Re: ᵀᴵᴺᵞ ᴵᴰᴱ PROBLEM QB64 Valentine
Post by: Richard on February 23, 2020, 03:58:35 pm
Thank you very much Fellippe

You summed it up by saying "most …"

I used font names such as      Courier New.ttf     etc    which I obtained from looking at C:\Windows\Fonts\   folder

whereas using    cour.tff    WORKS!!!

  [ This attachment cannot be displayed inline in 'Print Page' view ]  
Title: Re: ᵀᴵᴺᵞ ᴵᴰᴱ PROBLEM QB64 Valentine
Post by: FellippeHeitor on February 23, 2020, 04:03:29 pm
Yeah, the font folder displays their pretty names, but internally there's always a simpler name. You can check that by right-clicking the fonts and choosing properties.

Glad to hear it's solved.