summaryrefslogtreecommitdiff
path: root/font-viewer
AgeCommit message (Collapse)AuthorFilesLines
2025-07-25font-viewer: Bring the window to the front when triggering the appColomban Wendling1-0/+4
If the app is already open, we need to tell the desktop that the window has been triggered, so it can either bring it to front, or notify the user the window claims attention. This fixes the cases where the font viewer is already open and gets triggered again, e.g. by opening a font or launching it directly.
2025-05-22meson: Fix build error about font-viewerXiaotian Wu1-0/+1
2025-05-14Fix duplicate buttons in font viewerCarson Hicks1-16/+25
2023-12-27Add meson build supportzhuyaliang1-0/+54
2023-10-11font-viewer: Fix compilation warnings and replace deprecated functionszhuyaliang1-2/+42
2022-02-09Remove build warning -Wbad-function-castrbuj1-1/+1
2021-11-20Use a blank line at mostrbuj2-2/+0
2021-11-11Fix build warnings about missing field initializerrbuj2-3/+3
2021-07-19Fix compilation warningzhuyaliang1-0/+1
2021-06-21update copyright to 2021raveit657-0/+7
2021-02-24Missing include guardsrbuj1-0/+4
2021-02-16build: allow users to disable gettext support (--disable-nls)rbuj3-7/+18
2020-07-20Remove unused macrosrbuj1-1/+0
2020-03-02Do not collect the translation for Iconrbuj1-1/+1
2020-02-06build: use warning flagsrbuj1-1/+1
2019-11-07migrate from intltool to gettextWu Xiaotian2-6/+6
2019-09-09fv: thumbnailer: add font/collection to the supported mimetypesraveit651-1/+1
We support collections but don't advertise the mimetype, so we fail to lookup the correct thumbnailer. origin commit: https://gitlab.gnome.org/GNOME/gnome-font-viewer/commit/e1c54dd
2019-09-07font-viewer: Add font/ttf and font/otf mime typesJohn Watts1-1/+1
shared-mime-info 1.9 and newer use font/ttf and font/otf as the mime types for OpenType and TrueType fonts.
2019-06-25font-viewer: avoid deprecated 'g_type_class_add_private'Wu Xiaotian3-12/+7
2019-06-18Remove trailing whitespacesrbuj8-25/+25
find . -regextype posix-extended -regex '.*\.(c|h|ac)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
2019-05-09add icon for the font viewer windowtamplan1-1/+3
2019-02-08fixed distcheck fail on debianWu Xiaotian2-7/+2
2018-11-01added search option for mate-font-viewersakib1-2/+70
fix incompatible pointer issue
2018-02-12avoid deprecated GtkStockPablo Barciela1-1/+1
2018-01-30require GTK+ 3.22 and GLib 2.50monsta1-8/+0
2017-03-08font-viewer font-view: fix a runtime warningraveit651-6/+32
font-view: strip empty lines when they're the last line https://git.gnome.org/browse/gnome-font-viewer/commit/?h=gnome-3-6&id=f51507c font-view: strip "Version" string from the version field No need to show "Version" twice https://git.gnome.org/browse/gnome-font-viewer/commit/?h=gnome-3-6&id=2e481de
2017-03-08font-viewer font-view: Support TTC fontsraveit651-5/+8
https://bugzilla.gnome.org/show_bug.cgi?id=752005 taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=11d181c
2017-03-08font-viewer font-model: Support TTC fontsraveit652-24/+61
https://bugzilla.gnome.org/show_bug.cgi?id=752005 taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=e512b0b
2017-03-08font-viewer font-thumbnailer: Extract face index from URIraveit651-1/+7
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
2017-03-08font-viewer: sushi-font-widget: Add face_index argumentraveit653-19/+37
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-08font-viewer font-utils: Add face_index argumentraveit653-4/+9
font_utils_get_font_name_for_file() now takes face index as the third argument. All callers changed.
2017-03-08sushi-font-loader: Add face_index argumentraveit655-5/+11
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-03-08font-viewer: change name to MATE font viewer in desktop fileraveit651-1/+1
2017-03-08font-viewer: fix a runtime warningraveit651-1/+1
2017-03-08font-viewer: fix former deprecation commit of gtk_misc_set_alignmentraveit651-4/+12
2017-03-08font-viewer: avoid deprecated gtk_arrow_newraveit651-1/+1
2017-02-20font-viewer: remove declaration of non-existent functionmonsta1-2/+0
fixes a build warning
2017-02-17add style class font-viewer at top levelraveit651-0/+5
2017-02-17Fontviewer: Update SushiFontLoader from sushiraveit651-35/+17
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=bef352f
2017-02-17Fontviewer: Replace io scheduler with g_task_run_in_thread in load_font_infosraveit651-46/+21
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=63b209cb203e90bdefbd47999c067069fce4351c
2017-02-17Fontviewer: Ported thumbnailing io scheduler job to g_task_run_in_threadraveit651-9/+12
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=ec331ea
2017-02-17Fontviewer: Replace deprecated method with main context invocationraveit652-7/+5
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=beb0a7c
2017-02-17Fontviewer: do not use deprecated-gtk_misc_set_alignment-and-margin-left-rightraveit652-6/+8
2017-02-17Fontviewer: Fix an uninitialized variableraveit651-1/+1
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
2017-02-17Fontviewer: Add a title to the info dialograveit651-1/+1
2017-02-17Fontviewer: font-model, drop gtk_icon_info_freeraveit651-1/+1
gtk_icon_info_free is deprecated, use g_object_unref instead. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=c678c68
2017-02-17Fontviewer: don't call deprecated g_type_init()raveit652-4/+0
2017-02-17Fontviewer: font-thumbnailer, don't paint a white background under thumbnailsraveit651-4/+0
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
2017-02-17Fontviewer: font-view, return early if we have a model alreadyraveit651-0/+3
2017-02-17Fontviewer: don't crash when opening a non-existing fileraveit651-11/+49
This is only a problem from the command line. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=baef02a