Age | Commit message (Collapse) | Author | Files | Lines |
|
https://bugzilla.gnome.org/show_bug.cgi?id=752005
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=11d181c
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=752005
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=e512b0b
|
|
The URI passed to gnome-thumbnail-font can now have a face index,
embedded as a URI fragment. The fragment part is parsed as a 32-bit
integer, and it may include a "0x" prefix, to support FreeType extension
for GX fonts:
http://freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_Open_Face
https://bugzilla.gnome.org/show_bug.cgi?id=752005
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=920c834
|
|
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
|
|
font_utils_get_font_name_for_file() now takes face index as the third
argument. All callers changed.
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fixes a build warning
|
|
|
|
|
|
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=bef352f
|
|
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=63b209cb203e90bdefbd47999c067069fce4351c
|
|
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=ec331ea
|
|
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=beb0a7c
|
|
|
|
The str variable may be freed without ever having been set
here, if we take one of the early gotos.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=9d4ec73
|
|
|
|
gtk_icon_info_free is deprecated,
use g_object_unref instead.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=c678c68
|
|
|
|
Since we use those thumbnails in the main view, and it just looks wrong
when the window backdrops. Use a transparent background instead.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=10135bb
|
|
|
|
This is only a problem from the command line.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=baef02a
|
|
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=5a8f439
|
|
This ensures the "Install" button uses the correct state when installing
a new font.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=bf15ae0
|
|
Also, we need to protect the font list with a mutex, since we might
modify it from the main thread while the load thread is still parsing
the previous list.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=fd3c6a88d7e4833d5be00cf6dc1a398adf46283b
|
|
This should help in case a refresh is requested before the previous
operation completes. Currently, we seem to be crashing when that
happens, see
https://bugzilla.redhat.com/show_bug.cgi?id=870753
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=47fbb29
|
|
Currently, it shows up with 'gnome-font-viewer' in the titlebar
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=5d5dfc8
|
|
This makes loading/populating of the model completely asynchronous.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=331a080
|
|
Instead of firing a new thread for all files. Using
g_io_scheduler_job_send_to_mainloop_async() we can load thumbnails into
the model as they get created anyway.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=4f08812
|
|
This speeds up model loading again, since we don't need to go through
the font list again when setting the thumbnail pixbuf.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=2120af2
|
|
There's no need to look it up in the icon theme every time; this speeds
up loading of the model.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=a37af39
|
|
So that we get the right sort order according to the current locale.
Store the collation key in the model to avoid a performance hit.
Taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=d6a5278
|
|
thumbnailing code
Always set the fallback pixbuf by default as icon in the model. At the
same time, wrap the thumbnailing code in a single thread spawned with
g_io_scheduler_push_job(). This makes the code more robust and avoids
being too resource-greedy, as described in
https://bugzilla.gnome.org/show_bug.cgi?id=677605
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=1fc4a85
|
|
Use g_file_query_info_async() instead.
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=d360c01
|