From 4b0df8532d65acffbb6a2c9e69a7d33541ef09ef Mon Sep 17 00:00:00 2001 From: Abs62 Date: Wed, 12 Jul 2017 18:11:58 +0300 Subject: [PATCH] Slob, Win-specific: Increase scale for MathJax SVG and HTML-CSS output --- slob.cc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/slob.cc b/slob.cc index 72718119..579fab7b 100644 --- a/slob.cc +++ b/slob.cc @@ -912,6 +912,18 @@ string SlobDictionary::convert( const string & in, RefEntry const & entry ) pos += list[ 0 ].length(); } } +#ifdef Q_OS_WIN32 + else + { + // Increase equations scale + text = QString::fromLatin1( "" + + text; + } +#endif // Fix outstanding elements text += "
"; @@ -922,7 +934,6 @@ string SlobDictionary::convert( const string & in, RefEntry const & entry ) void SlobDictionary::loadResource( std::string & resourceName, string & data ) { vector< WordArticleLink > link; - string resData; RefEntry entry; link = resourceIndex.findArticles( Utf8::decode( resourceName ) );