I want to use the `Consolas` font in my app, but in Clear Type. I tried doing it like this:
Code: Select all
const wxFont font(wxFontInfo(13).AntiAliased(false).FaceName("Consolas"));
frame->m_richText->SetFont(font);
https://www.dropbox.com/s/w2wkpnry3iowx ... s.png?dl=0
Then I tried changing this setting in Visual Studio to `High DPI Aware`:
https://www.dropbox.com/s/03u9ecxuzavo9 ... g.png?dl=0
And it looks to me the same as before, but here is a picture just in case:
https://www.dropbox.com/s/jwes1rigoaqls ... e.png?dl=0
Then I tried changing the setting to be `Per Monitor High DPI Aware` and here how it looks:
https://www.dropbox.com/s/qcvdtcit0wejx ... e.png?dl=0
Do you notice that everything became... ah... kinda smaller? The title bar is thiner for example, the text size in the button became smaller, in fact all the text became smaller, oh and, it makes my head heart when I look at the app with this setting. But now the font look gorgeous, nice and crispy, True Type.
What I need is for my head not to heart and for the fonts to stay the same size and the title bar to be its normal thickness (and all the other widgets should preserve their size too) but I want the gorgeous crispy Clear Type font.