Use fractional point size for font in wxSVGFileDC output
This commit is contained in:
parent
8d25f0afa8
commit
b5dcee2e35
@ -571,7 +571,7 @@ void wxSVGFileDCImpl::DoDrawRotatedText(const wxString& sText, wxCoord x, wxCoor
|
||||
style += wxString::Format(wxS("font-family:%s; "), m_font.GetFaceName());
|
||||
style += wxString::Format(wxS("font-weight:%d; "), m_font.GetWeight());
|
||||
style += wxString::Format(wxS("font-style:%s; "), fontstyle);
|
||||
style += wxString::Format(wxS("font-size:%dpt; "), m_font.GetPointSize());
|
||||
style += wxString::Format(wxS("font-size:%spt; "), NumStr(m_font.GetFractionalPointSize()));
|
||||
style += wxString::Format(wxS("text-decoration:%s; "), textDecoration);
|
||||
style += wxString::Format(wxS("%s %s stroke-width:0; "),
|
||||
wxBrushString(m_textForegroundColour),
|
||||
|
Loading…
Reference in New Issue
Block a user