aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/skins
diff options
context:
space:
mode:
authorJacek Antonelli2010-08-31 05:54:55 -0500
committerMcCabe Maxsted2010-09-10 19:23:06 -0700
commit7460b677c3979b9ec5b913dee3abfcd4272bd297 (patch)
tree406bc0c3ce68962090fe2ca4a29cd3b9b4d002d3 /linden/indra/newview/skins
parentChanged the 'bundle identifier' to org.imprudenceviewer.viewer. (diff)
downloadmeta-impy-7460b677c3979b9ec5b913dee3abfcd4272bd297.zip
meta-impy-7460b677c3979b9ec5b913dee3abfcd4272bd297.tar.gz
meta-impy-7460b677c3979b9ec5b913dee3abfcd4272bd297.tar.bz2
meta-impy-7460b677c3979b9ec5b913dee3abfcd4272bd297.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 0de1df5..eced647 100644
--- a/linden/indra/newview/skins/default/xui/en-us/notifications.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/notifications.xml
@@ -7084,6 +7084,13 @@ Apply this region's settings? (&quot;Ignore&quot; will ignore all region setting
7084 </form> 7084 </form>
7085</notification> 7085</notification>
7086 7086
7087<notification
7088 name="ChangeFont"
7089 icon="alertmodal.tga"
7090 type="alertmodal">
7091The new font will appear after you restart [VIEWER_NAME].
7092</notification>
7093
7087 7094
7088<!--End Imprudence notifications--> 7095<!--End Imprudence notifications-->
7089 <!-- [KITTY VIEWER] --> 7096 <!-- [KITTY VIEWER] -->
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>