2017-10-04から1日間の記事一覧
pango/test-ot-tags.c at master · GNOME/pango · GitHub
pango/pango-language.c at master · GNOME/pango · GitHub #include "config.h" #include <errno.h> #include <string.h> #include <stdlib.h> #include <math.h> #include <locale.h> #include "pango-language.h" #include "pango-impl-utils.h" #ifdef HAVE_CORE_TEXT #include <CoreFoundation/CoreFoundation.h> #end…</corefoundation/corefoundation.h></locale.h></math.h></stdlib.h></string.h></errno.h>
// Returns the approximate number of characters that can horizontally fit in // |pixel_width| pixels. int GetCharacterWidthForPixels(GtkWidget* widget, int pixel_width) { DCHECK(gtk_widget_get_realized(widget)) << " widget must be realized…