- m_nativeFontInfo.SetPointSize(12);
-
- m_pointSize = m_nativeFontInfo.GetPointSize();
- m_style = m_nativeFontInfo.GetStyle();
- m_weight = m_nativeFontInfo.GetWeight();
-
- if (m_faceName == wxT("monospace"))
- {
- m_family = wxFONTFAMILY_TELETYPE;
- }
- else if (m_faceName == wxT("sans"))
- {
- m_family = wxFONTFAMILY_SWISS;
- }
- else if (m_faceName == wxT("serif"))
- {
- m_family = wxFONTFAMILY_ROMAN;
- }
- else
- {
- m_family = wxFONTFAMILY_UNKNOWN;
- }