Added additional font face flags for "condensed", "light" and "heavy".

Our font has some extra styles and these could be picked up as the
"regular" face by accident, as witnessed by Firefox. Tracked down by
Michael Lotz. Firefox uses the correct font now for it's interface.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25636 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2008-05-24 14:54:18 +00:00
parent 4f04d37ff3
commit 5b30a26b7c
7 changed files with 83 additions and 9 deletions
+5 -1
View File
@@ -74,7 +74,11 @@ enum {
B_OUTLINED_FACE = 0x0008,
B_STRIKEOUT_FACE = 0x0010,
B_BOLD_FACE = 0x0020,
B_REGULAR_FACE = 0x0040
B_REGULAR_FACE = 0x0040,
// new in Haiku:
B_CONDENSED_FACE = 0x0080,
B_LIGHT_FACE = 0x0100,
B_HEAVY_FACE = 0x0200,
};
enum font_metric_mode {