Sat 19 Jan 2013 03:54:03 PM UTC, comment #10:
> On that note: while it seem ORANGE was never implemented, what
> was its purpose at what should have been its range (simply out
> of curiosity) ?
I've wondered that too.
It looks like, prior to r3896, pollution in the city dialog was 0 => black, 1-9 => "RACE6" (maybe orange?), 10+ => red.
|
Sat 19 Jan 2013 03:35:54 PM UTC, comment #9:
So, I think:
In any case, my original symptoms no longer show up on an unpatched trunk (r22100) Gtk3 build on a (different) Ubuntu 12.04 machine.
Anything left to do under this ticket?
|
Mon 27 Aug 2012 01:09:34 AM UTC, comment #8:
I've looked at the patch from comment #7 again and noticed it could be simplified. At the same time I've decided to split it into two parts - one for the font and the other for style unrelated to the font.
A word of explanation about gui_update_font_full: once the three get initialized in ui_main, they can't be NULL - pango_font_description_from_string won't return NULL, at most a NULL filled description.
Patches are against trunk.
(file #16434, file #16435)
|
Thu 26 Jul 2012 08:43:13 PM UTC, comment #7:
Alright, it's hard to affect a tooltip, if it's not really a tooltip.
I was looking at the info popups in city dialog - setting them to monospace makes the formating work again.
(file #16201)
|
Thu 26 Jul 2012 05:53:13 PM UTC, comment #6:
...and for a difference, on a topic related note, a minor fix for help label colors - value taken from old Freeciv.h.
(that line for font in tooltip doesn't seem to work, but the colors do)
(file #16199)
|
Thu 26 Jul 2012 03:58:36 PM UTC, comment #5:
OK, as patch #3433 was merged, it's time to polish this one.
It does what the initial one did and cleans up old API.
It also touches info_label_style in citydialog.c, as while it's not quite topic related, it is API related.
On that note: while it seem ORANGE was never implemented, what was its purpose at what should have been its range (simply out of curiosity) ?
Still thinking about turn button - perhaps I'm wrong and it already works, but an API cleanup there wouldn't be out of place.
(file #16198)
|
Sun 15 Jul 2012 05:58:33 PM UTC, comment #4:
> As such, I'd just like to hear if it does seem to work for
> anybody else.
I confirm it seems to work for me :)
Previously I wrote:
> (This is on Ubuntu Linux 11.04 LTS, BTW.)
Lies! I meant 12.04 (Precise).
|
Sat 14 Jul 2012 01:09:24 PM UTC, comment #3:
So,...
Following piece of code seems to help, but:
a) I tend to see things
b) it's nowhere near ready to be applied to the tree
As such, I'd just like to hear if it does seem to work for anybody else.
Also, while I could try to separate gtk3-only code from common, if (as noted in a different patch/bug) the current plan is to remove code specific to gtk2, I'd like to see that patch getting in first (preferably by Marko). Then I could do something about cleaning up the code in several places, as this change makes quite a few older solutions (mostly those referring to GtkStyle) redundant.
Unfortunately, unless I'm missing something, blinking turn button is still not working.
(file #16085)
|
Thu 05 Jul 2012 01:45:53 PM UTC, comment #2:
It's actually not quite a bug - the port is simply a bit incomplete here.
Though even if the table of food/prod/etc doesn't seem misaligned, the tooltips on it seem to be.
It's documented in the upgrade section of gtk3 docs, that gtk_rc_parse_string isn't supposed to work.
Theming was low priority during porting, after all.
gui_update_font_full and gui_update_font will need a fix.
Not sure when I'll get to it.
|
Thu 05 Jul 2012 09:23:15 AM UTC, comment #1:
(This is on Ubuntu Linux 11.04 LTS, BTW.)
|
Thu 05 Jul 2012 09:22:48 AM UTC, original submission:
In places where I expect a fixed-width font to be used -- the Spaceship dialog legend, the Demographics report, the tables in the help for Terrain Alterations -- it instead uses a non-fixed-width font, causing the cheesy ASCII tables to be misaligned.
In the city dialog, the table of food/prod/etc is also using a proportional font, but isn't misaligned -- perhaps this has been handled specially?
In the client settings dialog, some relevant font settings are as follows:
- City Label: Monospace 8
- Spaceship Label: Monospace 8
- Help Text: Monospace 10
- Chatline Area: Monospace 8
(In the font settings panel, different fonts seem to display correctly.)
This is as compiled from svn, so no theme; don't know if that makes a difference. This was the first time I ran it since the settings migration went in, so the settings were freshly copied from the Gtk2 ones.
|