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:
@@ -1594,11 +1594,8 @@ void wxGnomePrinterDCImpl::DoDrawRotatedText(const wxString& text, wxCoord x, wx
|
|||||||
|
|
||||||
const wxScopedCharBuffer data(text.utf8_str());
|
const wxScopedCharBuffer data(text.utf8_str());
|
||||||
|
|
||||||
size_t datalen = strlen(data);
|
pango_layout_set_text(m_layout, data, data.length());
|
||||||
pango_layout_set_text( m_layout, data, datalen);
|
const bool setAttrs = m_font.GTKSetPangoAttrs(m_layout);
|
||||||
|
|
||||||
const bool
|
|
||||||
setAttrs = wxGTKPrivate::SetPangoAttrsForFont(m_font, m_layout, datalen);
|
|
||||||
|
|
||||||
if (m_textForegroundColour.IsOk())
|
if (m_textForegroundColour.IsOk())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user