Topic: Use a diferent font.

This program is excellent!!
But it has something that I don't like. The editor uses Sans Serif and MS Dialog fonts   and I hate i, I want use another font, in example, TGL 0-16, that is a typeface based on TGL 31034 (someone knows and ISO3098-8 otf o ttf font??).
In rich edit text we can change font-family property, but in elements can't change it.
How can be it done?
PD. I'm spanish, sorry for my english...

2 (edited by scorpio810 2014-06-28 14:39:03)

Re: Use a diferent font.

Hi Vjadan,
Is easy, add your prefer font in qelectrotech.conf.

[General]
usesystemcolors=false
lang=fr
diagramfont=Verdana
diagramsize=8

[diagrameditor]

qelectrotech.conf. replace this code hardcoded by your preference setting.



// police a utiliser pour le rendu de texte
    QString diagram_texts_family = qet_settings.value("diagramfont", "Sans Serif").toString();
    qreal diagram_texts_size     = qet_settings.value("diagramsize", 9.0).toDouble();

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Use a diferent font.

https://download.qelectrotech.org/qet/forum_img/fonts.png

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."