summaryrefslogtreecommitdiff
path: root/font-viewer/sushi-font-widget.c
AgeCommit message (Collapse)AuthorFilesLines
2019-06-25font-viewer: avoid deprecated 'g_type_class_add_private'Wu Xiaotian1-4/+2
2019-06-18Remove trailing whitespacesrbuj1-3/+3
find . -regextype posix-extended -regex '.*\.(c|h|ac)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
2017-03-08font-viewer: sushi-font-widget: Add face_index argumentraveit651-16/+31
sushi_font_widget_new() now takes face index as the second argument. All callers changed. The face index of the widget can be accessed through the "face-index" property. Setting the "uri" property with g_object_set() no longer starts font loading, while it does when it is set through the constructor. This is to prevent the same font from being loaded twice, when both "uri" and "face-index" are set with g_object_set(). To start loading, you can explicitly call sushi_font_widget_load() after setting the properties. https://bugzilla.gnome.org/show_bug.cgi?id=752005 taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=3c48f73
2017-03-08sushi-font-loader: Add face_index argumentraveit651-0/+1
sushi_new_ft_face_from_uri{,_async}() now takes face index as the third argument. All callers changed. https://bugzilla.gnome.org/show_bug.cgi?id=752005 taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=28bab70
2017-02-17Fontviewer: Update SushiFontLoader and SushiFontWidget from sushiraveit651-66/+148
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=026e378 https://git.gnome.org/browse/gnome-font-viewer/commit/?id=044842e https://git.gnome.org/browse/gnome-font-viewer/commit/?id=63268c1 https://git.gnome.org/browse/gnome-font-viewer/commit/?id=0d617cf https://git.gnome.org/browse/gnome-font-viewer/commit/?id=4940840 https://git.gnome.org/browse/gnome-font-viewer/commit/?id=f0aac98 and others
2017-02-17Font-viewer: import SushiFontLoader and SushiFontWidgetraveit651-0/+648
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=f50e4c4