* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
* \author Jean-Marc Lasgouttes
* \author Angus Leeming
* \author Dekel Tsur
#ifndef FONT_H
#define FONT_H
-#ifdef TEX2LYX
-#include "tex2lyx/Font.h"
-#else
-
#include "ColorCode.h"
#include "FontInfo.h"
-#include "support/docstream.h"
+#include "support/strfwd.h"
namespace lyx {
-class Lexer;
class BufferParams;
class Language;
class LaTeXFeatures;
///
void setLanguage(Language const * l);
- /// Returns misc flag after LyX text format
- FontState setLyXMisc(std::string const &);
-
-
/// Returns size of font in LaTeX text notation
std::string const latexSize() const;
FontInfo bits_;
///
Language const * lang_;
-
/// Did latexWriteStartChanges open an encoding environment?
mutable bool open_encoding_;
};
*/
std::string const freefont2string();
-
-/// Set family after LyX text format
-void setLyXFamily(std::string const &, FontInfo &);
-
-/// Set series after LyX text format
-void setLyXSeries(std::string const &, FontInfo &);
-
-/// Set shape after LyX text format
-void setLyXShape(std::string const &, FontInfo &);
-
-/// Set size after LyX text format
-void setLyXSize(std::string const &, FontInfo &);
-
-/// Sets color after LyX text format
-void setLyXColor(std::string const &, FontInfo &);
-
-/// Read a font specification from Lexer. Used for layout files.
-FontInfo lyxRead(Lexer &, FontInfo const & fi = sane_font);
-
} // namespace lyx
-#endif // TEX2LYX
#endif