0030439: Visualization - extend fonts search within Font_FontMgr::FindFont() on Linux
[occt.git] / src / Font / Font_FontAspect.hxx
CommitLineData
42cf5bc1 1// Copyright (c) 1992-1999 Matra Datavision
2// Copyright (c) 1999-2014 OPEN CASCADE SAS
3//
4// This file is part of Open CASCADE Technology software library.
5//
6// This library is free software; you can redistribute it and/or modify it under
7// the terms of the GNU Lesser General Public License version 2.1 as published
8// by the Free Software Foundation, with special exception defined in the file
9// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10// distribution for complete text of the license and disclaimer of any warranty.
11//
12// Alternatively, this file may be used under the terms of Open CASCADE
13// commercial license or contractual agreement.
14
15#ifndef _Font_FontAspect_HeaderFile
16#define _Font_FontAspect_HeaderFile
17
18//! Specifies aspect of system font.
19enum Font_FontAspect
20{
5b377041 21 Font_FontAspect_UNDEFINED = -1, //!< special value reserved for undefined aspect
22 Font_FontAspect_Regular = 0, //!< normal (regular) aspect
23 Font_FontAspect_Bold, //!< bold aspect
24 Font_FontAspect_Italic, //!< italic aspect
25 Font_FontAspect_BoldItalic, //!< bold+italic aspect
26
27 // old aliases
28 Font_FA_Undefined = Font_FontAspect_UNDEFINED,
29 Font_FA_Regular = Font_FontAspect_Regular,
30 Font_FA_Bold = Font_FontAspect_Bold,
31 Font_FA_Italic = Font_FontAspect_Italic,
32 Font_FA_BoldItalic = Font_FontAspect_BoldItalic
42cf5bc1 33};
5b377041 34enum { Font_FontAspect_NB = Font_FontAspect_BoldItalic + 1 };
42cf5bc1 35
36#endif // _Font_FontAspect_HeaderFile