915
915
// FIXME: what about CJK?
916
916
const char* const SAMPLE_MAX_TEXT = "Chromium Web Browser";
919
918
nux::CairoGraphics util_cg(CAIRO_FORMAT_ARGB32, 1, 1);
920
919
cairo_t* cr = util_cg.GetInternalContext();
923
g_object_get(settings, "gtk-font-name", &font, nullptr);
925
923
pango_font_description_set_weight(desc.get(), PANGO_WEIGHT_BOLD);
926
924
pango_font_description_set_size(desc.get(), FONT_SIZE * PANGO_SCALE);