/* * Copyright 2001-2015, Haiku, Inc. * Distributed under the terms of the MIT License. * * Authors: * DarkWyrm * Jérôme Duval, jerome.duval@free.fr * Axel Dörfler, axeld@pinc-software.de * Stephan Aßmus * Andrej Spielmann, */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; const float kUninitializedAscent = INFINITY; const uint32 kUninitializedExtraFlags = 0xffffffff; // The actual objects which the globals point to static BFont sPlainFont; static BFont sBoldFont; static BFont sFixedFont; const BFont* be_plain_font = &sPlainFont; const BFont* be_bold_font = &sBoldFont; const BFont* be_fixed_font = &sFixedFont; struct style { BString name; uint16 face; uint32 flags; }; struct family { BString name; uint32 flags; BObjectList