Author Topic: Increasing number of lines while keeping same font height  (Read 3278 times)

0 Members and 1 Guest are viewing this topic.

Offline FilipeEstima

  • Newbie
  • Posts: 63
    • View Profile
Increasing number of lines while keeping same font height
« on: September 10, 2020, 01:53:49 am »
From QB64's wiki page about WIDTH http://qb64.org/wiki/WIDTH, I thought the maximum column number was 80. To my surprise, I can have a much wider screen than that. My monitor is 25" LG UltraWide and WIDTH 320,49 gave me an enormously wide window covering the entire monitor, left to right. Wow!

However, I'm not able to do the same vertically without having the font height halved. The limit is 49 lines while keeping the same font height; Is there a way to increase the number of lines while keeping the same font height as WIDTH 80,25?

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Increasing number of lines while keeping same font height
« Reply #1 on: September 10, 2020, 02:20:11 am »
Hi @FilipeEstima

Do you know about setting the SCREEN size with _NEWIMAGE? Default font remains at 8 X 16 pixels but you can have any size screen you want.

FellippeHeitor

  • Guest
Re: Increasing number of lines while keeping same font height
« Reply #2 on: September 10, 2020, 09:11:13 am »
Code: QB64: [Select]
  1. SCREEN _NEWIMAGE(desiredWidthInCharacters, desiredHeightInCharacters, 0) '0 here refers to the characteristics of SCREEN 0, which will be inherited

Offline FilipeEstima

  • Newbie
  • Posts: 63
    • View Profile
Re: Increasing number of lines while keeping same font height
« Reply #3 on: September 10, 2020, 11:22:29 am »
Thanks to you both, I never actually delved into the SCREEN options, let alone _NEWIMAGE and bimaps. Now I know how to make the screen size to my liking.