Hi!
I tryed to change Iris2 fonts. I placed font (file aricyr.ttf, old russian cyrillic, cp1251) to directory data/base/font and created file Arial.fondef.
Arial.fontdef
Code:
Arial
{
type truetype
source aricyr.ttf
size 16
resolution 96
}
I edited config.lua.
config.lua
Code:
-- this is your local config file, here you can override the default options
-- gUOPath = "C:\\stuff\\iris\\uo\\" -- enter the path to your uo data dir here
gServerSeed = 0xC0A80266
gFontDefs = {}
gFontDefs["Default"] = {
name = "Arial",
size = 15,
col = {1.0,1.0,1.0,1.0},
}
gFontDefs["Journal"] = {
name = "Arial",
size = 14,
col = {0.0,0.0,0.0,1.0},
}
gFontDefs["Chat"] = {
name = "Arial",
size = 18,
col = {1.0,1.0,1.0,1.0},
brigth = 0.6, -- value between 0 and 1, the higher the brighter
}
gFontDefs["PopUp"] = {
name = "Arial",
size = 15,
col = {1.0,1.0,1.0,1.0}, -- white
colhi = {1.0,1.0,1.0,1.0}, -- green
}
gFontDefs["HudNames"] = {
name = "Arial",
size = 15,
col = {1.0,1.0,1.0,1.0},
}
gFontDefs["Gump"] = {
name = "Arial",
size = 15,
col = {1.0,1.0,1.0,1.0},
}
It works (fonts were changed), but I can't see national letters.
Thanks.
PS. I use iris2 v.3304 for linux (ubuntu).