From ef07a02e9bb0a1697c7b6f96316c243980b46100 Mon Sep 17 00:00:00 2001 From: jkriege2 Date: Thu, 11 Jan 2024 11:31:12 +0100 Subject: [PATCH] FIX issue #116 "Most of the examples fail to launch with MSVC2019 + Qt5 environment" (missing local variable declaration!) + changed a bit the font lookup code in JKQTMathText to work more in line with typical system configurations --- .../jkqtmathtext/jkqtmathtext_unicode.png | Bin 4004 -> 3777 bytes .../jkqtmathtext/jkqtmathtext_useguifonts.png | Bin 4771 -> 4950 bytes doc/images/jkqtmathtext/jkqtmathtext_utf8.png | Bin 3303 -> 3039 bytes examples/jkqtmathtext_test/testform.cpp | 8 +++++++ lib/jkqtmathtext/jkqtmathtexttools.cpp | 21 +++++++++--------- lib/jkqtmathtext/jkqtmathtexttools.h | 2 +- 6 files changed, 20 insertions(+), 11 deletions(-) diff --git a/doc/images/jkqtmathtext/jkqtmathtext_unicode.png b/doc/images/jkqtmathtext/jkqtmathtext_unicode.png index 3d41561e06b66ce9e20576c8d261307e5c4c1ff7..e10bba73c9832e1a9163bf90bdbb2099271353d1 100644 GIT binary patch literal 3777 zcmb7HXH=6-)4l`&}sRjroAT{(F9=g&AHArYm2kAvXML?y4ND~1A zL^=qeNtGf+dWZM+JKyj3ocG7>%%0sjXJ>b=xn`nuP^xsaY_tFX&>__x=>h;564V8$ zDZ%*}#b-%S&^%Q$_5=XvtG|Pc>gW0{sCXhDDeC)WujhogurFRGwCG1?{w;5e_d86Q<&|N2#I>yf zA2vQd8*zb@VH8dAR8l)?XdmU|>?`5;yLR)O+INfOyHqvQPS<#&>-lEWLGA(e=Mpw= z@?<)hsD+1-(}pYMcZvy)(CP>=cE>{Kk{D^j3&{Uhp=46R^h!r4#cp;#C^jLD@cds% z6l3=3)ju6ogX)g(nW6?<2S0!-%k$(unXT#n8I<)_(jnosj!+fzc^lc&lV+7)pO_*> zD7IgI#N)I>=m6GZJ6_be^L??@Da|mxaHXSQ&%LkwW*l%zV7ZQwOo*WmGbIsW5WhS7 zNB#$|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J_cM{v&BgOM~fR7N3IU!TsHhQrtMdLW6U+gF`1`MP>>_=(=R4?v92Yf0(ISDil2z z1h`(p7Y=XLib)-=<{{=#f)_94c6kIt)&iy3>Ommjx2zCgAEhy#tHU16W1RBUX*8Sa jX-biyFbnzr3K!gC7fN~(Qtz9AV>d`!Ltnib>Ja%KDZjdS diff --git a/doc/images/jkqtmathtext/jkqtmathtext_useguifonts.png b/doc/images/jkqtmathtext/jkqtmathtext_useguifonts.png index 269f78fc63c913e413bf26cb5366c440ee35469f..5031e5e338c5b1b89dfb28ff8c8b12dcc49e2be0 100644 GIT binary patch literal 4950 zcmZ{oc{J4D|HsF^%^*85c0$=>ED=ifeM=f5dosv6Sw|!ZnNZd#Bs3AmGIkqKo>1h-_X~7x;ITDCaM5u zqG4H@SV-hinow=je#IxNakYR+r*7?m%l>=wuCb?2V$V;*Pa@CHPRHE2gUYCg7ayomieQV9X)5hv)KAT9 z^40?RSRao$JYN5l!;{*0!H2RKm7Puo;YEu7FLQHqV{ZlHy5$H~x)F@@9sH_fj?X(I z2`g_9SS%Lm8gY7jwe9@ugiccIA(L}FXV1rFpn%LMpCcq5HK}>Y7~n=7dc|$N=?Lr_3Ql+YIBFHr(4+VK+v00n5C<|NDgwe`Jo-G{~hN)@Ow;63Di zSZ1^aWuhP#*XAoeZ22M&K~vNKX9fVUHPqkUDgjN^u3qk!dQ2T)S5ovA zNkiBGM&5?fdr?vLR@1JqRF<%STETw{R%-lQ~sZPSld!-j0<^lg=t0y?Cc2;z)BdoRE zsXoNd<7yRo`(1i(mCVcv{EZ3}@ZP5xSKB-p3%;;U=xBRH$e_%g_wJ@soSZiB zZUY0H!26{&AqZg0=9wO>w*5x>so;1HfHG+EMW&@}P`4f*4NY81&O1_jojUZ2+nxL~ z669BT#hv-jkE2Q?wR<6u0M)3>^dTle81zd!+gZdDynSyyBhF^eX9#{Zl zVZWpf6PzGAxH?u6eYCNxYoXc0kwEJFI&_cFoswlNt^o-&JURIlaqh~Xi0N`@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R)$uM*X6`KW0w@0Epq*BX(-*q{_liK~Uu zSd-Tjr2INJ>b9so`g!rg+vlq(fPrZ`ShL}ct@wO?Buv!H?nfVrvLT(MI53d|AXv9u%a6vbrv|ga%O=WgiNLOeCO4*+ zllT1!M!x4JUi=IM%z&`Q%uGQN4Yd<=*2rJ#kk{@pWfdyKOz7~N#;NhNj?7MD9w#L0 z=gwzpgwW5vv>s73?zW7%IpeZ8==`W>&QpogGA%JykQ%1>>MaTD^k~B>sm@PRZJL%B z#kK|xtfeT`>L$Li5M{H6R#M(Z#@fc-iAz~RUb7adgEZ};H|6bMp?!0&n$vyD)dNat zxs5gTGR^R>aeuj@BiKlFf10YhG{?ooG6RQ^INb$Zlp{$t&s?I7hkZiPmX5#HZh)y7 zl`Jf}O}(FtT}USx&Ay!?bN)A__xoc!QMvQ`gm-*NLhvd2;a7A(!@}v{!dZXiTTn7w ztc?!KQbUAAw_ytswZosUEX~KcM=^{}*@-v|9gy444Lx?e9wkhEySRLnn#Z0&nYPZw zeHmTKbBh!?<{T6%*K!sGkxown`yUn mj=0kg#Es@Yr27BK93pJnf`_?!cis)_1khB~Q>jz3js72`Z+FlD diff --git a/doc/images/jkqtmathtext/jkqtmathtext_utf8.png b/doc/images/jkqtmathtext/jkqtmathtext_utf8.png index 59ee52967898bf17f99f5f3fb2bd029eb61c6309..59808b41c772d88cd8cd6c58a5e0872aaab85bad 100644 GIT binary patch delta 3013 zcmai0c{tQv8zw1)vM(8uHA~1eCRu8TMwYVg2?=9280(MhWFKUiHp|$TF_SGzCR9jd z8Dq~LS@K%5e82a*zW=}T$62oHocnpsd7kIK&l2A>PbwU^kcQN}YmCYNo#*amG|CtL zI+aGB#hPj8t;S6v@d-9%v*3=71QcNvZ>&Y7IwDETdae@><4=(0qbpj{+^?E5A}S3$i{#I<9nf$QH8)JaT8H-yFt!d1+K==P{qwqDF6J^{Byr zzYge|N|vNTRtXo?$|8+IYeV=y2kppRVyFR5!*q07g`^d2Y-}(pf@Ni8#Z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41lnO63DW)WKq3kS!}KmzA8P%y&RI-ffR4OW2=5H~h>8Uv3P*(r| N002ovPDHLkV1oPnj==x` diff --git a/examples/jkqtmathtext_test/testform.cpp b/examples/jkqtmathtext_test/testform.cpp index 4c7c6d7d977..9c936ce3a58 100644 --- a/examples/jkqtmathtext_test/testform.cpp +++ b/examples/jkqtmathtext_test/testform.cpp @@ -39,10 +39,18 @@ TestForm::TestForm(QWidget *parent) : " text: & abc123+d/e\\\\\n" " textit: & \\textit{abc123+d/e}\\\\\n" " textbf: & \\textbf{abc123+d/e}\\\\\n" + " textsf: & \\textsf{abc123+d/e}\\\\\n" + " textrm: & \\textrm{abc123+d/e}\\\\\n" + " texttt: & \\texttt{abc123+d/e}\\\\\n" + " textcal: & \\textcal{abc123+d/e}\\\\\n" + " textfrak: & \\textfrak{abc123+d/e}\\\\\n" " math: & $abc123+d/e$\\\\\n" " mathrm: & $\\mathrm{abc123+d/e}$\\\\\n" + " mathsf: & $\\mathsf{abc123+d/e}$\\\\\n" + " mathtt: & $\\mathtt{abc123+d/e}$\\\\\n" " mathit: & $\\mathit{abc123+d/e}$\\\\\n" " mathbf: & $\\mathbf{abc123+d/e}$\\\\\n" + " mathcal: & $\\mathcal{abc123+d/e}$\n" " mathfrak: & $\\mathfrak{abc123+d/e}$\n" "\\end{matrix}"); ui->cmbTestset->addItem("text: umlaute", umla); diff --git a/lib/jkqtmathtext/jkqtmathtexttools.cpp b/lib/jkqtmathtext/jkqtmathtexttools.cpp index 7fb72e97718..1502bad1c3d 100644 --- a/lib/jkqtmathtext/jkqtmathtexttools.cpp +++ b/lib/jkqtmathtext/jkqtmathtexttools.cpp @@ -432,14 +432,14 @@ JKQTMathTextFontSpecifier JKQTMathTextFontSpecifier::getAppFontFamilies() } } if (!set) { - if (f.styleHint()==QFont::SansSerif) { - const JKQTMathTextFontSpecifier fira=getFIRAFamilies(); - if (fira.hasFallbackSymbolFontName()) fontSpec.m_fallbackSymbolFont=fira.fallbackSymbolsFontName(); - if (fira.hasMathFontName()) fontSpec.m_mathFontName=fira.mathFontName(); - } else { + if (f.styleHint()==QFont::Serif) { const JKQTMathTextFontSpecifier xits=getXITSFamilies(); if (xits.hasFallbackSymbolFontName()) fontSpec.m_fallbackSymbolFont=xits.fallbackSymbolsFontName(); if (xits.hasMathFontName()) fontSpec.m_mathFontName=xits.mathFontName(); + } else { + const JKQTMathTextFontSpecifier fira=getFIRAFamilies(); + if (fira.hasFallbackSymbolFontName()) fontSpec.m_fallbackSymbolFont=fira.fallbackSymbolsFontName(); + if (fira.hasMathFontName()) fontSpec.m_mathFontName=fira.mathFontName(); } } return fontSpec; @@ -450,14 +450,15 @@ JKQTMathTextFontSpecifier JKQTMathTextFontSpecifier::getAppFontFamilies() JKQTMathTextFontSpecifier JKQTMathTextFontSpecifier::getAppFontSFFamilies() { static JKQTMathTextFontSpecifier fontSpec=[]() -> JKQTMathTextFontSpecifier { + JKQTMathTextFontSpecifier fontSpec; const QFont f=QGuiApplication::font().family(); QFont testFnt; - if (f.styleHint()==QFont::SansSerif) { - testFnt.setStyleHint(QFont::StyleHint::Serif); - fontSpec.m_fontName=fontSpec.m_mathFontName=testFnt.defaultFamily(); - } else { + if (f.styleHint()==QFont::Serif) { testFnt.setStyleHint(QFont::StyleHint::SansSerif); - fontSpec.m_fontName=fontSpec.m_mathFontName=testFnt.defaultFamily(); + fontSpec.m_fontName=fontSpec.m_mathFontName=testFnt.defaultFamily();; + } else { + testFnt.setStyleHint(QFont::StyleHint::Serif); + fontSpec.m_fontName=fontSpec.m_mathFontName=testFnt.defaultFamily();; } return fontSpec; }(); diff --git a/lib/jkqtmathtext/jkqtmathtexttools.h b/lib/jkqtmathtext/jkqtmathtexttools.h index a6418fe0954..5c31b18e2ed 100644 --- a/lib/jkqtmathtext/jkqtmathtexttools.h +++ b/lib/jkqtmathtext/jkqtmathtexttools.h @@ -147,7 +147,7 @@ struct JKQTMATHTEXT_LIB_EXPORT JKQTMathTextFontSpecifier { * font with symbols is "Segoe UI Symbol" ... */ static JKQTMathTextFontSpecifier getAppFontFamilies(); - /** \brief initialize with the default app font-families for "serif" text and math and tries to find a matching fallback-font. This may be used to initialize sans-serif-fonts + /** \brief initialize with the default app font-families for "sans-serif" text and math and tries to find a matching fallback-font. This may be used to initialize sans-serif-fonts * * This method encodes some pre-coded knowledge of suitable combinations of fonts for different systems. *