Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Poll

Do you want separate windowed and fullscreen fonts?

Yes
- 1 (14.3%)
No
- 6 (85.7%)

Total Members Voted: 7


Author Topic: Do you want separate windowed and fullscreen fonts?  (Read 1085 times)

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Do you want separate windowed and fullscreen fonts?
« on: August 12, 2010, 03:27:21 pm »

It would simplify things (especially for modders) if I don't have to support this, so only answer yes if this is something you're actually using, okay?

As usual, even a single "yes" is going to make me work to keep it in. Which will probably mean less time for other features, but I'll get to those eventually.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: Do you want separate windowed and fullscreen fonts?
« Reply #1 on: August 12, 2010, 03:29:22 pm »

I should note that as one of the features likely to get pushed off is runtime switching of fonts, I might just end up implementing separate windowed/fullscreen fonts via *that*. So it's not the end of the world.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

Still Standing

  • Bay Watcher
    • View Profile
Re: Do you want separate windowed and fullscreen fonts?
« Reply #2 on: August 12, 2010, 04:04:02 pm »

You realise by saying a single Yes vote will make you do it means somebody was going to Vote yes just because you said it.  People are like that.

But no, I use the same Ironhand font for both.
Logged
Diggy diggy hole.

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: Do you want separate windowed and fullscreen fonts?
« Reply #3 on: August 12, 2010, 04:04:09 pm »

..you know, this would just be *too* inconvenient.

I'm already overhauling the entire texture system so I'll just add the ability to switch 'em at runtime. That should do it.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

MaDeR Levap

  • Bay Watcher
    • View Profile
Re: Do you want separate windowed and fullscreen fonts?
« Reply #4 on: August 15, 2010, 03:05:59 pm »

I am interested why same settings for PRINT_MODE have so various effects on various computers? Is OpenGL standard that screwed up? Or manufacturers do sloppy work? Or you code is buggy? Or all of this at once?
Logged

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: Do you want separate windowed and fullscreen fonts?
« Reply #5 on: August 15, 2010, 03:55:07 pm »

All of the above. Let's see..

- 2D: No opengl, works everywhere.
- Standard: Standards-compliant opengl. Works everywhere that has a working opengl driver, which is not in fact everywhere. Pretty fast, actually, but people seem to want the last micron of speed, so..
- VBO: A slight improvement on standard, still compliant, but using newer methods. Works less often.
- Frame-buffer: Partial-printing implementation using newer extensions. Often breaks due to driver issues.
- Accum-buffer: Partial-printing implementation using very old methods. Usually slow.
- Partial: Partial-printing using undefined behaviour. Usually breaks.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

carebear

  • Bay Watcher
    • View Profile
Re: Do you want separate windowed and fullscreen fonts?
« Reply #6 on: August 15, 2010, 05:15:14 pm »

It wouldn't hurt to have it, but it's not something I would use myself. If it means other things get done later, I'd rather see that those other things get done now. :P
Logged

Fedor

  • Bay Watcher
    • View Profile
Re: Do you want separate windowed and fullscreen fonts?
« Reply #7 on: August 16, 2010, 07:14:15 pm »

Nice initiative, Baughn!

I don't have a preference on the question you framed, but I am hoping for the ability to use bitmapped fonts as well as truetype ones.  Making truetype fonts involves a fair bit of knowhow and some software; making bitmapped fonts is much more approachable.  Also, while there are a lot of DF-optimized bitmapped fonts already in existence in tilesets, we're starting at zero with truetype.
Logged
Fedor Andreev is a citizen of the Federated Endeavor. He is a member of the Wandering Minds.

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: Do you want separate windowed and fullscreen fonts?
« Reply #8 on: August 16, 2010, 07:29:49 pm »

Sure. It's using the freetype2 renderer, which supports a variety of bitmap fonts as well as truetype.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

Untelligent

  • Bay Watcher
  • I eat flesh!
    • View Profile
Re: Do you want separate windowed and fullscreen fonts?
« Reply #9 on: August 16, 2010, 10:18:39 pm »

Partial works perfectly for me, but only when I have Aero turned on, which I've heard takes up a significant amount of resources, so I don't know if it's actually optimal for me. Ah well.
Logged
The World Without Knifebear — A much safer world indeed.
regardless, the slime shooter will be completed, come hell or high water, which are both entirely plausible setbacks at this point.

Thief^

  • Bay Watcher
  • Official crazy person
    • View Profile
Re: Do you want separate windowed and fullscreen fonts?
« Reply #10 on: August 17, 2010, 05:41:10 am »

Sure. It's using the freetype2 renderer, which supports a variety of bitmap fonts as well as truetype.
Will we be able to just use a separate tileset file too? Many tilesets are available as both a "with accented characters" and "with object pictures" download already, so it would be good to just be able to specify both files and have both accents in text and levers etc that look like levers etc.
Logged
Dwarven blood types are not A, B, AB, O but Ale, Wine, Beer, Rum, Whisky and so forth.
It's not an embark so much as seven dwarves having a simultaneous strange mood and going off to build an artifact fortress that menaces with spikes of awesome and hanging rings of death.

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: Do you want separate windowed and fullscreen fonts?
« Reply #11 on: August 17, 2010, 05:43:30 am »

Yes, that's pretty much the entire point.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

Thief^

  • Bay Watcher
  • Official crazy person
    • View Profile
Re: Do you want separate windowed and fullscreen fonts?
« Reply #12 on: August 17, 2010, 05:57:57 am »

That's awesome then. I'd thought from what you'd said so far that it would only support using actual font files (ttf etc) for the text, not a 2nd DF bmp/png.
Logged
Dwarven blood types are not A, B, AB, O but Ale, Wine, Beer, Rum, Whisky and so forth.
It's not an embark so much as seven dwarves having a simultaneous strange mood and going off to build an artifact fortress that menaces with spikes of awesome and hanging rings of death.

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: Do you want separate windowed and fullscreen fonts?
« Reply #13 on: August 17, 2010, 06:46:34 am »

Well, it doesn't support 2D DF tilesets, at least unless I write code to do that. Which I might.

It does support bitmap fonts, even without that, but although freetype2 supports a lot of bitmap font formats, "DF tileset" isn't one of them.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?