This file is indexed.

/usr/include/oce/Font_FontMgr.hxx is in liboce-visualization-dev 0.18.2-2build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _Font_FontMgr_HeaderFile
#define _Font_FontMgr_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Font_FontMgr.hxx>

#include <Font_NListOfSystemFont.hxx>
#include <MMgt_TShared.hxx>
#include <Handle_Font_SystemFont.hxx>
#include <Handle_TCollection_HAsciiString.hxx>
#include <Font_FontAspect.hxx>
#include <Standard_Integer.hxx>
#include <Standard_CString.hxx>
#include <Standard_Boolean.hxx>
class TColStd_SequenceOfHAsciiString;
class Font_SystemFont;
class TCollection_HAsciiString;


//! Collects and provides information about available fonts in system.
class Font_FontMgr : public MMgt_TShared
{

public:

  
  Standard_EXPORT static   Handle(Font_FontMgr) GetInstance() ;
  
  Standard_EXPORT  const  Font_NListOfSystemFont& GetAvailableFonts()  const;
  
  //! Returns sequence of available fonts names
  Standard_EXPORT   void GetAvailableFontsNames (TColStd_SequenceOfHAsciiString& theFontsNames)  const;
  
  //! Returns font that match given parameters.
  //! If theFontName is empty string returned font can have any FontName.
  //! If theFontAspect is Font_FA_Undefined returned font can have any FontAspect.
  //! If theFontSize is "-1" returned font can have any FontSize.
  Standard_EXPORT   Handle(Font_SystemFont) GetFont (const Handle(TCollection_HAsciiString)& theFontName, const Font_FontAspect theFontAspect, const Standard_Integer theFontSize)  const;
  
  //! Tries to find font by given parameters.
  //! If the specified font is not found tries to use font names mapping.
  //! If the requested family name not found -> search for any font family
  //! with given aspect and height. If the font is still not found, returns
  //! any font available in the system. Returns NULL in case when the fonts
  //! are not found in the system.
  Standard_EXPORT   Handle(Font_SystemFont) FindFont (const Handle(TCollection_HAsciiString)& theFontName, const Font_FontAspect theFontAspect, const Standard_Integer theFontSize)  const;
  
  //! Read font file and retrieve information from it.
  Standard_EXPORT   Handle(Font_SystemFont) CheckFont (const Standard_CString theFontPath)  const;
  
  //! Register new font.
  //! If there is existing entity with the same name and properties but different path
  //! then font will will be overridden or ignored depending on theToOverride flag.
  Standard_EXPORT   Standard_Boolean RegisterFont (const Handle(Font_SystemFont)& theFont, const Standard_Boolean theToOverride) ;




  DEFINE_STANDARD_RTTI(Font_FontMgr)

protected:




private: 

  
  //! Creates empty font object
  Standard_EXPORT Font_FontMgr();
  
  //! Collects available fonts paths.
  Standard_EXPORT   void InitFontDataBase() ;

  Font_NListOfSystemFont myListOfFonts;


};







#endif // _Font_FontMgr_HeaderFile