X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctgraphics%2Fsgp.cpp;h=07e103f182e054d3f20fbd74c1cf83de54169e1c;hp=d9c9caad553a7b466eb5d257411d51bb48fc16c9;hb=267a9d7d6a5fea883f2797c050a6fbf5cc037276;hpb=7e49f87d04a388bd03b85596fe356c6ad239e60b diff --git a/libctgraphics/sgp.cpp b/libctgraphics/sgp.cpp index d9c9caa..07e103f 100644 --- a/libctgraphics/sgp.cpp +++ b/libctgraphics/sgp.cpp @@ -7,7 +7,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: sgp.cpp,v 1.15 2000/09/07 04:59:42 kevin Exp $ +** $Id: sgp.cpp,v 1.16 2000/10/11 08:16:08 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -460,7 +460,7 @@ SGP::setTextPointSize (double height) #endif #if HAVE_WXWINDOWS if (m_driver.isWX()) { - m_font.SetPointSize (height); + m_font.SetPointSize (static_cast(height+0.5)); m_driver.idWX()->SetFont (m_font); } #endif