move SetPangoAttrsForFont to wxFont, should have been part of r70475
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
304c3065c7
commit
27c38af613
@ -1594,11 +1594,8 @@ void wxGnomePrinterDCImpl::DoDrawRotatedText(const wxString& text, wxCoord x, wx
|
||||
|
||||
const wxScopedCharBuffer data(text.utf8_str());
|
||||
|
||||
size_t datalen = strlen(data);
|
||||
pango_layout_set_text( m_layout, data, datalen);
|
||||
|
||||
const bool
|
||||
setAttrs = wxGTKPrivate::SetPangoAttrsForFont(m_font, m_layout, datalen);
|
||||
pango_layout_set_text(m_layout, data, data.length());
|
||||
const bool setAttrs = m_font.GTKSetPangoAttrs(m_layout);
|
||||
|
||||
if (m_textForegroundColour.IsOk())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user