]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed incorrect GetTextExtent for wxTELETYPE font
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 1 Nov 2000 23:04:13 +0000 (23:04 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 1 Nov 2000 23:04:13 +0000 (23:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/dcpsg.cpp

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