- 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
|
||||
- fix: wrong font size of exported RTF file
|
||||
- fix: correct tokenize statements like "using ::memcpy";
|
||||
- fix: wrong font size of exported HTML file
|
||||
|
||||
Red Panda C++ Version 0.14.5
|
||||
- fix: the "gnu c++ 20" option in compiler set options is wrong
|
||||
|
|
|
@ -213,7 +213,7 @@ QString SynHTMLExporter::GetHeader()
|
|||
Result += "<!--StartFragment-->";
|
||||
}
|
||||
Result += QString("<span style=\"font: %1pt %2;\">")
|
||||
.arg(mFont.pointSize())
|
||||
.arg(pixelToPoint(mFont.pixelSize()))
|
||||
.arg(mFont.family());
|
||||
|
||||
return Result;
|
||||
|
|
Loading…
Reference in New Issue