Qt Creator editor font size
-
This is maybe a frivolous issue, but I have been wondering about this. The font size I like when coding usually comes to 13 in the IDE's and editors I use. However, Qt Creator only allows the font size to be set to 12, 14, 16, 18, ... Even if I set the font size to 13 in the config file, 14 is selected. I'm just curious about the reason for this.
-
What I've found so far...
This is a Qt issue. The following code shows the available point sizes on my Ubuntu PC. I'm not sure about other distro's. Qt Creator on Windows also lacks certain point sizes, apparently this is not the case on OS X.
@
QFontDatabase database;QString family = "Courier New"; QString output = tr("[%1]: ").arg(family); foreach (const QString &style, database.styles(family)) { output.append(tr(" Style-%1: ").arg(style)); foreach (int points, database.pointSizes(family, style)) { output.append(tr("(%1) ").arg(points)); } } qDebug() << output;
@
@
The point sizes listed are:
"[Courier New]: Style-Bold: (6) (7) (8) (9) (10) (11) (12) (14) (16) (18) (20) (22) (24) (26) (28) (36) (48) (72) Style-Regular: (6) (7) (8) (9) (10) (11) (12) (14) (16) (18) (20) (22) (24) (26) (28) (36) (48) (72) Style-Bold Italic: (6) (7) (8) (9) (10) (11) (12) (14) (16) (18) (20) (22) (24) (26) (28) (36) (48) (72) Style-Italic: (6) (7) (8) (9) (10) (11) (12) (14) (16) (18) (20) (22) (24) (26) (28) (36) (48) (72) "
@ -
Not at all related to your query, but "Rincewind" as in "Didn't look back because there was nothing behind him that could make him run any faster than he already was" (horrible Pratchett paraphrase) Rincewind?
That's awesome :D
-
What can I say, I'm a fan.
"Rincewind tried to force the memory out of his mind, but it was rather enjoying itself there, terrorizing the other occupants and kicking over the furniture.”
-
HAHAHAHAHA!!! :D
Hopefully someone actually useful will come along soon to help with your question ;)