]> git.lyx.org Git - lyx.git/blob - src/support/fontutils.h
* support/os_unix.C (canAutoOpen, autoOpenFile): on Mac OS X, use
[lyx.git] / src / support / fontutils.h
1 // -*- C++ -*-
2 /**
3  * \file fontutils.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  *
9  * Full author contact details are available in file CREDITS.
10  *
11  * General font utilities.
12  * FIXME: only MAC and WIN32 for now but it would be nice to convince
13  * fontconfig to do the same for linux.
14  */
15
16 #ifndef LYX_FONTUTILS_H
17 #define LYX_FONTUTILS_H
18
19 namespace lyx {
20 namespace support {
21
22 /// Add fonts to the font subsystem, must be called before Application
23 /// is initialized.
24 void addFontResources();
25
26 /// Restore original font resources, must be called after Application
27 /// is destroyed.
28 void restoreFontResources();
29
30 } // namespace support
31 } // namespace lyx
32
33 #endif