aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
authorJacek Antonelli2010-09-10 14:39:00 -0500
committerJacek Antonelli2010-09-10 18:50:19 -0500
commit25e64d972829a4be5aedeeed105c4c40081dc474 (patch)
tree59cdef5cb4ec9f2a959d3a3d8f65e275800beda9 /linden/indra/newview
parentAdded the concept of aliases to LLFontRegistry. (diff)
downloadmeta-impy-25e64d972829a4be5aedeeed105c4c40081dc474.zip
meta-impy-25e64d972829a4be5aedeeed105c4c40081dc474.tar.gz
meta-impy-25e64d972829a4be5aedeeed105c4c40081dc474.tar.bz2
meta-impy-25e64d972829a4be5aedeeed105c4c40081dc474.tar.xz
Added the concept of font size multiplier (size_mult).
This compensates for inherent size differences in each font family, so that UI text is a consistent size, no matter which font you use.
Diffstat (limited to 'linden/indra/newview')
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/fonts.xml18
1 files changed, 11 insertions, 7 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 df1356b..1aa44fb 100644
--- a/linden/indra/newview/skins/default/xui/en-us/fonts.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/fonts.xml
@@ -26,25 +26,29 @@
26 26
27 27
28 <font name="DejaVu" 28 <font name="DejaVu"
29 comment="Name of DejaVu font"> 29 comment="Name of DejaVu font"
30 size_mult="1.00">
30 <file>DejaVuSansCondensed.ttf</file> 31 <file>DejaVuSansCondensed.ttf</file>
31 </font> 32 </font>
32 33
33 <font name="DejaVu" 34 <font name="DejaVu"
34 comment="Name of DejaVu font (bold)" 35 comment="Name of DejaVu font (bold)"
35 font_style="BOLD"> 36 size_mult="1.00"
37 font_style="BOLD">
36 <file>DejaVuSansCondensed-Bold.ttf</file> 38 <file>DejaVuSansCondensed-Bold.ttf</file>
37 </font> 39 </font>
38 40
39 <font name="DejaVu" 41 <font name="DejaVu"
40 comment="Name of DejaVu font (italic)" 42 comment="Name of DejaVu font (italic)"
41 font_style="ITALIC"> 43 size_mult="1.00"
44 font_style="ITALIC">
42 <file>DejaVuSansCondensed-Oblique.ttf</file> 45 <file>DejaVuSansCondensed-Oblique.ttf</file>
43 </font> 46 </font>
44 47
45 <font name="DejaVu" 48 <font name="DejaVu"
46 comment="Name of DejaVu font (bold italic)" 49 comment="Name of DejaVu font (bold italic)"
47 font_style="BOLD|ITALIC"> 50 size_mult="1.00"
51 font_style="BOLD|ITALIC">
48 <file>DejaVuSansCondensed-BoldOblique.ttf</file> 52 <file>DejaVuSansCondensed-BoldOblique.ttf</file>
49 </font> 53 </font>
50 54