- fix: wrong font size of exported HTML file
This commit is contained in:
parent
54592276c8
commit
0fd70d7ab6
1
NEWS.md
1
NEWS.md
|
@ -28,6 +28,7 @@ Red Panda C++ Version 1.0.0
|
||||||
- enhancement: auto add parentheis when complete function like MARCOs
|
- enhancement: auto add parentheis when complete function like MARCOs
|
||||||
- fix: wrong font size of exported RTF file
|
- fix: wrong font size of exported RTF file
|
||||||
- fix: correct tokenize statements like "using ::memcpy";
|
- fix: correct tokenize statements like "using ::memcpy";
|
||||||
|
- fix: wrong font size of exported HTML file
|
||||||
|
|
||||||
Red Panda C++ Version 0.14.5
|
Red Panda C++ Version 0.14.5
|
||||||
- fix: the "gnu c++ 20" option in compiler set options is wrong
|
- fix: the "gnu c++ 20" option in compiler set options is wrong
|
||||||
|
|
|
@ -213,7 +213,7 @@ QString SynHTMLExporter::GetHeader()
|
||||||
Result += "<!--StartFragment-->";
|
Result += "<!--StartFragment-->";
|
||||||
}
|
}
|
||||||
Result += QString("<span style=\"font: %1pt %2;\">")
|
Result += QString("<span style=\"font: %1pt %2;\">")
|
||||||
.arg(mFont.pointSize())
|
.arg(pixelToPoint(mFont.pixelSize()))
|
||||||
.arg(mFont.family());
|
.arg(mFont.family());
|
||||||
|
|
||||||
return Result;
|
return Result;
|
||||||
|
|
Loading…
Reference in New Issue