Hi,
i'm testing this code with the "friedberg" example and latest Qwt version:
in plot.cpp after line 70 add a qDebug() line
Qt Code:
setTitle( "Temperature of Friedberg/Germany" ); qDebug() << title().font(); // NEWTo copy to clipboard, switch view to plain text mode
The output is:
QFont( "MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0" )
But the font size of the plot title is never 8.25.
Here
https://msdn.microsoft.com/de-de/lib...(v=vs.85).aspx
you can find, that "MS Shell Dlg 2 simply uses the Tahoma font regardless of language.".
I rebuild the title in Word Pad and the font size must be 14.
Fontsize.jpg
What's is going wrong here? Why is the size wrong of the returned font by title().font() ? Guess it is a bug.
Thx
Bookmarks