I am trying to include a custom font for its icons from: http://aristath.github.com/elusive-iconfont/
However, there is a large amount of space above the actual icon when I try to view it. I opened the font in MS Word (from insert symbol and then choose the installed font) and it has the same problem which leads me to believe that the problem is with the font. The font was generated from an svg. I tried to upload the svg to http://icomoon.io and redownload it and the new font has the same problem.
Here is the code that I am using to render the font:
QLabel *test = new QLabel;
test->setText(QString::fromUtf8("\ue002\n\ue003"));
test->setAlignment(Qt::AlignTop | Qt::AlignLeft);
test->setStyleSheet("color:red;font-family:'Elusive-Icons';font-size:20px;margin:0px;background-color:black;line-height:0.1");
test->setMargin(0);
test->setWordWrap(true);
test->setFixedWidth(75);
test->show();
How do I make it so that there is no space above the icon?
This is a bug with the elusive-icon font (http://aristath.github.com/elusive-iconfont/). I have verified that FontAwesome does not have this problem (in ms word or my program).