fixed incorrect GetTextExtent for wxTELETYPE font

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2000-11-01 23:04:13 +00:00
parent f641dada64
commit 10992a81d3

View File

@ -1964,6 +1964,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string,
switch (Family)
{
case wxTELETYPE:
case wxMODERN:
{
if ((Style == wxITALIC) && (Weight == wxBOLD)) name = "CourBoO";