diff --git a/src/gui/qt/Vera.ttf b/src/gui/qt/Vera.ttf deleted file mode 100644 index 58cd6b5e..00000000 Binary files a/src/gui/qt/Vera.ttf and /dev/null differ diff --git a/src/gui/qt/VeraBd.ttf b/src/gui/qt/VeraBd.ttf deleted file mode 100644 index 51d6111d..00000000 Binary files a/src/gui/qt/VeraBd.ttf and /dev/null differ diff --git a/src/gui/qt/aboutpokerth.ui b/src/gui/qt/aboutpokerth.ui index 589fac58..bce1a282 100755 --- a/src/gui/qt/aboutpokerth.ui +++ b/src/gui/qt/aboutpokerth.ui @@ -40,7 +40,7 @@ <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9px; font-weight:400; font-style:normal; text-decoration:none;"> +</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">PokerTH</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Poker-Engine for the popular "Texas Holdem"-Poker</p> @@ -88,7 +88,7 @@ p, li { white-space: pre-wrap; } <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9px; font-weight:400; font-style:normal; text-decoration:none;"> +</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Projectpage: </span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> <a href="http://sourceforge.net/projects/qupil"><span style=" text-decoration: underline; color:#0000ff;">http://sourceforge.net/projects/pokerth</span></a></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p> diff --git a/src/gui/qt/font.ttf b/src/gui/qt/font.ttf deleted file mode 100644 index 8151817b..00000000 Binary files a/src/gui/qt/font.ttf and /dev/null differ diff --git a/src/gui/qt/mainwindow.ui b/src/gui/qt/mainwindow.ui index 123c34cd..f7865107 100644 --- a/src/gui/qt/mainwindow.ui +++ b/src/gui/qt/mainwindow.ui @@ -498,11 +498,6 @@ - - - Nimbus Sans L - - PokerTH - The Open-Source Texas Holdem Engine @@ -1086,7 +1081,7 @@ - 57 + 56 16777215 @@ -2764,7 +2759,16 @@ 0 - + + + + 12 + + + + Qt::AlignCenter + + @@ -2794,7 +2798,18 @@ 0 - + + + + 15 + 75 + true + + + + Qt::AlignCenter + + diff --git a/src/gui/qt/mainwindowimpl.cpp b/src/gui/qt/mainwindowimpl.cpp index 5f84e7ee..71df16db 100755 --- a/src/gui/qt/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindowimpl.cpp @@ -254,7 +254,6 @@ void mainWindowImpl::refreshButton() { } } - } void mainWindowImpl::refreshPlayerName() { @@ -368,8 +367,8 @@ void mainWindowImpl::highlightRoundLabel(string tempround) { tempPalette.setColor(QPalette::Window, highlight); frame_handLabel->setPalette(tempPalette); - textLabel_handLabel->setText("

"+round+"

"); - textLabel_gameNumber->setText("

Hand: "+QString::number(actualHand->getMyID(),10)+"

"); + textLabel_handLabel->setText(round); + textLabel_gameNumber->setText("Hand: "+QString::number(actualHand->getMyID(),10)); } diff --git a/src/gui/qt/n019003l.pfb b/src/gui/qt/n019003l.pfb new file mode 100644 index 00000000..82b6ad86 Binary files /dev/null and b/src/gui/qt/n019003l.pfb differ diff --git a/src/pokerth.cpp b/src/pokerth.cpp index c2b70618..8fbfb318 100755 --- a/src/pokerth.cpp +++ b/src/pokerth.cpp @@ -18,6 +18,8 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ +#include + /////// can be removed for non-qt-guis //////////// #include #include @@ -39,8 +41,8 @@ int main( int argc, char **argv ) QApplication a( argc, argv ); //Schriftart laden - QFontDatabase::addApplicationFont ("src/gui/qt/Vera.ttf"); - QFont tmpFont("Bitstream Vera Sans",9); + QFontDatabase::addApplicationFont ("src/gui/qt/n019003l.pfb"); + QFont tmpFont("Nimbus Sans L",9); QApplication::setFont(tmpFont);