Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#7127) [FS] Screen design
Home

[Freeciv-Dev] Re: (PR#7127) [FS] Screen design

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#7127) [FS] Screen design
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Thu, 15 Jan 2004 02:13:16 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7127 >

On Wed, Jan 14, 2004 at 04:57:26PM -0800, Morgan Jones wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7127 >
> 
> >> I have used this to create the screenshot:
> >> http://freeciv.org/~rfalke/fs3_pics/screen-0066.png.
> 
> Nice to see it all in place.
>  
> > And another one with some of the text converted:
> > http://freeciv.org/~rfalke/fs3_pics/screen-0007.png
> 
> If you have a particular font or fonts that you'd like the GUI to use
> please post them or mail them to me. 

I used the Verdana TrueType font which comes with Windows. Mainly
because someone told me that it is a font which is good
designed. However we can't distribute this. So we have to find
alternatives. The tahoma.ttf font from SDL looks similar. But there is
no bold nor italic. I'm also not sure about the license of tahoma
since it is also from MS.

> So I can start making sure that the layout has enough space and
> everything.

A layout is for a certain font. However note that translation changes
the space required much more. For example the English "map" translates
to "Karte" in German.

> I'd prefer Postscript Type1 fonts but I believe I could get Truetype
> fonts to work as well.  I can support a bunch of other formats too,
> but I think they're Amiga specific.
> 
> > Attached is what is left of the fake screen. The green is used to
> > make sure that I have got the postion correct.
> 
> I think RT has scrambled this file. 

> Do you want me to put together 'spec' files for my layouts?  I've
> got most of the co-ordinates of everything written down somewhere.
> I could probably type them up in some sort of made up spec file
> format and post them.

There are such spec files. I have attached the version I currently
use. You can do this but it is not a great problem. These are easy and
I can check them. And there is also no docu for it.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "That's fundamental game play!  My main enemy is *ALWAYS* fighting 
  a 4-front war.  I make sure of it!"
    -- Tony Stuckey, freeciv-dev

[screen]
background="mapview-background.png"
#background="test.png"

[_label_unused]
x = 40
y = 22
width = 600
height = 400
align="sc"

text=_("MMMM")
text-color="#ff0000"
text-size=40
text-font="verdana.ttf"
text-antialias=0
text-outline-width=0

[info_year]
x = 7
y = 345
width = 80
height = 30
align="nw"

text-color="#ffffff"
text-size=10
text-font="verdana.ttf"
text-antialias=0
text-outline-width=0

[info_nation_name]
x = 7
y = 332
width = 80
height = 30
align="nw"

text-color="#ffffff"
text-size=10
text-font="verdanab.ttf"
text-antialias=0
text-outline-width=0

[label_unused1]
x = 100
y = 345
width = 70
height = 30
align="nw"

text=_("Wealth:")
text-color="#ffffff"
text-size=10
text-font="verdana.ttf"
text-antialias=0
text-outline-width=0

[info_gold]
x = 170
y = 345
width = 80
height = 30
align="nw"

text-color="#ffffff"
text-size=10
text-font="verdana.ttf"
text-antialias=0
text-outline-width=0

[label_unused2]
x = 100
y = 332
width = 70
height = 30
align="nw"

text=_("Population:")
text-color="#ffffff"
text-size=10
text-font="verdana.ttf"
text-antialias=0
text-outline-width=0

[info_population]
x = 170
y = 332
width = 80
height = 30
align="nw"

text-color="#ffffff"
text-size=10
text-font="verdana.ttf"
text-antialias=0
text-outline-width=0

[label_map]
x = 307
y = 338
width = 27
height = 20
align="center"

text=_("Map")
text-color="#000000"
text-size=10
text-font="verdana.ttf"
text-antialias=0
text-outline-width=0

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