Jump to content


Photo

Dropping some legacy stuff (remove support for original xcom font)


  • Please log in to reply
6 replies to this topic

#1 Serge

Serge

    Project Leader: UFO 2000

  • Xenocide Programming Department
  • 785 posts

Posted 17 May 2010 - 02:23 PM

Does anybody use the original x-com fonts with ufo2000? They are even disabled in the default config now. If nobody objects, I guess it's better to drop them for good. The point is that the game is supposed to be also perfectly usable without x-com fonts. And keeping support for x-com font has some inconveniences. It is not scalable (has only two fixed sizes) and makes proper multi-language support in the game problematic (it is missing some of the character glyphs). I think it's best to concentrate on making a good and nice looking UI, which should be well scalable to any screen resolutions. Old x-com font is one of the things which hinder progress in this area.

Edited by Serge, 17 May 2010 - 02:25 PM.

ufo2000 development team
http://ufo2000.sourceforge.net

#2 Kratos

Kratos

    UFO2000 Staff

  • Moderators
  • PipPipPipPipPip
  • 4,113 posts

Posted 17 May 2010 - 07:30 PM

I personally think our current font is repulsive, no offense. However, it's just a font in the end, so I don't care if it is removed. If it is to push the UI in a better direction, then I'm all for it. We can always change fonts later on anyway.

Perhaps use the current font as default, while allowing for others to import their own fonts in a similar fashion in a customizable map/unit/weapon lua file. Whatever symbols missing will use the default font.

I think Nachtwolf suggested a different font before IIRC.

http://www.xcomufo.c...topic=242024951

Edited by Kratos, 17 May 2010 - 07:33 PM.

Posted Image

#3 Serge

Serge

    Project Leader: UFO 2000

  • Xenocide Programming Department
  • 785 posts

Posted 18 May 2010 - 12:49 AM

For us it's better to use freely redistributable fonts with permissive licenses. Dejavu (the one bundled with the game) is one of the options. I did not pay much attention to this lately, but I think I have seen some announcements about developing/sponsoring more free fonts at least for ubuntu, so there might be a bit more choice now. We can also add a possibility of using some external fonts preinstalled in the system, though I would use it only as the last resort. But in any case, old x-com fonts are obviously technically inferior for the reasons described in the my initial post.
ufo2000 development team
http://ufo2000.sourceforge.net

#4 Serge

Serge

    Project Leader: UFO 2000

  • Xenocide Programming Department
  • 785 posts

Posted 23 May 2010 - 09:24 PM

Did some experiments with fonts on last weekend. In addition to ttf format, ufo2000 can support bdf (monospace bitmap) fonts. The candidates for use in the game are terminus (GPL licensed) and misc-misc (public domain) fonts. They are both unicode fonts and support a lot of languages. More suggestions for good looking fonts are welcome.

In any case, I will try to make an experimental git branch with the fonts update for preview.
ufo2000 development team
http://ufo2000.sourceforge.net

#5 meodai

meodai

    Sergeant

  • Forum Members
  • PipPipPip
  • 75 posts

Posted 27 May 2010 - 07:42 AM

i love terminus ! its the one i use for my terminal..

but could you integrate a option in the config file to go back to the original ufo fonts ?

Edited by meodai, 27 May 2010 - 07:43 AM.


#6 Serge

Serge

    Project Leader: UFO 2000

  • Xenocide Programming Department
  • 785 posts

Posted 27 May 2010 - 12:11 PM

but could you integrate a option in the config file to go back to the original ufo fonts ?

No. That's the whole point. It is already used this way, and this setup is bad.

We have to ensure that the game can work without x-com data, that's out of question. Now if we also need to support using the original x-com fonts, this introduces extra unwanted problems that I have already mentioned: the original x-com fonts are not scalable (only 8x9 and 16x16 font sizes are supported) and they do not work well with unicode and multiple languages. These are quite severe restrictions which are holding us back. Surely, we could keep an option to still use x-com fonts when they are available and when the user explicitly sets an option to use them. But what's the point if the end result would look like crap? Do we need these additional troubles? And as an extra reason, it is one of the oldest and ugliest parts of ufo2000 code which I did not write myself :)
ufo2000 development team
http://ufo2000.sourceforge.net

#7 meodai

meodai

    Sergeant

  • Forum Members
  • PipPipPip
  • 75 posts

Posted 27 May 2010 - 02:33 PM

no sure your right. it was just the nostalgic me that wanted this option ;) terminus is great. Looks technical, easy to read, and it would fit to the game style i think. A very good choice
(and works good in small sizes)

Edited by meodai, 28 May 2010 - 12:07 AM.