aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/skins
diff options
context:
space:
mode:
authorJacek Antonelli2010-08-31 05:54:55 -0500
committerJacek Antonelli2010-09-10 18:50:13 -0500
commitc4cf3766e12cf652cece9f1957b55bf3acb28146 (patch)
tree3fa221c7d6aa0ed1d89d4c2057452b46799063cb /linden/indra/newview/skins
parentSwitched main viewer font to DejaVu Sans Condensed. (diff)
downloadmeta-impy-c4cf3766e12cf652cece9f1957b55bf3acb28146.zip
meta-impy-c4cf3766e12cf652cece9f1957b55bf3acb28146.tar.gz
meta-impy-c4cf3766e12cf652cece9f1957b55bf3acb28146.tar.bz2
meta-impy-c4cf3766e12cf652cece9f1957b55bf3acb28146.tar.xz
Added Preferences > Fonts tab, with basic font chooser.
Choosing a font sets FontChoice setting, but no real effect yet.
Diffstat (limited to 'linden/indra/newview/skins')
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/fonts.xml14
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/notifications.xml7
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/panel_preferences_fonts.xml33
3 files changed, 54 insertions, 0 deletions
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 95070ed..5d831c6 100644
--- a/linden/indra/newview/skins/default/xui/en-us/fonts.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/fonts.xml
@@ -33,6 +33,7 @@
33 <file>VeraMono.ttf</file> 33 <file>VeraMono.ttf</file>
34 </font> 34 </font>
35 35
36
36 <font name="DejaVu" 37 <font name="DejaVu"
37 comment="Name of DejaVu font"> 38 comment="Name of DejaVu font">
38 <file>DejaVuSansCondensed.ttf</file> 39 <file>DejaVuSansCondensed.ttf</file>
@@ -56,6 +57,19 @@
56 <file>DejaVuSansCondensed-BoldOblique.ttf</file> 57 <file>DejaVuSansCondensed-BoldOblique.ttf</file>
57 </font> 58 </font>
58 59
60
61 <font name="Liberation"
62 comment="Name of Liberation font">
63 <file>LiberationSans-Regular.ttf</file>
64 </font>
65
66 <font name="Liberation"
67 comment="Name of Liberation font (bold)"
68 font_style="BOLD">
69 <file>LiberationSans-Bold.ttf</file>
70 </font>
71
72
59 <font name="Helvetica" 73 <font name="Helvetica"
60 comment="Name of Helvetica font"> 74 comment="Name of Helvetica font">
61 <file>arial.ttf</file> 75 <file>arial.ttf</file>
diff --git a/linden/indra/newview/skins/default/xui/en-us/notifications.xml b/linden/indra/newview/skins/default/xui/en-us/notifications.xml
index a490af1..58d5f19 100644
--- a/linden/indra/newview/skins/default/xui/en-us/notifications.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/notifications.xml
@@ -7052,6 +7052,13 @@ Apply this region's settings? (&quot;Ignore&quot; will ignore all region setting
7052 </form> 7052 </form>
7053</notification> 7053</notification>
7054 7054
7055<notification
7056 name="ChangeFont"
7057 icon="alertmodal.tga"
7058 type="alertmodal">
7059The new font will appear after you restart [VIEWER_NAME].
7060</notification>
7061
7055 7062
7056<!--End Imprudence notifications--> 7063<!--End Imprudence notifications-->
7057 7064
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
new file mode 100644
index 0000000..e55981b
--- /dev/null
+++ b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_fonts.xml
@@ -0,0 +1,33 @@
1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
2
3<panel name="font_panel" label="Fonts"
4 bottom="-409" left="102" height="408" width="517"
5 border="true" follows="left|top|right|bottom">
6
7 <text bottom="-25" left="10" height="15" width="300">
8 User interface font (requires restart):
9 </text>
10
11 <radio_group name="fonts" draw_border="false"
12 top="-30" left="20" bottom="0" right="-20"
13 follows="top|left|bottom|right">
14
15 <radio_item name="DejaVu" bottom="-20" left="0" height="20">
16 DejaVu Sans Condensed
17 </radio_item>
18
19 <radio_item name="Liberation" bottom="-70" left="0" height="20">
20 Liberation Sans (classic Imprudence font)
21 </radio_item>
22
23 </radio_group>
24
25 <text name="dejavu_preview" font="DejaVuMedium" top="-55" left="60">
26 Preview: The quick brown fox jumped over the lazy dog. :)
27 </text>
28
29 <text name="lib_preview" font="LiberationMedium" top="-105" left="60">
30 Preview: The quick brown fox jumped over the lazy dog. :)
31 </text>
32
33</panel>