03f321da01
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1358 127b21dd-08f5-0310-b4b7-95ae10353056
296 lines
7.1 KiB
Plaintext
296 lines
7.1 KiB
Plaintext
{
|
|
/*
|
|
Currently, Oolite supports the following encodings for fonts:
|
|
windows-latin-1 (Windows code page 1252)
|
|
windows-latin-2 (Windows code page 1250)
|
|
windows-cyrillic (Windows code page 1251)
|
|
windows-greek (Windows code page 1253)
|
|
windows-turkish (Windows code page 1254)
|
|
|
|
OXPs with fonts in each encoding (using Helvetica) are available at:
|
|
http://svn.berlios.de/svnroot/repos/oolite-linux/trunk/tests/encodings/
|
|
*/
|
|
encoding = "windows-latin-1";
|
|
texture = "oolite-font.png";
|
|
|
|
substitutions =
|
|
{
|
|
/* This section specifies automatic string conversions. Some of these
|
|
were hard-coded in previous versions of Oolite. Other previously
|
|
hard-coded conversions are no longer needed because of the expanded
|
|
font (curly quotes are now supported, for instance).
|
|
*/
|
|
"₢" = "€"; // Cruziero Sign to Euro Sign. Oolite's font uses a Cruziero sign in place of the Euro sign. This way, either can be used in text to generate ₢, the sign used as a credits currency symbol.
|
|
"⌘" = "(Command)"; // Place Of Interest Sign, used under Mac OS X as symbol for the Command key.
|
|
"⌥" = "(Option)"; // Mac OS X option key
|
|
"⌃" = "Control"; // Up Arrowhead, Mac OS X control key
|
|
|
|
// The following are for compatibility with GrowlTunes (and have been included since Growl support was added).
|
|
"★" = "\b"; // Black Star
|
|
"✯" = "\b"; // Pinwheel Star
|
|
"☆" = "\030"; // White Star
|
|
"♭" = "b"; // Musical Flat Sign
|
|
"♮" = "="; // Musical Natural Sign
|
|
"♯" = "#"; // Musical Sharp Sign
|
|
};
|
|
widths =
|
|
(
|
|
8,
|
|
7,
|
|
8,
|
|
8,
|
|
7,
|
|
6,
|
|
7,
|
|
6,
|
|
6.25,
|
|
1.7364501953125,
|
|
6,
|
|
6,
|
|
6,
|
|
6,
|
|
6,
|
|
6,
|
|
5,
|
|
6,
|
|
6,
|
|
6,
|
|
6,
|
|
6,
|
|
7.5,
|
|
8,
|
|
6.25,
|
|
6,
|
|
6,
|
|
6,
|
|
6,
|
|
6,
|
|
6,
|
|
6,
|
|
1.7364501953125,
|
|
2.081298828125,
|
|
2.9632568359375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
5.5572509765625,
|
|
4.5135498046875,
|
|
1.4862060546875,
|
|
2.081298828125,
|
|
2.081298828125,
|
|
2.4322509765625,
|
|
3.64990234375,
|
|
1.7364501953125,
|
|
2.081298828125,
|
|
1.7364501953125,
|
|
1.7364501953125,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
2.081298828125,
|
|
2.081298828125,
|
|
3.64990234375,
|
|
3.64990234375,
|
|
3.64990234375,
|
|
3.8177490234375,
|
|
6.0943603515625,
|
|
4.5135498046875,
|
|
4.5135498046875,
|
|
4.5135498046875,
|
|
4.5135498046875,
|
|
4.168701171875,
|
|
3.8177490234375,
|
|
4.8614501953125,
|
|
4.5135498046875,
|
|
1.7364501953125,
|
|
3.4759521484375,
|
|
4.5135498046875,
|
|
3.8177490234375,
|
|
5.206298828125,
|
|
4.5135498046875,
|
|
4.8614501953125,
|
|
4.168701171875,
|
|
4.8614501953125,
|
|
4.5135498046875,
|
|
4.168701171875,
|
|
3.8177490234375,
|
|
4.5135498046875,
|
|
4.168701171875,
|
|
5.8990478515625,
|
|
4.168701171875,
|
|
4.168701171875,
|
|
3.8177490234375,
|
|
2.081298828125,
|
|
1.7364501953125,
|
|
2.081298828125,
|
|
3.64990234375,
|
|
3.4759521484375,
|
|
2.081298828125,
|
|
3.4759521484375,
|
|
3.8177490234375,
|
|
3.4759521484375,
|
|
3.8177490234375,
|
|
3.4759521484375,
|
|
2.081298828125,
|
|
3.8177490234375,
|
|
3.8177490234375,
|
|
1.7364501953125,
|
|
1.7364501953125,
|
|
3.4759521484375,
|
|
1.7364501953125,
|
|
5.5572509765625,
|
|
3.8177490234375,
|
|
3.8177490234375,
|
|
3.8177490234375,
|
|
3.8177490234375,
|
|
2.4322509765625,
|
|
3.4759521484375,
|
|
2.081298828125,
|
|
3.8177490234375,
|
|
3.4759521484375,
|
|
4.8614501953125,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.125,
|
|
2.4322509765625,
|
|
1.7486572265625,
|
|
2.4322509765625,
|
|
3.64990234375,
|
|
3.8177490234375,
|
|
4.5135498046875,
|
|
0,
|
|
1.7364501953125,
|
|
3.4759521484375,
|
|
3.125,
|
|
6.25,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
2.081298828125,
|
|
6.25,
|
|
4.168701171875,
|
|
2.081298828125,
|
|
6.25,
|
|
0,
|
|
3.8177490234375,
|
|
0,
|
|
0,
|
|
1.7364501953125,
|
|
1.7364501953125,
|
|
3.125,
|
|
3.125,
|
|
2.1881103515625,
|
|
3.4759521484375,
|
|
6.25,
|
|
2.081298828125,
|
|
6.25,
|
|
3.4759521484375,
|
|
2.081298828125,
|
|
5.8990478515625,
|
|
0,
|
|
3.125,
|
|
4.168701171875,
|
|
1.7364501953125,
|
|
2.081298828125,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
1.7486572265625,
|
|
3.4759521484375,
|
|
2.081298828125,
|
|
4.6051025390625,
|
|
2.313232421875,
|
|
3.4759521484375,
|
|
3.64990234375,
|
|
2.081298828125,
|
|
4.6051025390625,
|
|
2.081298828125,
|
|
2.4993896484375,
|
|
3.43017578125,
|
|
2.081298828125,
|
|
2.081298828125,
|
|
2.081298828125,
|
|
3.60107421875,
|
|
3.4759521484375,
|
|
1.7364501953125,
|
|
2.081298828125,
|
|
2.081298828125,
|
|
2.28271484375,
|
|
3.4759521484375,
|
|
5.21240234375,
|
|
5.21240234375,
|
|
5.21240234375,
|
|
3.8177490234375,
|
|
4.5135498046875,
|
|
4.5135498046875,
|
|
4.5135498046875,
|
|
4.5135498046875,
|
|
4.5135498046875,
|
|
4.5135498046875,
|
|
6.25,
|
|
4.5135498046875,
|
|
4.168701171875,
|
|
4.168701171875,
|
|
4.168701171875,
|
|
4.168701171875,
|
|
1.7364501953125,
|
|
1.7364501953125,
|
|
1.7364501953125,
|
|
1.7364501953125,
|
|
4.5135498046875,
|
|
4.5135498046875,
|
|
4.8614501953125,
|
|
4.8614501953125,
|
|
4.8614501953125,
|
|
4.8614501953125,
|
|
4.8614501953125,
|
|
3.64990234375,
|
|
4.8614501953125,
|
|
4.5135498046875,
|
|
4.5135498046875,
|
|
4.5135498046875,
|
|
4.5135498046875,
|
|
4.168701171875,
|
|
4.168701171875,
|
|
3.8177490234375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
5.5572509765625,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
3.4759521484375,
|
|
1.7364501953125,
|
|
1.7364501953125,
|
|
1.7364501953125,
|
|
1.7364501953125,
|
|
3.8177490234375,
|
|
3.8177490234375,
|
|
3.8177490234375,
|
|
3.8177490234375,
|
|
3.8177490234375,
|
|
3.8177490234375,
|
|
3.8177490234375,
|
|
3.43017578125,
|
|
3.8177490234375,
|
|
3.8177490234375,
|
|
3.8177490234375,
|
|
3.8177490234375,
|
|
3.8177490234375,
|
|
3.4759521484375,
|
|
3.8177490234375,
|
|
3.4759521484375
|
|
);
|
|
}
|