X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFont.h;h=b59f015eca7d9318deb5ec513f6755681c45e453;hb=0b42f77551e607e59ac4fa98e5b926fb10a45baf;hp=40a7d28307a42217ff8b92608ab53b6fa64e6432;hpb=3b6fec38357949da2675dd4524282f1c790eff6e;p=lyx.git diff --git a/src/Font.h b/src/Font.h index 40a7d28307..b59f015eca 100644 --- a/src/Font.h +++ b/src/Font.h @@ -72,10 +72,12 @@ public: to this font. Returns number of chars written. Base is the font state active now. */ - int latexWriteStartChanges(odocstream &, BufferParams const & bparams, + int latexWriteStartChanges(otexstream &, BufferParams const & bparams, OutputParams const & runparams, Font const & base, - Font const & prev) const; + Font const & prev, + bool non_inherit_inset = false, + bool needs_cprotection = false) const; /** Writes the tail of the LaTeX needed to change to this font. Returns number of chars written. Base is the font state we want @@ -86,8 +88,7 @@ public: Font const & base, Font const & next, bool & needPar, - bool const & closeLanguage = true, - bool const & non_inherit_inset = false) const; + bool closeLanguage = true) const; /// Build GUI description of font state @@ -118,6 +119,9 @@ private: mutable bool open_encoding_; }; +/// +std::ostream & operator<<(std::ostream & os, FontInfo const & f); + /// inline