new font files, fixed some font issues

This commit is contained in:
Eduardo Bart
2011-11-01 00:35:50 -02:00
parent 841769cc7d
commit 999fa731c0
40 changed files with 279 additions and 1067 deletions

View File

@@ -6,18 +6,10 @@ Module
version: 0.2
autoLoad: true
onLoad: |
importFont('helvetica-11px-bold')
importFont('helvetica-11px')
importFont('helvetica-12px-bold')
importFont('helvetica-12px')
importFont('helvetica-14px-bold')
importFont('verdana-11px-antialised')
importFont('verdana-11px-monochrome')
importFont('verdana-11px-rounded')
importFont('terminus-14px-bold')
importFont('tibia-8px-antialised')
importFont('tibia-10px-antialised')
importFont('tibia-10px-monochrome')
importFont('tibia-12px-rounded')
setDefaultFont('helvetica-12px')
setDefaultFont('verdana-11px-antialised')
return true

View File

@@ -1,12 +0,0 @@
Font
name: helvetica-11px-bold
height: 14
spacing: 1 1
top margin: 2
texture: helvetica-11px-bold.png
glyph size: 16 16
glyph widths:
32: 4
65: 8

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

View File

@@ -1,11 +0,0 @@
Font
name: helvetica-11px
height: 14
spacing: 1 1
top margin: 1
texture: helvetica-11px.png
glyph size: 16 16
glyph widths:
32: 4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

View File

@@ -1,12 +0,0 @@
Font
name: helvetica-12px-bold
height: 16
spacing: 1 1
top margin: 2
texture: helvetica-12px-bold.png
glyph size: 18 18
glyph widths:
32: 4
65: 9

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

View File

@@ -1,11 +0,0 @@
Font
name: helvetica-12px
height: 15
spacing: 1 1
top margin: 1
texture: helvetica-12px.png
glyph size: 16 16
glyph widths:
32: 4
65: 8

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

View File

@@ -1,12 +0,0 @@
Font
name: helvetica-14px-bold
height: 16
spacing: 1 1
top margin: 2
texture: helvetica-14px-bold.png
glyph size: 20 20
glyph widths:
32: 4
65: 9

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@@ -1,10 +0,0 @@
Font
name: tibia-10px-antialised
height: 10
spacing: 1 1
top margin: 3
texture: tibia-10px-antialised.png
glyph size: 8 16
glyph widths:
32: 2

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -1,10 +0,0 @@
Font
name: tibia-10px-monochrome
height: 10
spacing: 1 1
top margin: 3
texture: tibia-10px-monochrome.png
glyph size: 8 16
glyph widths:
32: 2

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -1,10 +0,0 @@
Font
name: tibia-8px-antialised
height: 8
spacing: 0 1
top margin: 1
texture: tibia-8px-antialised.png
glyph size: 8 8
glyph widths:
32: 2

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -0,0 +1,8 @@
Font
name: verdana-11px-antialised
height: 14
texture: verdana-11px-antialised.png
glyph size: 16 16
glyph widths:
32: 4

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

View File

@@ -0,0 +1,8 @@
Font
name: verdana-11px-monochrome
height: 14
texture: verdana-11px-monochrome.png
glyph size: 16 16
glyph widths:
32: 2

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@@ -1,9 +1,7 @@
Font
name: tibia-12px-rounded
height: 12
glyph spacing: 0 1
top margin: 3
texture: tibia-12px-rounded.png
name: verdana-11px-rounded
height: 14
texture: verdana-11px-rounded.png
glyph size: 16 16
glyph widths:

View File

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@@ -1,5 +1,5 @@
Button < UIButton
font: helvetica-11px-bold
font: verdana-11px-antialised
background-color: white
color: #f0ad4dff
size: 106 24

View File

@@ -1,8 +1,6 @@
Label < UILabel
font: helvetica-12px
color: #ffffff
font: verdana-11px-antialised
color: #aaaaaa
LargerLabel < Label
font: helvetica-12px-bold
color: white

View File

@@ -1,5 +1,6 @@
LineEdit < UILineEdit
font: helvetica-12px
font: verdana-11px-antialised
color: #aaaaaa
size: 86 20
text margin: 3
border-image:

View File

@@ -1,5 +1,5 @@
Window < UIWindow
font: helvetica-12px-bold
font: verdana-11px-antialised
size: 200 200
opacity: 255
background-color: white

View File

@@ -3,17 +3,17 @@ SkillFirstWidget < UIWidget
anchors.top: parent.top
SkillNameLabel < Label
font: tibia-10px-monochrome
font: verdana-11px-monochrome
margin.top: 2
margin.left: 10
margin.right: 10
anchors.top: prev.bottom
anchors.left: parent.left
anchors.right: parent.right
SkillLevelLabel < Label
font: tibia-10px-monochrome
font: verdana-11px-monochrome
align: right
margin.top: 2
margin.left: 10
@@ -21,7 +21,7 @@ SkillLevelLabel < Label
anchors.top: prev.top
anchors.left: parent.left
anchors.right: parent.right
SkillPercentPanel < UIWidget
color: blue
background-color: red
@@ -37,7 +37,7 @@ Window
id: skillWindow
title: Skills
size: 200 200
Panel
id: skillPanel
anchors.fill: parent

View File

@@ -1,5 +1,5 @@
CenterLabel < Label
font: tibia-12px-rounded
font: verdana-11px-rounded
height: 16
align: center
anchors.top: parent.verticalCenter
@@ -8,7 +8,7 @@ CenterLabel < Label
anchors.right: parent.right
BottomLabel < Label
font: tibia-12px-rounded
font: verdana-11px-rounded
height: 16
align: center
anchors.bottom: parent.bottom

View File

@@ -1,12 +1,12 @@
VipListLabel < Label
font: tibia-10px-monochrome
font: verdana-11px-monochrome
margin.left: 30
Window
id: vipWindow
title: VIP
size: 200 200
TextList
id: vipList
anchors.fill: parent

View File

@@ -17,7 +17,8 @@ local function onMotd(protocol, motd)
loadBox:destroy()
local motdNumber = tonumber(string.sub(motd, 0, string.find(motd, "\n")))
local motdMessage = string.sub(motd, string.find(motd, "\n") + 1, string.len(motd))
if motdNumber ~= tonumber(Configs.get("motd")) then
local lastMotdNumber = tonumber(Configs.get("motd"))
if motdNumber ~= lastMotdNumber then
hideCharlist = true
local motdBox = displayInfoBox("Message of the day", motdMessage)
motdBox.onOk = function()

View File

@@ -1,6 +1,6 @@
CharacterListLabel < Label
image: /core_ui/images/empty_rect.png
font: tibia-10px-monochrome
font: verdana-11px-monochrome
background-color: #00000000
offset: 2 0
focusable: true
@@ -33,7 +33,6 @@ MainWindow
text: |-
Account Status:
Free Account
font: helvetica-11px-bold
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: next.top

View File

@@ -18,6 +18,7 @@ MainWindow
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin.top: 2
margin.left: 18
margin.right: 18
@@ -33,6 +34,7 @@ MainWindow
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin.top: 2
margin.left: 18
margin.right: 18