wesnoth-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wesnoth-dev] Theme System Limitations


From: Yann Dirson
Subject: Re: [Wesnoth-dev] Theme System Limitations
Date: Fri, 25 Feb 2005 20:48:54 +0100
User-agent: Mutt/1.5.6+20040907i

On Fri, Feb 25, 2005 at 05:41:17PM +0100, Jordà Polo wrote:
> On Fri, Feb 25, 2005 at 12:33:47AM -0500, James Barton wrote:
> > I've just finished a turbulent round of midterms, so I haven't been 
> > working on Wesnoth stuff much. I did however take time off writing a 
> > paper to muck about a bit with themes, and have attached the results. 
> 
> Looks good.
> 
> > Specifying fonts is not critical, but I believe that it is important if 
> > we want a proper theme system - obviously there'll need to be some way 
> > to provide new fonts along with graphics / theme data. More important 
> > is specifying font colour. As you can see from the attached screenshot, 
> > if you want to create a light-coloured theme, the writing can barely be 
> > seen. This is a problem.
> 
> I concur.
> 
> Actually, that was already suggested a while ago [1], but no one has
> been interested in implementing it.
> 
>  1. http://savannah.nongnu.org/bugs/?func=detailitem&item_id=8814
> 
> Feel free to add more comments to the feature request (the current
> description is not very detailed).

Well, I'm more comfortable discussing things by mail than inside the
bugreport :)

> You should be able to select font size, color, and style.
>
>Something like:
>[menu]
>font_size=13
>font_color=#DDDDDD
>font_style=bold
>[/menu]

This is a great idea !

It could be extended in a the spirit of "styles" (as used, for
example, in contemporary word-processors).  We could use [textstyle]
blocks to define a set of commonly-used font_* parameters, and then
reference it using something like "textstyle=foo".

Aside from helping to make things consistent with a low maintainance
cost, it would have the side-effect that providing updated [textstyle]
blocks in a [partialresolution] would be sufficient to consistently
adapt font-size to other resolutions.

-- 
Yann Dirson    <address@hidden> |
Debian-related: <address@hidden> |   Support Debian GNU/Linux:
                                    |  Freedom, Power, Stability, Gratis
     http://ydirson.free.fr/        | Check <http://www.debian.org/>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]