UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #221 Problems with font sizes
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Engine
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    1. Very low
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/221 Item 221] imported from sourceforge.net tracker on 2013-01-28 18:15:21

In short, on 1600x1200 I get very big spaces between
lines, at 1024x768 they are OK. Moreover some people
(but not me) get warnings that fonts are larger than
menu area so, with the current font, they should have
lines one atop of another, but the don't have.
Something stings here.

An IRC log with some more info follows:

<mattn_> btw. please fix the "Warning: font f_small
height=22.000000 bigger
than allowed line height=20.000000" message -
developer mode is
useless now [22:06]
<mattn_> or deactivate it
<Bandobras> I would fix it but I never get this warning
so I cannot test...
[22:07]
<mattn_> switch to 1024x768
<Bandobras> couldn&#039;t you increase some figures in some
menus?
<Bandobras> nope, no warning still
<Bandobras> and this is _very strange_
<mattn_> i&#039;m not at fullscreen - please test
this, too [22:08]
<mattn_> vid_fullscreen 0
<Bandobras> ok I will
<Bandobras> thanks for the storage info
<Bandobras> HaJo pointed out that you cannot build more
than one storage
<Bandobras> I will fix it in the script...
<Bandobras> but there are more building with no
more_than_one set... [22:10]
<Bandobras> is teamroom to be only one?
<Bandobras> radar?
<Bandobras> crafts? [22:11]
*** v29a (n=Miranda@p549BFD8F.dip.t-dialin.net) has
joined channel #ufo:ai
[22:13]
<Bandobras> hmmmm: [22:15]
<Bandobras> Team Room
<Bandobras>
<Bandobras> I have no idea what this is for. It seems
totally redundant. I
suggest this faci
<Bandobras> lity be scrapped, or given a different name
and purpose.
<Bandobras> from src/docs
<Bandobras> so I guess it is not more_than_one... [22:17]
<CIA-18> tlh2000 * r2375 /ufoai/trunk/src/client/
(cl_aircraft.c
cl_basemanagement.c cl_campaign.c): * some fixes for
basemanagement -
new aircrafts and onconstruct trigger [22:20]
<CIA-18> bandobraz * r2376
/ufoai/trunk/base/ufos/basemanagement.ufo: *
allowed more than one radar and storage [22:21]
<Bandobras> Now I try the game in a 1024x786 window
[22:24]
<Bandobras> very strange
<Bandobras> on my 1600x1200 there are huge spaces
between lines
<Bandobras> in the campaign description and ufopedia
<Bandobras> and here it all looks OK [22:25]
<Bandobras> and the fonts looks somewhat different...
<Bandobras> oh and I get the moving wave lines in
battlescape stats window
[22:27]
<Bandobras> before I always got white lines here...
<Bandobras> but still no warning about fonts... [22:28]
<Bandobras> (I run +set developer 1) [22:29]
<Bandobras> a new one :) : Add 2 employees
&#039;EMPL_SCIENTIST&#039; to &#039;building_lab&#039;
[22:30]
<Bandobras> ...SDL_ttf inited
<Bandobras> ...registering 5 fonts
<Bandobras> FindFile: ./base/media/DejaVuSans.ttf
<Bandobras> FindFile: ./base/media/DejaVuSans.ttf
<Bandobras> FindFile: ./base/media/FreeSans.ttf
<Bandobras> FindFile: ./base/media/FreeSans.ttf
<Bandobras> FindFile: ./base/media/FreeSans.ttf
<Bandobras> ------------------------------------
*** yann
(n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net) has
joined channel
#ufo:ai [22:31]
*** ChanServ (ChanServ@services.) has changed mode for
#ufo:ai to +o yann
<Bandobras> and earlier
<Bandobras> FindFile: ./base/ufos/fonts.ufo
<Bandobras> ...found font f_small (0)
<Bandobras> FindFile: ./base/media/DejaVuSans.ttf
<Bandobras> FindFile: ./base/media/DejaVuSans.ttf
<Bandobras> ...found font f_big (1)
<Bandobras> FindFile: ./base/media/DejaVuSans.ttf
<Bandobras> FindFile: ./base/media/DejaVuSans.ttf
<Bandobras> ...found font f_menu (2)
<Bandobras> FindFile: ./base/media/FreeSans.ttf
<Bandobras> FindFile: ./base/media/FreeSans.ttf
<Bandobras> ...found font f_menubig (3)
<Bandobras> FindFile: ./base/media/FreeSans.ttf
<Bandobras> FindFile: ./base/media/FreeSans.ttf
<Bandobras> ...found font f_menusmall (4)
<Bandobras> FindFile: ./base/media/FreeSans.ttf
<Bandobras> FindFile: ./base/media/FreeSans.ttf
<Bandobras> the same as in 1600x1200 fullscreen
<Bandobras> that&#039;s it [22:32]
<Bandobras> mattn_, is the difference between
inter-line space [22:33]
<Bandobras> caused by some rounding error when
multiplying by vid.ry
<Bandobras> or by some TTF strangeness?
<Bandobras> and why there is still no warning about
fonts...
<Bandobras> I have Nvidia. You have ATI?
<Bandobras> TorF, you had the warning, what card do
you have? [22:34]
<Bandobras> anybody else gets the font warnings?
<Bandobras> please, [22:35]
<Bandobras> try ufo +set developer 1 and search for
"Warning" in the logs
* Bandobras asks kindly
<Bandobras> and the scroll of the intro text is much
more smooth in a window
[22:45]
<Bandobras> but this does not depend on resolution only
on fullscreen/window
<TorF> i&#039;ll check [22:48]
<TorF> what i have to do in game ?
<TorF> enter in base ?
*** v29a (n=Miranda@p549BFD8F.dip.t-dialin.net) has
quit: Read error: 104
(Connection reset by peer) [22:51]
<Bandobras> I don&#039;t know :)
<Bandobras> whatever has many different texts... [22:52]
<Bandobras> many menus and font sizes
<Bandobras> you have ATI, TorF?
<TorF> nvidia
<TorF> i got thousands of Warning: font f_small
height=22.000000 bigger than
allowed line height=20.000000.
<Bandobras> aha [22:53]
<Bandobras> thanks
<Bandobras> at which menu
<TorF> the text that explain the campaign
<Bandobras> any other?
<TorF> just before starting new game
<TorF> no
<Bandobras> only that one?
<TorF> yes only that one
<Bandobras> have you tried ufopedia, too?
<Bandobras> and how big are the spaces between lines in
the text that explain
the campaign? [22:54]
<Bandobras> bigger than in ufopedia?
<TorF> i got 5500 warning for few seconds
<Bandobras> ;>
<TorF> it looks nice [22:55]
<TorF> and i don&#039;t have the text at the bottom
<Bandobras> ?
<TorF> i think it&#039;s ok, just need scrollbar
<Bandobras> yes
<Bandobras> ufopedia?
<TorF> i test
<TorF> ufopedia looks ok [22:56]
<Bandobras> spaces between lines? [22:57]
<TorF> looks ok
<Bandobras> bigger in ufopedia or campaign text? [22:58]
<TorF> it appears same
<Bandobras> ok
<Bandobras> thank you very much!
<TorF> maybe not if there is few difference
<Bandobras> k
<TorF> i got this style of warning :
<TorF> Warning: font f_big height=31.000000 bigger than
allowed line
height=24.000000.
<TorF> Warning: font f_small height=22.000000 bigger
than allowed line
height=18.000000.
<Bandobras> only in the campaign text? [22:59]
<TorF> probably with ufopedia too
<Bandobras> oh
<Bandobras> it seems so...
<Bandobras> so I file a bug report and switch off the
warning...
<Bandobras> thanks once more
<TorF> good idea to switch off the warning :) [23:01]
ERC>
===== Comments Ported from Sourceforge =====

====== bandobraz (2006-08-06 21:00:38) ======

Logged In: YES
user_id=1557623

The warning was in src/ref_gl/gl_font.c, BTW.
====== bandobraz (2006-08-13 20:59:44) ======

Logged In: YES
user_id=1557623

For whatever reason I have no more problems, even before
updating DejaVuSans.ttf. But perhaps with the updated fonts
the warnings (at least those pertaining to f_small and
f_big) would now dissapear?
====== tlh2000 (2007-02-19 10:16:06) ======

Logged In: YES
user_id=116930
Originator: NO

not sure, but i set this to pending - as i think that most of the font bugs are wiped out now (at least in trunk)
====== sf-robot (2007-03-06 03:20:10) ======

Logged In: YES
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif