diff options
Diffstat (limited to 'linden/indra/newview')
4 files changed, 75 insertions, 4 deletions
diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml index cf5f33f..cbc5887 100644 --- a/linden/indra/newview/app_settings/settings.xml +++ b/linden/indra/newview/app_settings/settings.xml | |||
@@ -258,7 +258,7 @@ | |||
258 | <key>FontChoice</key> | 258 | <key>FontChoice</key> |
259 | <map> | 259 | <map> |
260 | <key>Comment</key> | 260 | <key>Comment</key> |
261 | <string>User's font choice (Liberation or DejaVu)</string> | 261 | <string>User's font choice (DejaVu, Delicious, DroidSans, or Liberation)</string> |
262 | <key>Persist</key> | 262 | <key>Persist</key> |
263 | <integer>1</integer> | 263 | <integer>1</integer> |
264 | <key>Type</key> | 264 | <key>Type</key> |
diff --git a/linden/indra/newview/skins/default/xui/en-us/fonts.xml b/linden/indra/newview/skins/default/xui/en-us/fonts.xml index 1aa44fb..15a8254 100644 --- a/linden/indra/newview/skins/default/xui/en-us/fonts.xml +++ b/linden/indra/newview/skins/default/xui/en-us/fonts.xml | |||
@@ -53,6 +53,34 @@ | |||
53 | </font> | 53 | </font> |
54 | 54 | ||
55 | 55 | ||
56 | <font name="Delicious" | ||
57 | comment="Name of Delicious font" | ||
58 | size_mult="1.1"> | ||
59 | <file>Delicious-Roman.otf</file> | ||
60 | </font> | ||
61 | |||
62 | <font name="Delicious" | ||
63 | comment="Name of Delicious font (bold)" | ||
64 | size_mult="1.1" | ||
65 | font_style="BOLD"> | ||
66 | <file>Delicious-Bold.otf</file> | ||
67 | </font> | ||
68 | |||
69 | <font name="Delicious" | ||
70 | comment="Name of Delicious font (italic)" | ||
71 | size_mult="1.1" | ||
72 | font_style="ITALIC"> | ||
73 | <file>Delicious-Italic.otf</file> | ||
74 | </font> | ||
75 | |||
76 | <font name="Delicious" | ||
77 | comment="Name of Delicious font (bold italic)" | ||
78 | size_mult="1.1" | ||
79 | font_style="BOLD|ITALIC"> | ||
80 | <file>Delicious-BoldItalic.otf</file> | ||
81 | </font> | ||
82 | |||
83 | |||
56 | <font name="Liberation" | 84 | <font name="Liberation" |
57 | comment="Name of Liberation font"> | 85 | comment="Name of Liberation font"> |
58 | <file>LiberationSans-Regular.ttf</file> | 86 | <file>LiberationSans-Regular.ttf</file> |
@@ -65,6 +93,20 @@ | |||
65 | </font> | 93 | </font> |
66 | 94 | ||
67 | 95 | ||
96 | <font name="DroidSans" | ||
97 | comment="Name of DroidSans font" | ||
98 | size_mult="1.0"> | ||
99 | <file>DroidSans.ttf</file> | ||
100 | </font> | ||
101 | |||
102 | <font name="DroidSans" | ||
103 | comment="Name of DroidSans font (bold)" | ||
104 | size_mult="1.0" | ||
105 | font_style="BOLD"> | ||
106 | <file>DroidSans-Bold.ttf</file> | ||
107 | </font> | ||
108 | |||
109 | |||
68 | <font name="Helvetica" | 110 | <font name="Helvetica" |
69 | comment="Name of Helvetica font"> | 111 | comment="Name of Helvetica font"> |
70 | <file>arial.ttf</file> | 112 | <file>arial.ttf</file> |
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_fonts.xml b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_fonts.xml index e55981b..869063f 100644 --- a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_fonts.xml +++ b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_fonts.xml | |||
@@ -20,6 +20,14 @@ | |||
20 | Liberation Sans (classic Imprudence font) | 20 | Liberation Sans (classic Imprudence font) |
21 | </radio_item> | 21 | </radio_item> |
22 | 22 | ||
23 | <radio_item name="Delicious" bottom="-120" left="0" height="20"> | ||
24 | Delicious | ||
25 | </radio_item> | ||
26 | |||
27 | <radio_item name="DroidSans" bottom="-170" left="0" height="20"> | ||
28 | Droid Sans | ||
29 | </radio_item> | ||
30 | |||
23 | </radio_group> | 31 | </radio_group> |
24 | 32 | ||
25 | <text name="dejavu_preview" font="DejaVuMedium" top="-55" left="60"> | 33 | <text name="dejavu_preview" font="DejaVuMedium" top="-55" left="60"> |
@@ -30,4 +38,12 @@ | |||
30 | Preview: The quick brown fox jumped over the lazy dog. :) | 38 | Preview: The quick brown fox jumped over the lazy dog. :) |
31 | </text> | 39 | </text> |
32 | 40 | ||
41 | <text name="del_preview" font="DeliciousMedium" top="-155" left="60"> | ||
42 | Preview: The quick brown fox jumped over the lazy dog. :) | ||
43 | </text> | ||
44 | |||
45 | <text name="droid_preview" font="DroidSansMedium" top="-205" left="60"> | ||
46 | Preview: The quick brown fox jumped over the lazy dog. :) | ||
47 | </text> | ||
48 | |||
33 | </panel> | 49 | </panel> |
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py index 5faa55e..2285b58 100755 --- a/linden/indra/newview/viewer_manifest.py +++ b/linden/indra/newview/viewer_manifest.py | |||
@@ -75,16 +75,29 @@ class ViewerManifest(LLManifest): | |||
75 | 75 | ||
76 | # Include our fonts | 76 | # Include our fonts |
77 | if self.prefix(src="fonts"): | 77 | if self.prefix(src="fonts"): |
78 | self.path("GPL.txt") | ||
79 | self.path("Liberation-License.txt") | ||
78 | self.path("LiberationSans-Bold.ttf") | 80 | self.path("LiberationSans-Bold.ttf") |
79 | self.path("LiberationSans-Regular.ttf") | 81 | self.path("LiberationSans-Regular.ttf") |
80 | self.path("VeraMono.ttf") | 82 | |
83 | self.path("Delicious-License.txt") | ||
84 | self.path("Delicious-BoldItalic.otf") | ||
85 | self.path("Delicious-Bold.otf") | ||
86 | self.path("Delicious-Italic.otf") | ||
87 | self.path("Delicious-Roman.otf") | ||
88 | |||
89 | self.path("Droid-License.txt") | ||
90 | self.path("DroidSans-Bold.ttf") | ||
91 | self.path("DroidSans.ttf") | ||
92 | |||
93 | self.path("DejaVu-License.txt") | ||
81 | self.path("DejaVuSansCondensed-BoldOblique.ttf") | 94 | self.path("DejaVuSansCondensed-BoldOblique.ttf") |
82 | self.path("DejaVuSansCondensed-Bold.ttf") | 95 | self.path("DejaVuSansCondensed-Bold.ttf") |
83 | self.path("DejaVuSansCondensed-Oblique.ttf") | 96 | self.path("DejaVuSansCondensed-Oblique.ttf") |
84 | self.path("DejaVuSansCondensed.ttf") | 97 | self.path("DejaVuSansCondensed.ttf") |
85 | self.path("GPL.txt") | 98 | |
86 | self.path("Liberation-License.txt") | ||
87 | self.path("Vera-License.txt") | 99 | self.path("Vera-License.txt") |
100 | self.path("VeraMono.ttf") | ||
88 | self.end_prefix("fonts") | 101 | self.end_prefix("fonts") |
89 | 102 | ||
90 | # skins | 103 | # skins |