From cfac5138b398ee5de7c7779f95328e88ff17c150 Mon Sep 17 00:00:00 2001 From: jkriege2 Date: Sat, 13 Aug 2022 19:47:35 +0200 Subject: [PATCH] docfix --- lib/jkqtmathtext/nodes/jkqtmathtexttextnode.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/jkqtmathtext/nodes/jkqtmathtexttextnode.h b/lib/jkqtmathtext/nodes/jkqtmathtexttextnode.h index b42d5c8504..dbdabcf382 100644 --- a/lib/jkqtmathtext/nodes/jkqtmathtexttextnode.h +++ b/lib/jkqtmathtext/nodes/jkqtmathtexttextnode.h @@ -75,11 +75,11 @@ class JKQTMATHTEXT_LIB_EXPORT JKQTMathTextTextNode: public JKQTMathTextTextBaseN protected: /** \brief defines how a character shold be drawn, used by splitTextForLayout */ enum FontMode { - FMasDefined, - FMasDefinedForceUpright, - FMasDefinedOutline, - FMroman, - FMfallbackSymbol + FMasDefined, /*!< \brief use current font */ + FMasDefinedForceUpright, /*!< \brief use current font, but force it upright (e.g. for digits in math mode) */ + FMasDefinedOutline, /*!< \brief use current font and draw as outline, e.g. used for simulating blackboard fonts */ + FMroman, /*!< \brief use JKQTMathText::getFontRoman() */ + FMfallbackSymbol, /*!< \brief use JKQTMathText::getFallbackFontSymbols() */ }; /** \copydoc JKQTMathTextNode::getSizeInternal() */ virtual void getSizeInternal(QPainter& painter, JKQTMathTextEnvironment currentEv, double& width, double& baselineHeight, double& overallHeight, double& strikeoutPos, const JKQTMathTextNodeSize* prevNodeSize=nullptr) override;