MantisBT - Zandronum
View Issue Details
0002615Zandronum[All Projects] Bugpublic2016-02-04 01:202018-09-30 22:10
jewellds 
Dusk 
normalminoralways
closedfixed 
3.0-beta 
3.03.0 
0002615: "con_scaletext" causes giant text and HUD.
If "con_scaletext" is enabled, the fullscreen HUD and messages become gigantic, obscuring most of the screen.
In the config, set "con_scaletext" to true or in the game go to Options > HUD Options > Message Options and set "Scale text in high res" to ON.

The Fullscreen HUD, and any onscreen messages should now fill the screen.
As of writing, I have reproduced this bug on the latest official alpha build (160131-2023) which I ran on Windows XP, as well as 160202-1932, which I built myself on Linux. It also happens in every screen resolution I tested, in both Software and OpenGL. The bug will happen regardless of the setting of "con_scaletext_usescreenratio".
No tags attached.
png Screenshot_Doom_20160203_224430.png (133,506) 2016-02-04 01:20
/tracker/file_download.php?file_id=1725&type=bug
png
Issue History
2016-02-04 01:20jewelldsNew Issue
2016-02-04 01:20jewelldsFile Added: Screenshot_Doom_20160203_224430.png
2016-02-04 01:42DuskNote Added: 0014306
2016-02-04 01:42DuskStatusnew => feedback
2016-02-04 01:43DuskNote Edited: 0014306bug_revision_view_page.php?bugnote_id=14306#r8634
2016-02-04 01:43DuskNote Edited: 0014306bug_revision_view_page.php?bugnote_id=14306#r8635
2016-02-04 01:43DuskNote Edited: 0014306bug_revision_view_page.php?bugnote_id=14306#r8636
2016-02-04 02:01jewelldsNote Added: 0014307
2016-02-04 02:01jewelldsStatusfeedback => new
2016-02-04 02:02jewelldsNote Edited: 0014307bug_revision_view_page.php?bugnote_id=14307#r8638
2016-02-04 02:08DuskNote Added: 0014308
2016-02-05 11:31DuskNote Added: 0014319
2016-02-05 11:31DuskAssigned To => Dusk
2016-02-05 11:31DuskStatusnew => needs review
2016-02-06 04:57jewelldsNote Added: 0014330
2016-02-06 10:46cobaltStatusneeds review => needs testing
2016-02-06 10:46cobaltTarget Version => 3.0
2016-02-06 10:46cobaltSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8653#r8653
2016-02-06 10:46cobaltNote Added: 0014336
2016-03-01 21:45Ru5tK1ngNote Added: 0014527
2016-03-01 21:46Ru5tK1ngStatusneeds testing => resolved
2016-03-01 21:46Ru5tK1ngResolutionopen => fixed
2016-03-01 21:46Ru5tK1ngFixed in Version => 3.0
2016-03-01 21:46Ru5tK1ngSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8794#r8794
2018-09-30 22:10Blzut3Statusresolved => closed

Notes
(0014306)
Dusk   
2016-02-04 01:42   
(edited on: 2016-02-04 01:43)
What are your con_virtualwidth and con_virtualheight set to? The screenshot suggests that they're very small. You can set them in the "text scaling" submenu.

In fact I didn't realize that the "Scale text in high res" option existed. It appears to be a duplicate of the "enable text scaling" option in the "text scaling" submenu.

(0014307)
jewellds   
2016-02-04 02:01   
(edited on: 2016-02-04 02:02)
You're right, the con_virtualwidth and con_virtualeheight were both set to 32, and changing it fixed the problem.

I deleted my config and started again, and it turns out that 32x32 are the default values for a new config, which is far too small.

As for "Scale text in high res", it seems to be a more recent addition to Zdoom as it doesn't exist in Zandronum before the 3.0 alpha.

(0014308)
Dusk   
2016-02-04 02:08   
These defaults have been present since forever. You can, for instance, Zandronum 2.1.2 with a clean INI and notice that the HUD scaling still defaults to 32x32 which causes the text to be ridiculously large when text scaling is enabled. I think 320x200 would make a better default.
(0014319)
Dusk   
2016-02-05 11:31   
'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/58 [^]'

Changed the default to 640x480.
(0014330)
jewellds   
2016-02-06 04:57   
Just tested this by building with the pull request change and wiping my old config. New defaults are a massive improvement!
(0014336)
cobalt   
2016-02-06 10:46   
Issue addressed by commit 8120df9e279d: con_virtualwidth and con_virtualheight now default to 640 and 480, respectively, addresses 2615.
Committed by Teemu Piippo [Dusk] on Wednesday 31 December 1969 23:59:57

Changes in files:

 docs/zandronum-history.txt | 1 +
 src/c_console.cpp | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

(0014527)
Ru5tK1ng   
2016-03-01 21:45   
I tested this as well and didn't see any issues.