View Issue Details

IDProjectCategoryView StatusLast Update
0003439Dwarf FortressTechnical -- Generalpublic2014-01-27 17:40
ReporterSteveTheRed Assigned Touser6 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
PlatformWindowsOSWindows XP 
Product Version0.31.16 
Summary0003439: curses_800x600.png is squished to half height (see 0002628)
DescriptionWhen one sets the font to [FONT:curses_800x600.png], the display now seems only half as tall as it used to be under older versions. I suspect that this is a repercussion of 0002628 (which I would have followed up with a "not as fixed as you'd hope", but I don't seem to be able to do that...)

While the .bmp and .png files for curses_800x600 now have the same dimensions, I suspect the wrong one was changed - the 640x300 files are 128x192 pixels, which makes each character 8x12, so an 80x25 display would be 640x300 (as expected). However, the 800x600 ones are now 160x192, which makes for an individual character size of 10x12, so an 80x25 display is 800x300, which is about what I'm seeing and it's not pretty. I suspect the reason the .png and .bmp didn't match for 0002628 was that the .bmp was squished, not that the .png was stretched.

Evidently Olith McHuman doesn't like 10x24 characters, but they ARE what you should get if you have an 80x25 play area in an 800x600 space. If you want 10x12 characters maybe you could use a curses_800x300.png? The creation of this should be both trivial and obvious :-)
Steps To ReproduceChange font size setting in init.txt to:

[FONT:curses_800x600.png]

or

[FONT:curses_800x600.bmp]

Observe window size compared to doing the same change with older versions.
TagsNo tags attached.

Activities

Quietust

2010-10-20 05:51

reporter   ~0013422

Last edited: 2010-10-20 05:53

It's always been this way - the "640x300" tileset has 8x12 characters, and the "800x600" tileset has 10x12 characters, exactly the same as they were in previous versions, including 0.28.181.40d and even 0.23.130.23a (the old 2D version).

The fix for 0002628 was technically correct, in that it made both copies of the 800x600 tileset the same as what they were in the past.

SteveTheRed

2010-10-20 17:20

reporter   ~0013433

Last edited: 2010-10-20 17:21

I currently have a 40d installation as well, for reference purposes, and its 800x600 mode does come out at 800x600 (ie, has 10x24 characters). That's what I'm comparing to.

So my experience does not reflect yours. How interesting!

Quietust

2010-10-20 20:34

reporter   ~0013437

Last edited: 2010-10-20 20:34

In 40d, the grid size and window size were specified independently, so in your case it was actually stretching the tiles to fit - with 40dXX and 0.31 SDL, you specify one and it automatically determines the other, so it never tries to stretch the tiles vertically.

SteveTheRed

2010-10-20 21:52

reporter   ~0013438

Ah, ok. The instructions in the 40d init.txt did say to change both at the same time, so I probably wasn't the only one to do that (and like it that way). Perhaps it would be less misleading then to call the tile set that comes out as 800x300 "curses_800x300.{bmp|png}"? And perhaps to provide an 800x600 in the standard package that comes out at 800x600?

Now I'm going to go experiment with tile sets some more...

Issue History

Date Modified Username Field Change
2010-10-20 02:56 SteveTheRed New Issue
2010-10-20 05:51 Quietust Note Added: 0013422
2010-10-20 05:53 Quietust Note Edited: 0013422
2010-10-20 17:20 SteveTheRed Note Added: 0013433
2010-10-20 17:21 SteveTheRed Note Edited: 0013433
2010-10-20 20:34 Quietust Note Added: 0013437
2010-10-20 20:34 Quietust Note Edited: 0013437
2010-10-20 21:52 SteveTheRed Note Added: 0013438
2014-01-27 17:40 user6 Status new => resolved
2014-01-27 17:40 user6 Resolution open => no change required
2014-01-27 17:40 user6 Assigned To => user6