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:
parent
f641dada64
commit
10992a81d3
@ -1964,6 +1964,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string,
|
||||
|
||||
switch (Family)
|
||||
{
|
||||
case wxTELETYPE:
|
||||
case wxMODERN:
|
||||
{
|
||||
if ((Style == wxITALIC) && (Weight == wxBOLD)) name = "CourBoO";
|
||||
|
Loading…
Reference in New Issue
Block a user