Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 209765 | Differences between
and this patch

Collapse All | Expand All

(-)graphite/wrappers/pangographite/graphite-module.c (-1 / +4 lines)
Lines 149-154 Link Here
149
{
149
{
150
    g_return_if_fail (PANGO_IS_FC_FONT (font));
150
    g_return_if_fail (PANGO_IS_FC_FONT (font));
151
    PangoFcFont *fcfont = PANGO_FC_FONT(font);
151
    PangoFcFont *fcfont = PANGO_FC_FONT(font);
152
    g_return_if_fail (pango_fc_font_lock_face(fcfont));
152
    //static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
153
    //static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
153
154
154
    //g_static_mutex_lock (&mutex);
155
    //g_static_mutex_lock (&mutex);
Lines 157-162 Link Here
157
      pango_language_to_string(analysis->language), analysis->level % 2);
158
      pango_language_to_string(analysis->language), analysis->level % 2);
158
159
159
    //g_static_mutex_unlock (&mutex);
160
    //g_static_mutex_unlock (&mutex);
161
    pango_fc_font_unlock_face(fcfont);
160
}
162
}
161
163
162
static PangoCoverageLevel
164
static PangoCoverageLevel
Lines 233-239 Link Here
233
      }
235
      }
234
      else
236
      else
235
      {
237
      {
236
        if (strstr((char*)fontcap, "ttable:Silf"))
238
        if (strstr((char*)fontcap, "ttable:Silf") && pango_fc_font_lock_face(fcfont))
237
        {
239
        {
238
          //static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
240
          //static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
239
      
241
      
Lines 244-249 Link Here
244
            pango_language_to_string(analysis->language),
246
            pango_language_to_string(analysis->language),
245
            analysis->level % 2);
247
            analysis->level % 2);
246
          //g_static_mutex_unlock (&mutex);
248
          //g_static_mutex_unlock (&mutex);
249
          pango_fc_font_unlock_face(fcfont);
247
          //return;
250
          //return;
248
        }
251
        }
249
      }
252
      }

Return to bug 209765