diff options
author | Jacek Antonelli | 2010-09-10 14:39:00 -0500 |
---|---|---|
committer | McCabe Maxsted | 2010-09-10 19:23:34 -0700 |
commit | f42f2c7aa4f5c9b2f1db249495f66845385f7239 (patch) | |
tree | 24d96be9ff5b06b6f81bd5c78e1461dda89ec225 /linden/indra/newview/skins | |
parent | Added the concept of aliases to LLFontRegistry. (diff) | |
download | meta-impy-f42f2c7aa4f5c9b2f1db249495f66845385f7239.zip meta-impy-f42f2c7aa4f5c9b2f1db249495f66845385f7239.tar.gz meta-impy-f42f2c7aa4f5c9b2f1db249495f66845385f7239.tar.bz2 meta-impy-f42f2c7aa4f5c9b2f1db249495f66845385f7239.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/skins')
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/fonts.xml | 18 |
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 | ||