Commit 7e38756a authored by Christoffer Ackelman's avatar Christoffer Ackelman Committed by Esteban Blanc

QT: Made font descriptions in GE a little more specific in case the user has...

QT: Made font descriptions in GE a little more specific in case the user has several similar fonts installed.
parent 68a0c51a
...@@ -1735,10 +1735,9 @@ GeQt::GeQt(void* x_parent_ctx, ldh_tSesContext x_ldhses, int x_exit_when_close, ...@@ -1735,10 +1735,9 @@ GeQt::GeQt(void* x_parent_ctx, ldh_tSesContext x_ldhses, int x_exit_when_close,
tools_textfont->addItem("Helvetica", glow_eFont_Helvetica); tools_textfont->addItem("Helvetica", glow_eFont_Helvetica);
tools_textfont->addItem("Times", glow_eFont_Times); tools_textfont->addItem("Times", glow_eFont_Times);
tools_textfont->addItem( tools_textfont->addItem(
"New Century Schoolbook", glow_eFont_NewCenturySchoolbook); "Century Schoolbook L", glow_eFont_NewCenturySchoolbook);
tools_textfont->addItem("Courier", glow_eFont_Courier); tools_textfont->addItem("Courier 10 Pitch", glow_eFont_Courier);
tools_textfont->addItem("Lucida Sans", glow_eFont_LucidaSans); tools_textfont->addItem("Lucida Sans", glow_eFont_LucidaSans);
tools_textfont->setFont(QFont("Courier"));
// Bold checkbutton // Bold checkbutton
QCheckBox* bold = new QCheckBox("Bold"); QCheckBox* bold = new QCheckBox("Bold");
......
...@@ -141,7 +141,7 @@ static QFont get_font(int font_idx, int painter_type, double size) ...@@ -141,7 +141,7 @@ static QFont get_font(int font_idx, int painter_type, double size)
res = QFont("Century Schoolbook L"); res = QFont("Century Schoolbook L");
break; break;
case glow_eFont_Courier: case glow_eFont_Courier:
res = QFont("Courier 10 pitch"); res = QFont("Courier 10 Pitch");
break; break;
default: default:
res = QFont("Lucida Sans"); res = QFont("Lucida Sans");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment