Font Manager is intended to provide a way for average users to easily manage
desktop fonts, without having to resort to command line tools or editing
configuration files by hand.
While designed primarily with the Gnome Desktop Environment in mind,
it should work well with other Gtk+ desktop environments.
Font Manager is NOT a professional-grade font management solution.
@PACKAGE_NAME@@PACKAGE_URL@@PACKAGE_BUGREPORT@https://hosted.weblate.org/engage/@PACKAGE_NAME@mild
font-manager-0.9.6/data/com.github.FontManager.FontManager.desktop.in.in 0000664 0000000 0000000 00000001335 15273004164 0026065 0 ustar 00root root 0000000 0000000 [Desktop Entry]
Type=Application
Version=1.0
Name=Font Manager
GenericName=Font Manager
Comment=Preview, Compare and Manage Fonts
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=com.github.FontManager.FontManager
DBusActivatable=true
Exec=@PACKAGE_NAME@ %u
Terminal=false
MimeType=font/ttf;font/ttc;font/otf;font/sfnt;application/x-font-ttf;application/x-font-otf;application/vnd.ms-opentype;
Categories=Utility;GTK;GNOME;
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=Graphics;Viewer;GNOME;GTK;Publishing;
StartupNotify=true
StartupWMClass=font-manager
X-GNOME-UsesNotifications=true
font-manager-0.9.6/data/com.github.FontManager.FontManager.gschema.xml 0000664 0000000 0000000 00000031662 15273004164 0025616 0 ustar 00root root 0000000 0000000
"browse"ModePossible modes are Manage, Browse and Compare."none"Sort TypeDefault sort type. Only applied to collections at this time.trueLayout typefalse for default layout, true for 3 column layouttrueLayout typeSwitch to wide layout when window is maximizedtrueEnable Animationsfalse to disable GTK+ animationsfalseUse dark theme variant if availableWhether the application prefers to use a dark theme"Normal"HeaderBar button stylePossible modes are Normal and Flat.trueWhether to use the Adwaita stylesheet when availabletrue to use the Adwaita stylesheetWindow sizeWidth and height of the main window.(950, 700)falseWindow stateWhether window is maximizedBrowse pane positionSize of the browse grid as a percentage of window size.55.0falseBrowse preview visibilityWhether the preview pane is visible in browse mode or not"large"Browse mode preview tile sizePossible modes are small, medium, large, xlarge and xxlarge.Sidebar sizeSize of the sidebar as a percentage of window size.33.0Content area sizeSize of the content pane as a percentage of window size.40.0Sidebar sizeSize of the sidebar as a percentage of window size.20.0Content area sizeSize of the content pane as a percentage of window size.36.0Preview font sizeSize point to use in the preview area.10.0Preview ModePossible modes are Preview, Waterfall and Lorem Ipsum."waterfall"Selected preview pageLast selected preview page0Preview textLast preview text used" The quick brown fox jumps over the lazy dog.
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
1234567890.:,;(*!?')
"Browse ModePossible modes are List and Grid."grid"Browser font sizeSize point to use in Browse mode.24.0Preview textLast preview text used in Browse mode""Compare font sizeSize point to use in Compare mode.12.0Font preview foreground colorColor to use for foreground (text color) in RGB format."rgb(0,0,0)"Font preview background colorColor to use for background in RGB format"rgb(255,255,255)"Compare listArray of string containing font descriptions to compare.[]Preview textLast preview text used in Compare mode""Character Map font sizeSize point to use in Character Map Mode.16.0Waterfall preview line spacingWaterfall preview line spacing0Minimum waterfall preview sizeMinimum size point to render in Waterfall mode.8.0Maximum waterfall preview sizeMaximum size point to render in Waterfall mode.48.0Waterfall point size common ratioWaterfall point size common ratio.1.0Waterfall Preview Predefined Size SettingWaterfall Preview Predefined Size Setting"48 Points Linear"falseWhether to display line size in Waterfall previewtrue to show line sizes in Waterfall previewLanguage Filter listArray of string containing language selections.[]Language Filter list minimum coverageMinimum coverage for language filter90.0falseWhether access to network is restricted by administratortrue to prevent the application from attempting to access the networkGoogle Fonts preview textLast preview text used in Google Fonts waterfall preview"The quick brown fox jumps over the lazy dog."
font-manager-0.9.6/data/com.github.FontManager.FontManager.svg 0000664 0000000 0000000 00000041534 15273004164 0024206 0 ustar 00root root 0000000 0000000
font-manager-0.9.6/data/com.github.FontManager.FontViewer.appdata.xml.in.in 0000664 0000000 0000000 00000022744 15273004164 0026523 0 ustar 00root root 0000000 0000000
org.gnome.FontViewercom.github.FontManager.FontViewerv
Font Manager projectCC0-1.0GPL-3.0+JerryCasiano_AT_gmail.comFont ViewerA font viewer application for Gtk+ Desktop Environments
Font Viewer allows previewing font files prior to installation.
It features several ways to preview font files along with a
character map and displays font properties and license details.
@PACKAGE_NAME@@PACKAGE_URL@@PACKAGE_BUGREPORT@https://hosted.weblate.org/engage/@PACKAGE_NAME@mild
font-manager-0.9.6/data/com.github.FontManager.FontViewer.desktop.in.in 0000664 0000000 0000000 00000001322 15273004164 0025750 0 ustar 00root root 0000000 0000000 [Desktop Entry]
Type=Application
Version=1.0
Name=Font Viewer
GenericName=Font Viewer
Comment=Full featured font file preview application
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=com.github.FontManager.FontManager
DBusActivatable=true
Exec=@PKGLIBEXECDIR@/font-viewer %u
Terminal=false
MimeType=font/ttf;font/ttc;font/otf;font/sfnt;application/x-font-ttf;application/x-font-otf;application/vnd.ms-opentype;
Categories=Utility;GTK;GNOME;
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=Graphics;Viewer;GNOME;GTK;Publishing;
StartupNotify=true
StartupWMClass=font-viewer
font-manager-0.9.6/data/com.github.FontManager.FontViewer.gschema.xml 0000664 0000000 0000000 00000013716 15273004164 0025505 0 ustar 00root root 0000000 0000000
Window sizeWidth and height of the main window.(675, 500)falseWindow stateWhether window is maximizedfalseUse dark theme variant if availableWhether the application prefers to use a dark themetrueWhether to use the Adwaita stylesheet when availabletrue to use the Adwaita stylesheetFont preview foreground colorColor to use for foreground (text color) in RGB format."rgb(0,0,0)"Font preview background colorColor to use for background in RGB format"rgb(255,255,255)"Preview font sizeSize point to use in the preview area.10.0Preview ModePossible modes are Preview, Waterfall and Lorem Ipsum."waterfall"Preview textLast preview text used" The quick brown fox jumps over the lazy dog.
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
1234567890.:,;(*!?')
"Selected preview pageLast selected preview page0Character Map font sizeSize point to use in Character Map Mode.16.0Waterfall preview line spacingWaterfall preview line spacing0Minimum waterfall preview sizeMinimum size point to render in Waterfall mode.8.0Maximum waterfall preview sizeMaximum size point to render in Waterfall mode.48.0Waterfall point size common ratioWaterfall point size common ratio.1.0Waterfall Preview Predefined Size SettingWaterfall Preview Predefined Size Setting"48 Points Linear"falseWhether to display line size in Waterfall previewtrue to show line sizes in Waterfall preview
font-manager-0.9.6/data/font-manager.aap.in 0000664 0000000 0000000 00000000545 15273004164 0020471 0 ustar 00root root 0000000 0000000 # This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"
abi ,
include
profile font-manager @BINDIR@/font-manager flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.
include if exists
}
font-manager-0.9.6/data/meson.build 0000664 0000000 0000000 00000007077 15273004164 0017174 0 ustar 00root root 0000000 0000000
service = ['com.github.FontManager.FontManager',
'com.github.FontManager.FontViewer']
appdata_dir = join_paths(datadir, 'metainfo')
dbus_service_dir = join_paths(datadir, 'dbus-1', 'services')
desktop_dir = join_paths(datadir, 'applications')
schema_dir = join_paths(datadir, 'glib-2.0', 'schemas')
search_provider_dir = join_paths(datadir, 'gnome-shell', 'search-providers')
configure_file(
command: [
'glib-compile-schemas',
'--targetdir=' + meson.current_build_dir(),
meson.current_source_dir()
],
output: 'gschema.compiled'
)
foreach path: service
if (path == 'com.github.FontManager.FontManager' and not get_option('manager'))
continue
endif
if (path == 'com.github.FontManager.FontViewer' and not get_option('viewer'))
continue
endif
install_data('@0@.gschema.xml'.format(path), install_dir: schema_dir)
icons = [ 'com.github.FontManager.FontManager.svg' ]
foreach icon: icons
icon_dir = join_paths(datadir, 'icons', 'hicolor', 'scalable', 'apps')
install_data(icon, install_dir: icon_dir, rename: '@0@.svg'.format(path))
endforeach
i18n.merge_file(
input: configure_file(
input: '@0@.desktop.in.in'.format(path),
output: '@0@.desktop.in'.format(path),
configuration: config
),
output: '@0@.desktop'.format(path),
type: 'desktop',
po_dir: '../po',
install: true,
install_dir: desktop_dir
)
i18n.merge_file(
input: configure_file(
input: '@0@.appdata.xml.in.in'.format(path),
output: '@0@.appdata.xml.in'.format(path),
configuration: config
),
output: '@0@.metainfo.xml'.format(path),
po_dir: '../po',
install: true,
install_dir: appdata_dir
)
endforeach
python_write = '''
with open('@OUTPUT@', 'w') as output:
output.write(@0@)
'''
dbus_service = '''"""[D-BUS Service]
Name=@0@
Exec=@1@/@2@ --gapplication-service
"""
'''
if get_option('manager')
custom_target(
'@0@.service'.format(service[0]),
output: '@0@.service'.format(service[0]),
command: [
python,
'-c',
python_write.format(
dbus_service.format(
service[0],
join_paths(prefix, get_option('bindir')),
meson.project_name()
)
)
],
install: true,
install_dir: dbus_service_dir
)
if get_option('search-provider')
install_data('com.github.FontManager.FontManager.SearchProvider.ini',
install_dir: search_provider_dir)
endif
if get_option('app-armor')
aa_config_dir = join_paths(get_option('sysconfdir'), 'apparmor.d')
aa_profile = join_paths(meson.current_build_dir(), 'font-manager.aap')
configure_file(input: 'font-manager.aap.in', output: 'font-manager.aap', configuration: config)
install_data(aa_profile, install_dir: aa_config_dir, rename: 'font-manager')
endif
endif
if get_option('viewer')
custom_target(
'@0@.service'.format(service[1]),
output: '@0@.service'.format(service[1]),
command: [
python,
'-c',
python_write.format(
dbus_service.format(
service[1],
pkglibexec_dir,
'font-viewer'
)
)
],
install: true,
install_dir: dbus_service_dir
)
endif
font-manager-0.9.6/debian/ 0000775 0000000 0000000 00000000000 15273004164 0015330 5 ustar 00root root 0000000 0000000 font-manager-0.9.6/debian/changelog 0000664 0000000 0000000 00000000310 15273004164 0017174 0 ustar 00root root 0000000 0000000 font-manager (0.9.6-1ubuntu1) UNRELEASED; urgency=medium
* Refer to https://github.com/FontManager/master/commits/master.
-- JerryCasiano Wed, 4 Nov 2026 23:26:00 -0400
font-manager-0.9.6/debian/compat 0000664 0000000 0000000 00000000003 15273004164 0016527 0 ustar 00root root 0000000 0000000 12
font-manager-0.9.6/debian/control 0000664 0000000 0000000 00000004635 15273004164 0016743 0 ustar 00root root 0000000 0000000 Source: font-manager
Priority: optional
Maintainer: Jerry Casiano
Build-Depends:
debhelper (>= 12~),
valac (>= 0.56.3),
meson (>= 1.1.0),
libxml2-dev,
libarchive-dev,
libfreetype-dev,
libfontconfig-dev (>= 2.12),
libglib2.0-dev (>= 2.64),
libjson-glib-dev,
libcairo2-dev,
libgtk-4-dev (>= 4.12),
libadwaita-1-dev,
libpango1.0-dev (>= 1.45),
libsqlite3-dev,
libgirepository1.0-dev,
libnautilus-extension-dev,
libnemo-extension-dev,
libthunarx-3-dev,
libwebkitgtk-6.0-dev,
libsoup-3.0-dev,
yelp-tools,
desktop-file-utils
Standards-Version: 4.3.0
Section: graphics
Homepage: http://fontmanager.github.io/
Package: font-manager
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
font-viewer,
yelp
Suggests: nautilus-font-manager
Description: Simple font management application for Gtk+ Desktop Environments
Font Manager is intended to provide a way for average users to easily manage
desktop fonts, without having to resort to command line tools or editing
configuration files by hand. While designed primarily with the GNOME Desktop
Environment in mind, it should work well with other Gtk+ desktop environments.
.
Font Manager is NOT a professional-grade font management solution.
Package: font-manager-common
Architecture: any
Multi-Arch: no
Pre-Depends:
${misc:Pre-Depends}
Depends:
${shlibs:Depends},
${misc:Depends}
Description: Common files required by font-manager and font-viewer
.
This package provides common files such as libraries, translations,
help files, etc.
Package: font-viewer
Architecture: any
Depends:
${shlibs:Depends},
${misc:Depends}
Description: Full featured font file preview application for GTK+ Desktop Environments
.
This package provides the font-viewer component of font-manager.
Package: nautilus-font-manager
Architecture: any
Depends:
font-viewer,
${shlibs:Depends},
${misc:Depends}
Description: Nautilus extension for Font Manager
.
This package provides integration with the Nautilus file manager.
Package: nemo-font-manager
Architecture: any
Depends:
font-viewer,
${shlibs:Depends},
${misc:Depends}
Description: Nemo extension for Font Manager
.
This package provides integration with the Nemo file manager.
Package: thunar-font-manager
Architecture: any
Depends:
font-viewer,
${shlibs:Depends},
${misc:Depends}
Description: Thunar extension for Font Manager
.
This package provides integration with the Thunar file manager.
font-manager-0.9.6/debian/copyright 0000664 0000000 0000000 00000001652 15273004164 0017267 0 ustar 00root root 0000000 0000000 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Font Manager
Upstream-Contact: Jerry Casiano
Source: https://github.com/FontManager/font-manager/releases
Files: *
Copyright: 2009 - 2021 Jerry Casiano
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
On Debian systems, the full text of the GNU General Public
License version 3 can be found in the file
`/usr/share/common-licenses/GPL-3'.
font-manager-0.9.6/debian/font-manager-common.install 0000664 0000000 0000000 00000000276 15273004164 0022571 0 ustar 00root root 0000000 0000000 usr/lib/*/font-manager/libfontmanager*
usr/share/help/*/font-manager
usr/share/locale/*/LC_MESSAGES/font-manager.mo
usr/share/glib-2.0/schemas/com.github.FontManager.FontManager.gschema.xml
font-manager-0.9.6/debian/font-manager-common.lintian-overrides 0000664 0000000 0000000 00000000123 15273004164 0024550 0 ustar 00root root 0000000 0000000 font-manager-common binary: package-has-unnecessary-activation-of-ldconfig-trigger
font-manager-0.9.6/debian/font-manager.install 0000664 0000000 0000000 00000000645 15273004164 0021303 0 ustar 00root root 0000000 0000000 etc/apparmor.d/font-manager
usr/bin/font-manager
usr/share/metainfo/com.github.FontManager.FontManager.metainfo.xml
usr/share/applications/com.github.FontManager.FontManager.desktop
usr/share/dbus-1/services/com.github.FontManager.FontManager.service
usr/share/gnome-shell/search-providers/com.github.FontManager.FontManager.SearchProvider.ini
usr/share/icons/hicolor/scalable/apps/com.github.FontManager.FontManager.svg
font-manager-0.9.6/debian/font-manager.manpages 0000664 0000000 0000000 00000000042 15273004164 0021417 0 ustar 00root root 0000000 0000000 usr/share/man/man1/font-manager.1
font-manager-0.9.6/debian/font-viewer.install 0000664 0000000 0000000 00000000601 15273004164 0021162 0 ustar 00root root 0000000 0000000 usr/libexec/font-manager/font-viewer
usr/share/metainfo/com.github.FontManager.FontViewer.metainfo.xml
usr/share/applications/com.github.FontManager.FontViewer.desktop
usr/share/dbus-1/services/com.github.FontManager.FontViewer.service
usr/share/glib-2.0/schemas/com.github.FontManager.FontViewer.gschema.xml
usr/share/icons/hicolor/scalable/apps/com.github.FontManager.FontViewer.svg
font-manager-0.9.6/debian/nautilus-font-manager.install 0000664 0000000 0000000 00000000071 15273004164 0023136 0 ustar 00root root 0000000 0000000 usr/lib/*/nautilus/extensions*/nautilus-font-manager.so
font-manager-0.9.6/debian/nemo-font-manager.install 0000664 0000000 0000000 00000000061 15273004164 0022227 0 ustar 00root root 0000000 0000000 usr/lib/*/nemo/extensions*/nemo-font-manager.so
font-manager-0.9.6/debian/postinst 0000664 0000000 0000000 00000002152 15273004164 0017136 0 ustar 00root root 0000000 0000000 #!/bin/sh
# postinst script for font-manager
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * `configure'
# * `abort-upgrade'
# * `abort-remove' `in-favour'
#
# * `abort-remove'
# * `abort-deconfigure' `in-favour'
# `removing'
#
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
configure)
glib-compile-schemas /usr/share/glib-2.0/schemas
apparmor_parser -r /etc/apparmor.d/font-manager
;;
abort-upgrade|abort-remove|abort-deconfigure)
glib-compile-schemas /usr/share/glib-2.0/schemas
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
font-manager-0.9.6/debian/postrm 0000664 0000000 0000000 00000001737 15273004164 0016607 0 ustar 00root root 0000000 0000000 #!/bin/sh
# postrm script for font-manager
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * `remove'
# * `purge'
# * `upgrade'
# * `failed-upgrade'
# * `abort-install'
# * `abort-install'
# * `abort-upgrade'
# * `disappear'
#
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
glib-compile-schemas /usr/share/glib-2.0/schemas
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
font-manager-0.9.6/debian/rules 0000664 0000000 0000000 00000001763 15273004164 0016414 0 ustar 00root root 0000000 0000000 #!/usr/bin/make -f
# -*- makefile -*-
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
--buildtype=debugoptimized \
-Dapp-armor=true \
-Dadwaita=true \
-Dnautilus=true \
-Dnemo=true \
-Dthunar=true \
-Dreproducible=true
override_dh_shlibdeps:
dh_installdeb
dpkg-shlibdeps -Tdebian/font-manager-common.substvars \
debian/font-manager-common/usr/lib/*/font-manager/*
dpkg-shlibdeps -Tdebian/font-manager.substvars \
debian/font-manager/usr/bin/font-manager
dpkg-shlibdeps -Tdebian/font-viewer.substvars \
debian/font-viewer/usr/libexec/font-manager/font-viewer
dpkg-shlibdeps -Tdebian/nautilus-font-manager.substvars \
debian/nautilus-font-manager/usr/lib/*/nautilus/extensions*/*
dpkg-shlibdeps -Tdebian/nemo-font-manager.substvars \
debian/nemo-font-manager/usr/lib/*/nemo/extensions*/*
dpkg-shlibdeps -Tdebian/thunar-font-manager.substvars \
debian/thunar-font-manager/usr/lib/*/thunar*/*
font-manager-0.9.6/debian/source/ 0000775 0000000 0000000 00000000000 15273004164 0016630 5 ustar 00root root 0000000 0000000 font-manager-0.9.6/debian/source/format 0000664 0000000 0000000 00000000014 15273004164 0020036 0 ustar 00root root 0000000 0000000 3.0 (quilt)
font-manager-0.9.6/debian/thunar-font-manager.install 0000664 0000000 0000000 00000000052 15273004164 0022572 0 ustar 00root root 0000000 0000000 usr/lib/*/thunarx*/thunar-font-manager.so
font-manager-0.9.6/extensions/ 0000775 0000000 0000000 00000000000 15273004164 0016305 5 ustar 00root root 0000000 0000000 font-manager-0.9.6/extensions/README.md 0000664 0000000 0000000 00000000527 15273004164 0017570 0 ustar 00root root 0000000 0000000 These extensions are intended to provide integration with Nautilus, Nemo and Thunar file managers.
They are a work in progress.
Currently they allow easy previewing of font files by simply selecting them while font-viewer is open and add an install item to the context menu.
The Thunar extension also adds very basic bulk renamer support.
font-manager-0.9.6/extensions/extension-common.h 0000664 0000000 0000000 00000002132 15273004164 0021756 0 ustar 00root root 0000000 0000000 /* extension-common.h
*
* Copyright (C) 2022-2024 Jerry Casiano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*
* If not, see .
*/
#pragma once
#define FONT_VIEWER_BUS_ID "com.github.FontManager.FontViewer"
#define FONT_VIEWER_BUS_PATH "/com/github/FontManager/FontViewer"
#define N_MIMETYPES 7
static const char *MIMETYPES [N_MIMETYPES] = {
"font/ttf",
"font/ttc",
"font/otf",
"font/collection",
"application/x-font-ttf",
"application/x-font-ttc",
"application/x-font-otf",
};
font-manager-0.9.6/extensions/meson.build 0000664 0000000 0000000 00000000332 15273004164 0020445 0 ustar 00root root 0000000 0000000
extension_includes = includes + [ include_directories('.') ]
if get_option('nautilus')
subdir('nautilus')
endif
if get_option('nemo')
subdir('nemo')
endif
if get_option('thunar')
subdir('thunar')
endif
font-manager-0.9.6/extensions/nautilus/ 0000775 0000000 0000000 00000000000 15273004164 0020151 5 ustar 00root root 0000000 0000000 font-manager-0.9.6/extensions/nautilus/font-manager-menu-provider.c 0000664 0000000 0000000 00000020756 15273004164 0025477 0 ustar 00root root 0000000 0000000 /* font-manager-menu-provider.c
*
* Copyright (C) 2018-2025 Jerry Casiano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*
* If not, see .
*/
#include
#include "extension-common.h"
#include "font-manager-menu-provider.h"
struct _FontManagerMenuProvider
{
GObject parent_instance;
guint watch_id;
gboolean active;
gchar *uri;
GDBusConnection *connection;
};
#ifdef NAUTILUS_4
static void font_manager_menu_provider_interface_init (NautilusMenuProviderInterface *iface);
#else
static void font_manager_menu_provider_interface_init (NautilusMenuProviderIface *iface);
#endif
G_DEFINE_DYNAMIC_TYPE_EXTENDED (FontManagerMenuProvider,
font_manager_menu_provider,
G_TYPE_OBJECT,
0,
G_IMPLEMENT_INTERFACE_DYNAMIC (NAUTILUS_TYPE_MENU_PROVIDER,
font_manager_menu_provider_interface_init))
static gboolean
nautilus_file_info_is_font_file (NautilusFileInfo *fileinfo)
{
for (gint i = 0; i < N_MIMETYPES; i++)
if (nautilus_file_info_is_mime_type(fileinfo, MIMETYPES[i]))
return TRUE;
return FALSE;
}
static gboolean
file_list_contains_font_files (GList *nautilus_file_info_list)
{
for (GList *iter = nautilus_file_info_list; iter != NULL; iter = iter->next)
if (nautilus_file_info_is_font_file(iter->data))
return TRUE;
return FALSE;
}
static void
install_task (GTask *task,
FontManagerMenuProvider *self,
NautilusMenuItem *item,
GCancellable *cancellable)
{
GList *filelist = g_object_get_data(G_OBJECT(item), "filelist");
g_return_if_fail(filelist != NULL);
for (GList *iter = filelist; iter != NULL; iter = iter->next) {
if (!nautilus_file_info_is_font_file(iter->data))
continue;
g_autoptr(GFile) file = nautilus_file_info_get_location(iter->data);
g_autofree gchar *dir = font_manager_get_user_font_directory();
g_autoptr(GFile) directory = g_file_new_for_path(dir);
font_manager_install_file(file, directory, NULL);
}
return;
}
static void
on_install_selected (FontManagerMenuProvider *self, NautilusMenuItem *item)
{
g_autoptr(GTask) task = g_task_new(self, NULL, NULL, NULL);
g_task_set_task_data(task, item, NULL);
g_task_run_in_thread(task, (GTaskThreadFunc) install_task);
return;
}
static GList *
font_manager_menu_provider_get_file_items (NautilusMenuProvider *provider,
#ifdef NAUTILUS_4
#else
G_GNUC_UNUSED GtkWidget *widget,
#endif
GList *filelist)
{
if (filelist == NULL)
return NULL;
FontManagerMenuProvider *self = FONT_MANAGER_MENU_PROVIDER(provider);
GList *items = NULL;
gboolean single_selection = (filelist->next == NULL);
if (single_selection) {
NautilusFileInfo *fileinfo = g_list_nth_data(filelist, 0);
if (!nautilus_file_info_is_font_file(fileinfo))
goto menu;
if (!self->active)
goto menu;
g_autofree gchar *uri = nautilus_file_info_get_activation_uri(fileinfo);
if (g_strcmp0(self->uri, uri) == 0)
goto menu;
if (self->connection && !g_dbus_connection_is_closed(self->connection)) {
g_dbus_connection_call(self->connection,
FONT_VIEWER_BUS_ID,
FONT_VIEWER_BUS_PATH,
FONT_VIEWER_BUS_ID,
"ShowUri",
g_variant_new("(s)", uri),
NULL,
G_DBUS_CALL_FLAGS_NONE,
-1,
NULL,
NULL,
NULL);
}
g_free(self->uri);
self->uri = g_strdup(uri);
}
menu:
if (file_list_contains_font_files(filelist)) {
NautilusMenuItem *install = nautilus_menu_item_new("FontManager:install",
_("Install"),
single_selection ?
_("Install the selected font file") :
_("Install the selected font files"),
NULL);
g_object_set_data_full(G_OBJECT(install), "filelist",
nautilus_file_info_list_copy(filelist),
(GDestroyNotify) nautilus_file_info_list_free);
g_signal_connect_swapped(install, "activate", G_CALLBACK(on_install_selected), self);
items = g_list_append(items, install);
}
return items;
}
static GList *
font_manager_menu_provider_get_background_items (G_GNUC_UNUSED NautilusMenuProvider *provider,
#ifdef NAUTILUS_4
#else
G_GNUC_UNUSED GtkWidget *widget,
#endif
G_GNUC_UNUSED NautilusFileInfo *current_folder)
{
return NULL;
}
static void
font_manager_menu_provider_finalize (GObject *gobject)
{
FontManagerMenuProvider *self = FONT_MANAGER_MENU_PROVIDER(gobject);
g_bus_unwatch_name(self->watch_id);
g_clear_pointer(&self->uri, g_free);
g_clear_object(&self->connection);
G_OBJECT_CLASS(font_manager_menu_provider_parent_class)->finalize(gobject);
return;
}
static void
font_manager_menu_provider_class_finalize (G_GNUC_UNUSED FontManagerMenuProviderClass *klass)
{
return;
}
static void
#ifdef NAUTILUS_4
font_manager_menu_provider_interface_init (NautilusMenuProviderInterface *iface)
#else
font_manager_menu_provider_interface_init (NautilusMenuProviderIface *iface)
#endif
{
iface->get_file_items = font_manager_menu_provider_get_file_items;
iface->get_background_items = font_manager_menu_provider_get_background_items;
return;
}
static void
font_manager_menu_provider_class_init (FontManagerMenuProviderClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS(klass);
object_class->finalize = font_manager_menu_provider_finalize;
return;
}
static void
font_viewer_active_callback (GDBusConnection *connection,
G_GNUC_UNUSED const gchar *name,
G_GNUC_UNUSED const gchar *name_owner,
gpointer user_data)
{
FontManagerMenuProvider *self = FONT_MANAGER_MENU_PROVIDER(user_data);
self->active = TRUE;
g_clear_pointer(&self->uri, g_free);
g_set_object(&self->connection, connection);
return;
}
static void
font_viewer_inactive_callback (G_GNUC_UNUSED GDBusConnection *connection,
G_GNUC_UNUSED const gchar *name,
gpointer user_data)
{
FontManagerMenuProvider *self = FONT_MANAGER_MENU_PROVIDER(user_data);
self->active = FALSE;
g_clear_pointer(&self->uri, g_free);
g_clear_object(&self->connection);
return;
}
static void
font_manager_menu_provider_init (FontManagerMenuProvider *self)
{
g_return_if_fail(self != NULL);
self->active = FALSE;
self->uri = NULL;
self->watch_id = g_bus_watch_name(G_BUS_TYPE_SESSION,
FONT_VIEWER_BUS_ID,
G_BUS_NAME_WATCHER_FLAGS_NONE,
(GBusNameAppearedCallback) font_viewer_active_callback,
(GBusNameVanishedCallback) font_viewer_inactive_callback,
self,
NULL);
return;
}
void
font_manager_menu_provider_load (GTypeModule *module)
{
font_manager_menu_provider_register_type(module);
return;
}
font-manager-0.9.6/extensions/nautilus/font-manager-menu-provider.h 0000664 0000000 0000000 00000002417 15273004164 0025476 0 ustar 00root root 0000000 0000000 /* font-manager-menu-provider.h
*
* Copyright (C) 2018-2022 Jerry Casiano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*
* If not, see .
*/
#ifndef __FONT_MANAGER_MENU_PROVIDER_H__
#define __FONT_MANAGER_MENU_PROVIDER_H__
#include
#include
#include
#include
#include "font-manager-utils.h"
G_BEGIN_DECLS
#define FONT_MANAGER_TYPE_MENU_PROVIDER (font_manager_menu_provider_get_type())
G_DECLARE_FINAL_TYPE (FontManagerMenuProvider, font_manager_menu_provider, FONT_MANAGER, MENU_PROVIDER, GObject)
void font_manager_menu_provider_load (GTypeModule *module);
G_END_DECLS
#endif /* __FONT_MANAGER_MENU_PROVIDER_H__ */
font-manager-0.9.6/extensions/nautilus/meson.build 0000664 0000000 0000000 00000003266 15273004164 0022322 0 ustar 00root root 0000000 0000000
nautilus_info = '''
Install the libnautilus-extension package and try again.
For more information see https://wiki.gnome.org/Apps/Files
'''
nautilus = dependency('libnautilus-extension', required: false)
nautilus4 = dependency('libnautilus-extension-4', required: false)
if nautilus.found() or nautilus4.found()
result = run_command(python, '-c', list_sources, check: true)
nautilus_extension_sources = result.stdout().strip().split('\n')
result = run_command(python, '-c', list_headers, check: true)
nautilus_extension_headers = result.stdout().strip().split('\n')
if nautilus.found()
args = []
nautilus_version = '3.0'
nautilus_deps = [nautilus, base_deps]
else
args = ['-DNAUTILUS_4']
nautilus_version = '4'
nautilus_deps = [nautilus4, base_deps]
endif
nautilus_extension_dir = join_paths(get_option('libdir'), 'nautilus', 'extensions-@0@'.format(nautilus_version))
nautilus_font_manager = shared_module('nautilus-font-manager',
[nautilus_extension_sources, nautilus_extension_headers],
dependencies: nautilus_deps,
c_args: args,
link_with: libfontmanager,
include_directories: extension_includes,
name_prefix: '',
install: true,
install_dir: nautilus_extension_dir,
install_rpath: pkglib_dir)
else
message(nautilus_info)
endif
font-manager-0.9.6/extensions/nautilus/nautilus-font-manager-module.c 0000664 0000000 0000000 00000002502 15273004164 0026017 0 ustar 00root root 0000000 0000000 /* nautilus-font-manager-module.c
*
* Copyright (C) 2019-2022 Jerry Casiano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*
* If not, see .
*/
#include
#include "config.h"
#include "font-manager-menu-provider.h"
void
nautilus_module_initialize (GTypeModule *module)
{
bindtextdomain(PACKAGE_NAME, NULL);
bind_textdomain_codeset(PACKAGE_NAME, NULL);
font_manager_menu_provider_load(module);
return;
}
void
nautilus_module_shutdown (void)
{
return;
}
void
nautilus_module_list_types (const GType **types,
int *num_types)
{
static GType type_list[1];
type_list[0] = FONT_MANAGER_TYPE_MENU_PROVIDER;
*types = type_list;
*num_types = 1;
return;
}
font-manager-0.9.6/extensions/nemo/ 0000775 0000000 0000000 00000000000 15273004164 0017243 5 ustar 00root root 0000000 0000000 font-manager-0.9.6/extensions/nemo/font-manager-menu-provider.c 0000664 0000000 0000000 00000020104 15273004164 0024554 0 ustar 00root root 0000000 0000000 /* font-manager-menu-provider.c
*
* Copyright (C) 2018-2025 Jerry Casiano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*
* If not, see .
*/
#include
#include "extension-common.h"
#include "font-manager-menu-provider.h"
struct _FontManagerMenuProvider
{
GObject parent_instance;
guint watch_id;
gboolean active;
gchar *uri;
GDBusConnection *connection;
};
static void font_manager_menu_provider_interface_init (NemoMenuProviderIface *iface);
G_DEFINE_DYNAMIC_TYPE_EXTENDED (FontManagerMenuProvider,
font_manager_menu_provider,
G_TYPE_OBJECT,
0,
G_IMPLEMENT_INTERFACE_DYNAMIC (NEMO_TYPE_MENU_PROVIDER,
font_manager_menu_provider_interface_init))
static gboolean
nemo_file_info_is_font_file (NemoFileInfo *fileinfo)
{
for (gint i = 0; i < N_MIMETYPES; i++)
if (nemo_file_info_is_mime_type(fileinfo, MIMETYPES[i]))
return TRUE;
return FALSE;
}
static gboolean
file_list_contains_font_files (GList *nemo_file_info_list)
{
for (GList *iter = nemo_file_info_list; iter != NULL; iter = iter->next)
if (nemo_file_info_is_font_file(iter->data))
return TRUE;
return FALSE;
}
static void
install_task (GTask *task,
FontManagerMenuProvider *self,
NemoMenuItem *item,
GCancellable *cancellable)
{
GList *filelist = g_object_get_data(G_OBJECT(item), "filelist");
g_return_if_fail(filelist != NULL);
for (GList *iter = filelist; iter != NULL; iter = iter->next) {
if (!nemo_file_info_is_font_file(iter->data))
continue;
g_autoptr(GFile) file = nemo_file_info_get_location(iter->data);
g_autofree gchar *dir = font_manager_get_user_font_directory();
g_autoptr(GFile) directory = g_file_new_for_path(dir);
font_manager_install_file(file, directory, NULL);
}
return;
}
static void
on_install_selected (FontManagerMenuProvider *self, NemoMenuItem *item)
{
g_autoptr(GTask) task = g_task_new(self, NULL, NULL, NULL);
g_task_set_task_data(task, item, NULL);
g_task_run_in_thread(task, (GTaskThreadFunc) install_task);
return;
}
static GList *
font_manager_menu_provider_get_file_items (NemoMenuProvider *provider,
G_GNUC_UNUSED GtkWidget *widget,
GList *filelist)
{
if (filelist == NULL)
return NULL;
FontManagerMenuProvider *self = FONT_MANAGER_MENU_PROVIDER(provider);
GList *items = NULL;
gboolean single_selection = (filelist->next == NULL);
if (single_selection) {
NemoFileInfo *fileinfo = g_list_nth_data(filelist, 0);
if (!nemo_file_info_is_font_file(fileinfo))
goto menu;
if (!self->active)
goto menu;
g_autofree gchar *uri = nemo_file_info_get_activation_uri(fileinfo);
if (g_strcmp0(self->uri, uri) == 0)
goto menu;
if (self->connection && !g_dbus_connection_is_closed(self->connection)) {
g_dbus_connection_call(self->connection,
FONT_VIEWER_BUS_ID,
FONT_VIEWER_BUS_PATH,
FONT_VIEWER_BUS_ID,
"ShowUri",
g_variant_new("(s)", uri),
NULL,
G_DBUS_CALL_FLAGS_NONE,
-1,
NULL,
NULL,
NULL);
}
g_free(self->uri);
self->uri = g_strdup(uri);
}
menu:
if (file_list_contains_font_files(filelist)) {
NemoMenuItem *install = nemo_menu_item_new("FontManager:install",
_("Install"),
single_selection ?
_("Install the selected font file") :
_("Install the selected font files"),
NULL);
g_object_set_data_full(G_OBJECT(install), "filelist",
nemo_file_info_list_copy(filelist),
(GDestroyNotify) nemo_file_info_list_free);
g_signal_connect_swapped(install, "activate", G_CALLBACK(on_install_selected), self);
items = g_list_append(items, install);
}
return items;
}
static GList *
font_manager_menu_provider_get_background_items (G_GNUC_UNUSED NemoMenuProvider *provider,
G_GNUC_UNUSED GtkWidget *widget,
G_GNUC_UNUSED NemoFileInfo *current_folder)
{
return NULL;
}
static void
font_manager_menu_provider_finalize (GObject *gobject)
{
FontManagerMenuProvider *self = FONT_MANAGER_MENU_PROVIDER(gobject);
g_bus_unwatch_name(self->watch_id);
g_clear_pointer(&self->uri, g_free);
g_clear_object(&self->connection);
G_OBJECT_CLASS(font_manager_menu_provider_parent_class)->finalize(gobject);
return;
}
static void
font_manager_menu_provider_class_finalize (G_GNUC_UNUSED FontManagerMenuProviderClass *klass)
{
return;
}
static void
font_manager_menu_provider_interface_init (NemoMenuProviderIface *iface)
{
iface->get_file_items = font_manager_menu_provider_get_file_items;
iface->get_background_items = font_manager_menu_provider_get_background_items;
return;
}
static void
font_manager_menu_provider_class_init (FontManagerMenuProviderClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS(klass);
object_class->finalize = font_manager_menu_provider_finalize;
return;
}
static void
font_viewer_active_callback (GDBusConnection *connection,
G_GNUC_UNUSED const gchar *name,
G_GNUC_UNUSED const gchar *name_owner,
gpointer user_data)
{
FontManagerMenuProvider *self = FONT_MANAGER_MENU_PROVIDER(user_data);
self->active = TRUE;
g_clear_pointer(&self->uri, g_free);
g_set_object(&self->connection, connection);
return;
}
static void
font_viewer_inactive_callback (G_GNUC_UNUSED GDBusConnection *connection,
G_GNUC_UNUSED const gchar *name,
gpointer user_data)
{
FontManagerMenuProvider *self = FONT_MANAGER_MENU_PROVIDER(user_data);
self->active = FALSE;
g_clear_pointer(&self->uri, g_free);
g_clear_object(&self->connection);
return;
}
static void
font_manager_menu_provider_init (FontManagerMenuProvider *self)
{
g_return_if_fail(self != NULL);
self->active = FALSE;
self->uri = NULL;
self->watch_id = g_bus_watch_name(G_BUS_TYPE_SESSION,
FONT_VIEWER_BUS_ID,
G_BUS_NAME_WATCHER_FLAGS_NONE,
(GBusNameAppearedCallback) font_viewer_active_callback,
(GBusNameVanishedCallback) font_viewer_inactive_callback,
self,
NULL);
return;
}
void
font_manager_menu_provider_load (GTypeModule *module)
{
font_manager_menu_provider_register_type(module);
return;
}
font-manager-0.9.6/extensions/nemo/font-manager-menu-provider.h 0000664 0000000 0000000 00000002441 15273004164 0024565 0 ustar 00root root 0000000 0000000 /* font-manager-menu-provider.h
*
* Copyright (C) 2018-2022 Jerry Casiano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*
* If not, see .
*/
#ifndef __FONT_MANAGER_MENU_PROVIDER_H__
#define __FONT_MANAGER_MENU_PROVIDER_H__
#include
#include
#include
#include
#include "font-manager-utils.h"
G_BEGIN_DECLS
#define FONT_MANAGER_TYPE_MENU_PROVIDER (font_manager_menu_provider_get_type())
G_DECLARE_FINAL_TYPE (FontManagerMenuProvider, font_manager_menu_provider, FONT_MANAGER, MENU_PROVIDER, GObject)
void font_manager_menu_provider_load (GTypeModule *module);
G_END_DECLS
#endif /* __FONT_MANAGER_MENU_PROVIDER_H__ */
font-manager-0.9.6/extensions/nemo/meson.build 0000664 0000000 0000000 00000002130 15273004164 0021401 0 ustar 00root root 0000000 0000000
nemo_info = '''
Install the libnemo-extension package and try again.
For more information see https://github.com/linuxmint/nemo
'''
nemo = dependency('libnemo-extension', not_found_message: nemo_info)
result = run_command(python, '-c', list_sources, check: true)
nemo_extension_sources = result.stdout().strip().split('\n')
result = run_command(python, '-c', list_headers, check: true)
nemo_extension_headers = result.stdout().strip().split('\n')
nemo_extension_dir = join_paths(get_option('libdir'), 'nemo', 'extensions-3.0')
nemo_font_manager = shared_module('nemo-font-manager',
[nemo_extension_sources, nemo_extension_headers],
dependencies: [nemo, base_deps],
link_with: libfontmanager,
include_directories: extension_includes,
name_prefix: '',
install: true,
install_dir: nemo_extension_dir,
install_rpath: pkglib_dir)
font-manager-0.9.6/extensions/nemo/nemo-font-manager-module.c 0000664 0000000 0000000 00000002503 15273004164 0024204 0 ustar 00root root 0000000 0000000 /* nemo-font-manager-module.c
*
* Copyright (C) 2019-2022 Jerry Casiano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*
* If not, see .
*/
#include
#include "config.h"
#include "font-manager-menu-provider.h"
void
nemo_module_initialize (GTypeModule *module)
{
bindtextdomain(PACKAGE_NAME, NULL);
bind_textdomain_codeset(PACKAGE_NAME, NULL);
font_manager_menu_provider_load(module);
return;
}
void
nemo_module_shutdown (void)
{
return;
}
void
nemo_module_list_types (const GType **types,
int *num_types)
{
static GType type_list[1];
type_list[0] = FONT_MANAGER_TYPE_MENU_PROVIDER;
*types = type_list;
*num_types = 1;
return;
}
font-manager-0.9.6/extensions/thunar/ 0000775 0000000 0000000 00000000000 15273004164 0017606 5 ustar 00root root 0000000 0000000 font-manager-0.9.6/extensions/thunar/font-manager-extension-utils.c 0000664 0000000 0000000 00000002426 15273004164 0025504 0 ustar 00root root 0000000 0000000 /* font-manager-extension-utils.h
*
* Copyright (C) 2020-2022 Jerry Casiano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*
* If not, see .
*/
#include "extension-common.h"
#include "font-manager-extension-utils.h"
gboolean
thunarx_file_info_is_font_file (ThunarxFileInfo *fileinfo)
{
for (gint i = 0; i < N_MIMETYPES; i++)
if (thunarx_file_info_has_mime_type(fileinfo, MIMETYPES[i]))
return TRUE;
return FALSE;
}
gboolean
file_list_contains_font_files (GList *thunarx_file_info_list)
{
for (GList *iter = thunarx_file_info_list; iter != NULL; iter = iter->next)
if (thunarx_file_info_is_font_file(iter->data))
return TRUE;
return FALSE;
}
font-manager-0.9.6/extensions/thunar/font-manager-extension-utils.h 0000664 0000000 0000000 00000002114 15273004164 0025503 0 ustar 00root root 0000000 0000000 /* font-manager-extension-utils.h
*
* Copyright (C) 2020-2022 Jerry Casiano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*
* If not, see .
*/
#ifndef __FONT_MANAGER_EXTENSION_UTILS_H__
#define __FONT_MANAGER_EXTENSION_UTILS_H__
#include
#include
G_BEGIN_DECLS
gboolean thunarx_file_info_is_font_file (ThunarxFileInfo *fileinfo);
gboolean file_list_contains_font_files (GList *thunarx_file_info_list);
G_END_DECLS
#endif /* __FONT_MANAGER_EXTENSION_UTILS_H__ */
font-manager-0.9.6/extensions/thunar/font-manager-menu-provider.c 0000664 0000000 0000000 00000016316 15273004164 0025131 0 ustar 00root root 0000000 0000000 /* font-manager-menu-provider.c
*
* Copyright (C) 2018-2025 Jerry Casiano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*
* If not, see .
*/
#include
#include "extension-common.h"
#include "font-manager-menu-provider.h"
struct _FontManagerMenuProvider
{
GObject parent_instance;
guint watch_id;
gboolean active;
gchar *uri;
GDBusConnection *connection;
};
static void font_manager_menu_provider_interface_init (ThunarxMenuProviderIface *iface);
THUNARX_DEFINE_TYPE_WITH_CODE (FontManagerMenuProvider,
font_manager_menu_provider,
G_TYPE_OBJECT,
THUNARX_IMPLEMENT_INTERFACE(THUNARX_TYPE_MENU_PROVIDER,
font_manager_menu_provider_interface_init))
static void
install_task (GTask *task,
FontManagerMenuProvider *self,
ThunarxMenuItem *item,
GCancellable *cancellable)
{
GList *filelist = g_object_get_data(G_OBJECT(item), "filelist");
g_return_if_fail(filelist != NULL);
for (GList *iter = filelist; iter != NULL; iter = iter->next) {
if (!thunarx_file_info_is_font_file(iter->data))
continue;
g_autoptr(GFile) file = thunarx_file_info_get_location(iter->data);
g_autofree gchar *dir = font_manager_get_user_font_directory();
g_autoptr(GFile) directory = g_file_new_for_path(dir);
font_manager_install_file(file, directory, NULL);
}
return;
}
static void
on_install_selected (FontManagerMenuProvider *self, ThunarxMenuItem *item)
{
g_autoptr(GTask) task = g_task_new(self, NULL, NULL, NULL);
g_task_set_task_data(task, item, NULL);
g_task_run_in_thread(task, (GTaskThreadFunc) install_task);
return;
}
static GList *
font_manager_menu_provider_get_file_items (ThunarxMenuProvider *provider,
G_GNUC_UNUSED GtkWidget *widget,
GList *filelist)
{
if (filelist == NULL)
return NULL;
FontManagerMenuProvider *self = FONT_MANAGER_MENU_PROVIDER(provider);
GList *items = NULL;
gboolean single_selection = (filelist->next == NULL);
if (single_selection) {
ThunarxFileInfo *fileinfo = g_list_nth_data(filelist, 0);
if (!thunarx_file_info_is_font_file(fileinfo))
goto menu;
if (!self->active)
goto menu;
g_autoptr(GFile) file = thunarx_file_info_get_location(fileinfo);
g_autofree gchar *uri = g_file_get_uri(file);
if (g_strcmp0(self->uri, uri) == 0)
goto menu;
if (self->connection && !g_dbus_connection_is_closed(self->connection)) {
g_dbus_connection_call(self->connection,
FONT_VIEWER_BUS_ID,
FONT_VIEWER_BUS_PATH,
FONT_VIEWER_BUS_ID,
"ShowUri",
g_variant_new("(s)", uri),
NULL,
G_DBUS_CALL_FLAGS_NONE,
-1,
NULL,
NULL,
NULL);
}
g_free(self->uri);
self->uri = g_strdup(uri);
}
menu:
if (file_list_contains_font_files(filelist)) {
ThunarxMenuItem *install = thunarx_menu_item_new("FontManager:install",
_("Install"),
single_selection ?
_("Install the selected font file") :
_("Install the selected font files"),
NULL);
g_object_set_data_full(G_OBJECT(install), "filelist",
thunarx_file_info_list_copy(filelist),
(GDestroyNotify) thunarx_file_info_list_free);
g_signal_connect_swapped(install, "activate", G_CALLBACK(on_install_selected), self);
items = g_list_append(items, install);
}
return items;
}
static void
font_manager_menu_provider_finalize (GObject *gobject)
{
FontManagerMenuProvider *self = FONT_MANAGER_MENU_PROVIDER(gobject);
g_bus_unwatch_name(self->watch_id);
g_clear_pointer(&self->uri, g_free);
g_clear_object(&self->connection);
G_OBJECT_CLASS(font_manager_menu_provider_parent_class)->finalize(gobject);
return;
}
static void
font_manager_menu_provider_interface_init (ThunarxMenuProviderIface *iface)
{
iface->get_file_menu_items = font_manager_menu_provider_get_file_items;
return;
}
static void
font_manager_menu_provider_class_init (FontManagerMenuProviderClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS(klass);
object_class->finalize = font_manager_menu_provider_finalize;
return;
}
static void
font_viewer_active_callback (GDBusConnection *connection,
G_GNUC_UNUSED const gchar *name,
G_GNUC_UNUSED const gchar *name_owner,
gpointer user_data)
{
FontManagerMenuProvider *self = FONT_MANAGER_MENU_PROVIDER(user_data);
self->active = TRUE;
g_clear_pointer(&self->uri, g_free);
g_set_object(&self->connection, connection);
return;
}
static void
font_viewer_inactive_callback (G_GNUC_UNUSED GDBusConnection *connection,
G_GNUC_UNUSED const gchar *name,
gpointer user_data)
{
FontManagerMenuProvider *self = FONT_MANAGER_MENU_PROVIDER(user_data);
self->active = FALSE;
g_clear_pointer(&self->uri, g_free);
g_clear_object(&self->connection);
return;
}
static void
font_manager_menu_provider_init (FontManagerMenuProvider *self)
{
g_return_if_fail(self != NULL);
self->active = FALSE;
self->uri = NULL;
self->watch_id = g_bus_watch_name(G_BUS_TYPE_SESSION,
FONT_VIEWER_BUS_ID,
G_BUS_NAME_WATCHER_FLAGS_NONE,
(GBusNameAppearedCallback) font_viewer_active_callback,
(GBusNameVanishedCallback) font_viewer_inactive_callback,
self,
NULL);
return;
}
void
font_manager_menu_provider_load (ThunarxProviderPlugin *plugin)
{
font_manager_menu_provider_register_type(plugin);
return;
}
font-manager-0.9.6/extensions/thunar/font-manager-menu-provider.h 0000664 0000000 0000000 00000002500 15273004164 0025124 0 ustar 00root root 0000000 0000000 /* font-manager-menu-provider.h
*
* Copyright (C) 2018-2022 Jerry Casiano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*
* If not, see .
*/
#ifndef __FONT_MANAGER_MENU_PROVIDER_H__
#define __FONT_MANAGER_MENU_PROVIDER_H__
#include
#include
#include
#include
#include "font-manager-utils.h"
#include "font-manager-extension-utils.h"
G_BEGIN_DECLS
#define FONT_MANAGER_TYPE_MENU_PROVIDER (font_manager_menu_provider_get_type())
G_DECLARE_FINAL_TYPE (FontManagerMenuProvider, font_manager_menu_provider, FONT_MANAGER, MENU_PROVIDER, GObject)
void font_manager_menu_provider_load (ThunarxProviderPlugin *module);
G_END_DECLS
#endif /* __FONT_MANAGER_MENU_PROVIDER_H__ */
font-manager-0.9.6/extensions/thunar/font-manager-renamer-provider.c 0000664 0000000 0000000 00000007062 15273004164 0025614 0 ustar 00root root 0000000 0000000 /* font-manager-renamer-provider.c
*
* Copyright (C) 2018-2022 Jerry Casiano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*
* If not, see .
*/
#include
#include "font-manager-renamer-provider.h"
struct _FontManagerRenamerProvider
{
GObject parent_instance;
};
struct _FontManagerRenamer
{
ThunarxRenamer parent_instance;
};
G_DEFINE_TYPE (FontManagerRenamer, font_manager_renamer, THUNARX_TYPE_RENAMER)
static void font_manager_renamer_provider_interface_init (ThunarxRenamerProviderIface *iface);
THUNARX_DEFINE_TYPE_WITH_CODE (FontManagerRenamerProvider,
font_manager_renamer_provider,
G_TYPE_OBJECT,
THUNARX_IMPLEMENT_INTERFACE(THUNARX_TYPE_RENAMER_PROVIDER,
font_manager_renamer_provider_interface_init))
static gchar *
font_manager_renamer_process (ThunarxRenamer *renamer,
ThunarxFileInfo *file,
const gchar *text,
guint index)
{
if (!thunarx_file_info_is_font_file(file))
return NULL;
g_autoptr(GFile) gfile = thunarx_file_info_get_location(file);
g_autofree gchar *path = g_file_get_path(gfile);
g_autoptr(JsonObject) metadata = font_manager_get_metadata(path, 0, NULL);
if (!metadata)
return NULL;
gchar * suggested_filename = NULL;
if (g_strrstr(text, ".")) {
g_autofree gchar *ext = font_manager_get_file_extension(text);
g_autofree gchar *filename = font_manager_get_suggested_filename(metadata);
suggested_filename = g_strdup_printf("%s.%s", filename, ext);
} else {
suggested_filename = font_manager_get_suggested_filename(metadata);
}
return suggested_filename;
}
static void
font_manager_renamer_class_init (FontManagerRenamerClass *klass)
{
ThunarxRenamerClass *parent_class = (ThunarxRenamerClass *) klass;
parent_class->process = font_manager_renamer_process;
return;
}
static void
font_manager_renamer_init (FontManagerRenamer *self)
{
return;
}
ThunarxRenamer *
font_manager_renamer_new (void)
{
return g_object_new(FONT_MANAGER_TYPE_RENAMER, "name", _("Font Properties"), NULL);
}
GList *
font_manager_renamer_provider_get_renamers (ThunarxRenamerProvider *provider)
{
GList *renamers = NULL;
renamers = g_list_append(renamers, font_manager_renamer_new());
return renamers;
}
static void
font_manager_renamer_provider_interface_init (ThunarxRenamerProviderIface *iface)
{
iface->get_renamers = font_manager_renamer_provider_get_renamers;
return;
}
static void
font_manager_renamer_provider_class_init (FontManagerRenamerProviderClass *klass)
{
return;
}
static void
font_manager_renamer_provider_init (FontManagerRenamerProvider *self)
{
return;
}
void
font_manager_renamer_provider_load (ThunarxProviderPlugin *plugin)
{
font_manager_renamer_provider_register_type(plugin);
return;
}
font-manager-0.9.6/extensions/thunar/font-manager-renamer-provider.h 0000664 0000000 0000000 00000003174 15273004164 0025621 0 ustar 00root root 0000000 0000000 /* font-manager-renamer-provider.h
*
* Copyright (C) 2018-2022 Jerry Casiano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*
* If not, see .
*/
#ifndef __FONT_MANAGER_RENAMER_PROVIDER_H__
#define __FONT_MANAGER_RENAMER_PROVIDER_H__
#include
#include
#include
#include
#include "font-manager-utils.h"
#include "font-manager-extension-utils.h"
G_BEGIN_DECLS
G_DEFINE_AUTOPTR_CLEANUP_FUNC(ThunarxRenamer, g_object_unref)
#define FONT_MANAGER_TYPE_RENAMER (font_manager_renamer_get_type())
G_DECLARE_FINAL_TYPE (FontManagerRenamer, font_manager_renamer, FONT_MANAGER, RENAMER, ThunarxRenamer)
ThunarxRenamer * font_manager_renamer_new (void);
#define FONT_MANAGER_TYPE_RENAMER_PROVIDER (font_manager_renamer_provider_get_type())
G_DECLARE_FINAL_TYPE (FontManagerRenamerProvider, font_manager_renamer_provider, FONT_MANAGER, RENAMER_PROVIDER, GObject)
void font_manager_renamer_provider_load (ThunarxProviderPlugin *module);
G_END_DECLS
#endif /* __FONT_MANAGER_RENAMER_PROVIDER_H__ */
font-manager-0.9.6/extensions/thunar/meson.build 0000664 0000000 0000000 00000002160 15273004164 0021747 0 ustar 00root root 0000000 0000000
thunarx_info = '''
Install the thunar package and try again.
For more information see https://docs.xfce.org/xfce/thunar/start
'''
thunar = dependency('thunarx-3', not_found_message: thunarx_info)
result = run_command(python, '-c', list_sources, check: true)
thunarx_extension_sources = result.stdout().strip().split('\n')
result = run_command(python, '-c', list_headers, check: true)
thunarx_extension_headers = result.stdout().strip().split('\n')
thunarx_extension_dir = join_paths(get_option('libdir'), 'thunarx-3')
thunarx_font_manager = shared_module('thunar-font-manager',
[thunarx_extension_sources, thunarx_extension_headers],
dependencies: [thunar, base_deps ],
link_with: libfontmanager,
include_directories: extension_includes,
name_prefix: '',
install: true,
install_dir: thunarx_extension_dir,
install_rpath: pkglib_dir)
font-manager-0.9.6/extensions/thunar/thunar-font-manager-module.c 0000664 0000000 0000000 00000003355 15273004164 0025120 0 ustar 00root root 0000000 0000000 /* thunar-font-manager-module.c
*
* Copyright (C) 2019-2022 Jerry Casiano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*
* If not, see .
*/
#include
#include "config.h"
#include "font-manager-menu-provider.h"
#include "font-manager-renamer-provider.h"
static gboolean
have_compatible_thunarx_version ()
{
return thunarx_check_version(THUNARX_MAJOR_VERSION, THUNARX_MINOR_VERSION, THUNARX_MICRO_VERSION) == NULL;
}
G_MODULE_EXPORT void
thunar_extension_initialize (ThunarxProviderPlugin *plugin)
{
g_return_if_fail(have_compatible_thunarx_version());
bindtextdomain(PACKAGE_NAME, NULL);
bind_textdomain_codeset(PACKAGE_NAME, NULL);
font_manager_menu_provider_load(plugin);
font_manager_renamer_provider_load(plugin);
return;
}
G_MODULE_EXPORT void
thunar_extension_shutdown (void)
{
return;
}
G_MODULE_EXPORT void
thunar_extension_list_types (const GType **types,
int *num_types)
{
static GType type_list[2];
type_list[0] = FONT_MANAGER_TYPE_MENU_PROVIDER;
type_list[1] = FONT_MANAGER_TYPE_RENAMER_PROVIDER;
*types = type_list;
*num_types = 2;
return;
}
font-manager-0.9.6/fedora/ 0000775 0000000 0000000 00000000000 15273004164 0015346 5 ustar 00root root 0000000 0000000 font-manager-0.9.6/fedora/font-manager.spec 0000664 0000000 0000000 00000013166 15273004164 0020607 0 ustar 00root root 0000000 0000000 %global MajorVersion 0
%global MinorVersion 9
%global PatchVersion 6
%global build_timestamp %{lua: print(os.date("%Y%m%d"))}
%global DBusName com.github.FontManager.FontManager
%global DBusName2 com.github.FontManager.FontViewer
%global git_archive https://github.com/FontManager/font-manager/archive/master.tar.gz
%bcond adwaita 1
%bcond libarchive 1
%bcond nautilus 1
%bcond nemo 1
%bcond thunar 1
%bcond webkit 1
Name: font-manager
Version: %{MajorVersion}.%{MinorVersion}.%{PatchVersion}.%{build_timestamp}
Release: 1
Summary: A simple font management application for Gtk+ Desktop Environments
License: GPLv3+
Url: http://fontmanager.github.io/
Source0: %{git_archive}
BuildRequires: gettext
BuildRequires: meson
BuildRequires: fontconfig-devel >= 2.12
BuildRequires: freetype-devel >= 2.10
BuildRequires: glib2-devel >= 2.62
BuildRequires: gobject-introspection-devel
BuildRequires: gtk4-devel >= 4.12
BuildRequires: json-glib-devel >= 1.5
BuildRequires: libappstream-glib
BuildRequires: libxml2-devel >= 2.9.10
BuildRequires: pango-devel >= 1.45
BuildRequires: sqlite-devel >= 3.35
BuildRequires: vala >= 0.42
BuildRequires: yelp-tools
BuildRequires: desktop-file-utils
%if %{with adwaita}
BuildRequires: libadwaita-devel
%endif
%if %{with libarchive}
BuildRequires: libarchive-devel >= 3.7
%endif
%if %{with webkit}
BuildRequires: libsoup3-devel >= 3.2
BuildRequires: webkitgtk6.0-devel >= 2.4
%endif
%if %{with nautilus}
BuildRequires: nautilus-devel
%endif
%if %{with nemo}
BuildRequires: nemo-devel
%endif
%if %{with thunar}
BuildRequires: Thunar-devel
%endif
Requires: fontconfig
Requires: %{name}-common
Requires: font-viewer
Requires: freetype
Requires: gtk4 >= 4.12
Requires: sqlite
Requires: yelp
%if %{with adwaita}
Requires: libadwaita
%endif
%if %{with libarchive}
Requires: libarchive >= 3.7
%endif
%if %{with webkit}
Requires: libsoup3
Requires: webkitgtk6.0
%endif
%description
Font Manager is intended to provide a way for average users to easily
manage desktop fonts, without having to resort to command line tools
or editing configuration files by hand. While designed primarily with
the Gnome Desktop Environment in mind, it should work well with other
Gtk+ desktop environments.
Font Manager is NOT a professional-grade font management solution.
%package -n %{name}-common
Summary: Common files used by font-manager
%description -n %{name}-common
This package contains common files such as libraries, help files,
translations, etc.
These files are required by font-manager and font-viewer.
%package -n font-viewer
Summary: Full featured font file preview application for GTK+ Desktop Environments
Requires: %{name}-common >= %{version}
%description -n font-viewer
This package contains the font-viewer component of font-manager.
%if %{with nautilus}
%package -n nautilus-%{name}
Summary: Nautilus extension for Font Manager
Requires: font-viewer >= %{version}
Requires: %{name}-common >= %{version}
%description -n nautilus-%{name}
This package provides integration with the Nautilus file manager.
%endif
%if %{with nemo}
%package -n nemo-%{name}
Summary: Nemo extension for Font Manager
Requires: font-viewer >= %{version}
Requires: %{name}-common >= %{version}
%description -n nemo-%{name}
This package provides integration with the Nemo file manager.
%endif
%if %{with thunar}
%package -n thunar-%{name}
Summary: Thunar extension for Font Manager
Requires: font-viewer >= %{version}
Requires: %{name}-common >= %{version}
%description -n thunar-%{name}
This package provides integration with the Thunar file manager.
%endif
%prep
%autosetup -n %{name}-master
%build
%meson --buildtype=debugoptimized \
-Dadwaita=%{?with_adwaita:true}%{!?with_adwaita:false} \
-Dlibarchive=%{?with_libarchive:true}%{!?with_libarchive:false} \
-Dnautilus=%{?with_nautilus:true}%{!?with_nautilus:false} \
-Dnemo=%{?with_nemo:true}%{!?with_nemo:false} \
-Dthunar=%{?with_thunar:true}%{!?with_thunar:false} \
-Dwebkit=%{?with_webkit:true}%{!?with_webkit:false} \
-Dreproducible=true
%meson_build
%install
%meson_install
%find_lang %{name}
%check
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.metainfo.xml
%posttrans
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
/usr/bin/gtk4-update-icon-cache -q -t -f %{_datadir}/icons/hicolor &> /dev/null || :
/usr/bin/update-desktop-database -q %{_datadir}/applications &> /dev/null || :
%files
%{_bindir}/%{name}
%{_datadir}/metainfo/%{DBusName}.metainfo.xml
%{_datadir}/applications/%{DBusName}.desktop
%{_datadir}/dbus-1/services/%{DBusName}.service
%{_datadir}/gnome-shell/search-providers/%{DBusName}.SearchProvider.ini
%{_datadir}/icons/hicolor/scalable/apps/%{DBusName}.svg
%{_mandir}/man1/%{name}.*
%files -n %{name}-common -f %{name}.lang
%license COPYING
%{_libdir}/%{name}
%{_datadir}/help/*/%{name}
%{_datadir}/glib-2.0/schemas/%{DBusName}.gschema.xml
%files -n font-viewer
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/font-viewer
%{_datadir}/metainfo/%{DBusName2}.metainfo.xml
%{_datadir}/applications/%{DBusName2}.desktop
%{_datadir}/dbus-1/services/%{DBusName2}.service
%{_datadir}/glib-2.0/schemas/%{DBusName2}.gschema.xml
%{_datadir}/icons/hicolor/scalable/apps/%{DBusName2}.svg
%if %{with nautilus}
%files -n nautilus-%{name}
%{_libdir}/nautilus/extensions*/nautilus-%{name}.so
%endif
%if %{with nemo}
%files -n nemo-%{name}
%{_libdir}/nemo/extensions-3.0/nemo-%{name}.so
%endif
%if %{with thunar}
%files -n thunar-%{name}
%{_libdir}/thunarx-3/thunar-%{name}.so
%endif
%changelog
* Tue Nov 3 2026 JerryCasiano 0.9.6-1
- Refer to https://github.com/FontManager/font-manager/commits/master for changes.
font-manager-0.9.6/help/ 0000775 0000000 0000000 00000000000 15273004164 0015036 5 ustar 00root root 0000000 0000000 font-manager-0.9.6/help/C/ 0000775 0000000 0000000 00000000000 15273004164 0015220 5 ustar 00root root 0000000 0000000 font-manager-0.9.6/help/C/font-manager-categories.page 0000664 0000000 0000000 00000004724 15273004164 0022566 0 ustar 00root root 0000000 0000000 Automatically generated categoriesCategories
Font Manager automatically categorizes your fonts based on
various properties.
All
All available fonts.
System
Fonts available to all users.
User
Fonts available only to you.
Family Kind
Sorted by Family Kind — Requires Panose information to be present in font metadata.
Width
Sorted by font width property.
Weight
Sorted by font weight property.
Slant
Sorted by font slant property.
Spacing
Sorted by font spacing property.
License
Sorted by font license — Requires license information to be present in font metadata.
Vendor
Sorted by font vendor — Requires vendor information to be present in font metadata.
Filetype
Sorted by file format.
Unsorted
Fonts not present in any of your collections.
Disabled
Currrently disabled font families.
font-manager-0.9.6/help/C/font-manager-character-map.page 0000664 0000000 0000000 00000001544 15273004164 0023145 0 ustar 00root root 0000000 0000000 View individual characters and their detailsCharacter Map
While in "Manage" mode the preview pane contains a tab labeled "Characters".
Selecting this tab allows viewing all glyphs contained in the currently
selected font.
Character Map tab
Drag characters onto other applications to use them.
Font Manager
allows you to define your own collections.
Collections allow you to organize your fonts in a way that makes
sense to you and also make it easier to enable or disable
many families at once.
Collections do not modify your files in any way.
Feel free to create or delete as many as you like.
To create a new collection:
Click
at the bottom of the Collection view.
Enter a name for your new collection
Add fonts by dragging them from the font list
to your new collection.
To delete a collection:
Select the collection
Click
at the bottom of the Collection view.
To enable a collection:
Select the collection
Click the
checkbox
To disable a collection:
Select the collection
Click the
checkbox
To remove families from a collection:
Select the collection
Select the family or families you wish to remove
Click the
at the top of the font list.
To rename a collection:
Select a collection, click it again
Enter a new name
Press Enter
font-manager-0.9.6/help/C/font-manager-font-activation.page 0000664 0000000 0000000 00000004115 15273004164 0023540 0 ustar 00root root 0000000 0000000 Activating and De-activating font familiesActivation
Font Manager
allows you to activate and de-activate font families.
If you have a large number of fonts installed, font selection dialogs
and lists in many applications can get very long and become uncomfortable
to use, disabling fonts you do not use very often or do not need at the
moment helps keep these at a reasonable size.
To enable or disable a font family:
Select the family you wish to enable/disable in the font list
Click the
checkbox
You can also double-click, press Space or
press Enter to toggle the selected font.
Collections
make it easy to enable or disable multiple families at once.
While any changes made using Font Manager are applied
immediately, open applications may need to be restarted in order
to reflect those changes.
font-manager-0.9.6/help/C/font-manager-font-installation.page 0000664 0000000 0000000 00000003063 15273004164 0024101 0 ustar 00root root 0000000 0000000 Adding fonts for your useInstallation
Font Manager supports the most common
font formats.
While in Manage mode
Click
at the top of the window
Select the files you wish to install from the
file selector dialog that is displayed and click
Open
Drag and drop is also supported.
Simply drag files onto the font list to install them.
You can drag any supported filetype onto the font list.
This includes font files, directories and archives.
Font Manager will reload anytime changes require it.
This may take a moment depending on number of changes.
The only fonts listed in the removal dialog will be those
installed in your default font directory.
Font files installed system wide are typically installed as part
of the operating system, as packages or by the system administrator.
Font Manager does not provide for removal of such files
at this time.
To remove fonts you no longer need:
While in Manage mode
Click
at the top of the window
Select the families or individual styles you wish to
remove from the list that is displayed
Click
Delete
Font Manager organizes and stores installed fonts in the default user font directory.
Current default user font directory is located at ~/.local/share/fonts
Files are permanently deleted. Before removing any fonts ensure
you have backups if there is a chance you may need them again.
Font Manager will reload anytime changes require it.
This may take a moment depending on number of changes.
font-manager-0.9.6/help/C/font-manager-font-sources.page 0000664 0000000 0000000 00000010664 15273004164 0023070 0 ustar 00root root 0000000 0000000 Adding and removing font directoriesSources
Font Manager
allows you to add or remove directories to scan for font files.
Added directories are scanned recursively.
This allows keeping font files somewhere other than your home
directory or temporarily "installing" a directory of fonts.
It also allows you to organize your font files anyway you like.
To add a source:
Open the Font Manager preferences dialog
by clicking
at the top of the window and selecting Preferences from the menu.
Select "Sources" from the sidebar
Click
Select the directory you wish to add from the file
selector that is displayed
To remove a source:
Open the Font Manager preferences dialog
by clicking
at the top of the window and selecting Preferences from the menu.
Select "Sources" from the sidebar
Select the directory you wish to remove from the list
that is displayed
Click
To enable or disable a source:
Open the Font Manager preferences dialog
by clicking
at the top of the window and selecting Preferences from the menu.
Select "Sources" from the sidebar
Select the source you want to enable or disable
Click the
toggle switch
While sources are always available within the application they are not
available to other applications until they are enabled.
You can avoid having multiple copies of the same files by adding
directories from other filesystems.
Font Manager will reload anytime changes require it.
This may take a moment depending on number of changes.
The "Display" and "Rendering" panes in the preferences dialog generate
valid fontconfig configuration files for the exposed properties.
See fonts-conf for more details.
Desktop environments and applications may rely on their own configuration mechanism.
font-manager-0.9.6/help/C/font-manager-introduction.page 0000664 0000000 0000000 00000003541 15273004164 0023156 0 ustar 00root root 0000000 0000000
Introduction to Font Manager.
Font Manager allows you to :
Introduction
Preview font files in various ways
View available font metadata
Install or remove fonts for your use
Group fonts into "Collections"
Enable or disable individual font families or entire collections
Specify different directories to use for fonts
Perform font substitution
Font Manager
For more information about Font Manager, please visit the
Homepage
To report a bug or make a suggestion regarding the
Font Manager application
or this manual, please use the projects
Issue Tracker
font-manager-0.9.6/help/C/font-manager-license.page 0000664 0000000 0000000 00000001446 15273004164 0022061 0 ustar 00root root 0000000 0000000 View license information contained in font filesLicensing
While in "Manage" mode the preview pane contains a tab labeled "License".
Selecting this tab allows viewing any licensing information contained in
the currently selected font.
Font License tab
Not all font files contain licensing information.
font-manager-0.9.6/help/C/font-manager-metadata.page 0000664 0000000 0000000 00000001452 15273004164 0022214 0 ustar 00root root 0000000 0000000 View metadata embedded in your font filesMetadata
While in "Manage" mode the preview pane contains a tab labeled "Properties".
Selecting this tab allows viewing metadata contained in the currently
selected font.
Font Properties tab
Some properties are optional and may not be present in all font files.
font-manager-0.9.6/help/C/font-manager-orthographies.page 0000664 0000000 0000000 00000001541 15273004164 0023311 0 ustar 00root root 0000000 0000000 View languages supported and their coverageLanguage Support
While the character map is in use the sidebar will switch to displaying
the orthographies supported by the currently selected font.
Selecting an orthography from the list will filter the character map so
that it only displays relevant characters
Supported Orthographies
font-manager-0.9.6/help/C/font-manager-substitutions.page 0000664 0000000 0000000 00000010327 15273004164 0023374 0 ustar 00root root 0000000 0000000 Substitute one font family for anotherSubstitution
Font Manager allows you to substitute one font family for another.
To add a substitute:
Open the Font Manager preferences dialog
by clicking
at the top of the window and selecting Preferences from the menu.
Select "Substitutions" from the sidebar
Click
in the substitutions pane.
Enter the name of the font family you wish to set up a substitute for.
Click
on the right.
Enter the name of the substitute family and select the priority level.
Repeat steps 3 – 6 as needed.
Click Save to write the
configuration file when done.
To remove a substitute:
Open the Font Manager preferences dialog
by clicking
at the top of the window and selecting Preferences from the menu.
Select "Substitutions" from the sidebar
Select the entry you wish to remove from the list.
Click
in the substitutions pane.
Click Save to write the
configuration file when done.
Fonts matching the target family are edited to prepend the list of
preferred families before the matching family, append the acceptable
families after the matching family and append the default families
to the end of the family list.
While changes are applied immediately open applications may need to
be restarted.
font-manager-0.9.6/help/C/font-manager-supported-formats.page 0000664 0000000 0000000 00000001624 15273004164 0024133 0 ustar 00root root 0000000 0000000
Font formats supported by Font Manager.
Supported File Formats
TrueType
OpenType
font-manager-0.9.6/help/C/font-manager.pot 0000664 0000000 0000000 00000077164 15273004164 0020341 0 ustar 00root root 0000000 0000000 msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2026-11-03 16:44-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Put one translator per line, in the form NAME , YEAR1, YEAR2
msgctxt "_"
msgid "translator-credits"
msgstr ""
#. (itstool) path: info/desc
#: ../help/C/font-manager-categories.page:7
msgid "Automatically generated categories"
msgstr ""
#. (itstool) path: page/title
#: ../help/C/font-manager-categories.page:10
msgid "Categories"
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-categories.page:12
msgid "Font Manager automatically categorizes your fonts based on various properties."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-categories.page:19
msgid "All"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-categories.page:20
msgid "All available fonts."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-categories.page:25
msgid "System"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-categories.page:26
msgid "Fonts available to all users."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-categories.page:31
msgid "User"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-categories.page:32
msgid "Fonts available only to you."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-categories.page:37
msgid "Family Kind"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-categories.page:38
msgid "Sorted by Family Kind — Requires Panose information to be present in font metadata."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-categories.page:43
msgid "Width"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-categories.page:44
msgid "Sorted by font width property."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-categories.page:49
msgid "Weight"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-categories.page:50
msgid "Sorted by font weight property."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-categories.page:55
msgid "Slant"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-categories.page:56
msgid "Sorted by font slant property."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-categories.page:61
msgid "Spacing"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-categories.page:62
msgid "Sorted by font spacing property."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-categories.page:67
msgid "License"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-categories.page:68
msgid "Sorted by font license — Requires license information to be present in font metadata."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-categories.page:73
msgid "Vendor"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-categories.page:74
msgid "Sorted by font vendor — Requires vendor information to be present in font metadata."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-categories.page:79
msgid "Filetype"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-categories.page:80
msgid "Sorted by file format."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-categories.page:85
msgid "Unsorted"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-categories.page:86
msgid "Fonts not present in any of your collections."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-categories.page:91
msgid "Disabled"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-categories.page:92
msgid "Currrently disabled font families."
msgstr ""
#. (itstool) path: info/desc
#: ../help/C/font-manager-character-map.page:8
msgid "View individual characters and their details"
msgstr ""
#. (itstool) path: page/title
#: ../help/C/font-manager-character-map.page:11
msgid "Character Map"
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-character-map.page:13
msgid "While in \"Manage\" mode the preview pane contains a tab labeled \"Characters\"."
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-character-map.page:17
msgid "Selecting this tab allows viewing all glyphs contained in the currently selected font."
msgstr ""
#. (itstool) path: figure/title
#: ../help/C/font-manager-character-map.page:23
msgid "Character Map tab"
msgstr ""
#. (itstool) path: figure/media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
#: ../help/C/font-manager-character-map.page:24
msgctxt "_"
msgid "external ref='media/character-map.png' md5='f5c11ea1511808e98e4ae1ae9ad8340e'"
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-character-map.page:28
msgid "Drag characters onto other applications to use them."
msgstr ""
#. (itstool) path: info/desc
#: ../help/C/font-manager-collections.page:7
msgid "Organizing Your Fonts"
msgstr ""
#. (itstool) path: page/title
#: ../help/C/font-manager-collections.page:10
msgid "Collections"
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-collections.page:12
msgid "Font Manager allows you to define your own collections."
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-collections.page:17
msgid "Collections allow you to organize your fonts in a way that makes sense to you and also make it easier to enable or disable many families at once."
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-collections.page:24
msgid "Collections do not modify your files in any way."
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-collections.page:27
msgid "Feel free to create or delete as many as you like."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-collections.page:34
msgid "To create a new collection:"
msgstr ""
#. (itstool) path: gui/media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
#: ../help/C/font-manager-collections.page:40
#: ../help/C/font-manager-font-installation.page:25
#: ../help/C/font-manager-font-sources.page:46
#: ../help/C/font-manager-substitutions.page:37
#: ../help/C/font-manager-substitutions.page:51
msgctxt "_"
msgid "external ref='media/list-add-symbolic.svg' md5='cdb139c1ad5f1e6b4564cd1496251338'"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-collections.page:37
msgid "Click at the bottom of the Collection view."
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-collections.page:46
msgid "Enter a name for your new collection"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-collections.page:51
msgid "Add fonts by dragging them from the font list to your new collection."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-collections.page:59
msgid "To delete a collection:"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-collections.page:62
#: ../help/C/font-manager-collections.page:81
#: ../help/C/font-manager-collections.page:99
#: ../help/C/font-manager-collections.page:117
msgid "Select the collection"
msgstr ""
#. (itstool) path: gui/media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
#: ../help/C/font-manager-collections.page:70
#: ../help/C/font-manager-collections.page:130
#: ../help/C/font-manager-font-removal.page:38
#: ../help/C/font-manager-font-sources.page:84
#: ../help/C/font-manager-substitutions.page:99
msgctxt "_"
msgid "external ref='media/list-remove-symbolic.svg' md5='962f7ae06837373bfad4e143cbf89a15'"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-collections.page:67
msgid "Click at the bottom of the Collection view."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-collections.page:78
msgid "To enable a collection:"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-collections.page:86
#: ../help/C/font-manager-collections.page:104
#: ../help/C/font-manager-font-activation.page:35
msgid "Click the checkbox "
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-collections.page:96
msgid "To disable a collection:"
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-collections.page:114
msgid "To remove families from a collection:"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-collections.page:122
msgid "Select the family or families you wish to remove"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-collections.page:127
msgid "Click the at the top of the font list."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-collections.page:138
msgid "To rename a collection:"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-collections.page:141
msgid "Select a collection, click it again"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-collections.page:146
msgid "Enter a new name"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-collections.page:151
msgid "Press Enter"
msgstr ""
#. (itstool) path: info/desc
#: ../help/C/font-manager-font-activation.page:8
msgid "Activating and De-activating font families"
msgstr ""
#. (itstool) path: page/title
#: ../help/C/font-manager-font-activation.page:11
msgid "Activation"
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-font-activation.page:13
msgid "Font Manager allows you to activate and de-activate font families."
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-font-activation.page:18
msgid "If you have a large number of fonts installed, font selection dialogs and lists in many applications can get very long and become uncomfortable to use, disabling fonts you do not use very often or do not need at the moment helps keep these at a reasonable size."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-font-activation.page:27
msgid "To enable or disable a font family:"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-font-activation.page:30
msgid "Select the family you wish to enable/disable in the font list"
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-font-activation.page:47
msgid "You can also double-click, press Space or press Enter to toggle the selected font."
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-font-activation.page:51
msgid "Collections make it easy to enable or disable multiple families at once."
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-font-activation.page:58
msgid "While any changes made using Font Manager are applied immediately, open applications may need to be restarted in order to reflect those changes."
msgstr ""
#. (itstool) path: info/desc
#: ../help/C/font-manager-font-installation.page:7
msgid "Adding fonts for your use"
msgstr ""
#. (itstool) path: page/title
#: ../help/C/font-manager-font-installation.page:10
msgid "Installation"
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-font-installation.page:12
msgid "Font Manager supports the most common font formats."
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-font-installation.page:19
#: ../help/C/font-manager-font-removal.page:32
msgid "While in Manage mode"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-font-installation.page:22
msgid "Click at the top of the window"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-font-installation.page:31
msgid "Select the files you wish to install from the file selector dialog that is displayed and click Open"
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-font-installation.page:40
msgid "Drag and drop is also supported. Simply drag files onto the font list to install them."
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-font-installation.page:44
msgid "You can drag any supported filetype onto the font list. This includes font files, directories and archives."
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-font-installation.page:51
#: ../help/C/font-manager-font-removal.page:76
#: ../help/C/font-manager-font-sources.page:138
msgid "Font Manager will reload anytime changes require it. This may take a moment depending on number of changes."
msgstr ""
#. (itstool) path: info/desc
#: ../help/C/font-manager-font-removal.page:8
msgid "Getting rid of unwanted fonts"
msgstr ""
#. (itstool) path: page/title
#: ../help/C/font-manager-font-removal.page:11
msgid "Removal"
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-font-removal.page:14
msgid "The only fonts listed in the removal dialog will be those installed in your default font directory."
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-font-removal.page:18
msgid "Font files installed system wide are typically installed as part of the operating system, as packages or by the system administrator. Font Manager does not provide for removal of such files at this time."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-font-removal.page:29
msgid "To remove fonts you no longer need:"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-font-removal.page:35
msgid "Click at the top of the window"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-font-removal.page:44
msgid "Select the families or individual styles you wish to remove from the list that is displayed"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-font-removal.page:50
msgid "Click Delete"
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-font-removal.page:60
msgid "Font Manager organizes and stores installed fonts in the default user font directory."
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-font-removal.page:63
msgid "Current default user font directory is located at ~/.local/share/fonts"
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-font-removal.page:69
msgid "Files are permanently deleted. Before removing any fonts ensure you have backups if there is a chance you may need them again."
msgstr ""
#. (itstool) path: info/desc
#: ../help/C/font-manager-font-sources.page:7
msgid "Adding and removing font directories"
msgstr ""
#. (itstool) path: page/title
#: ../help/C/font-manager-font-sources.page:10
msgid "Sources"
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-font-sources.page:12
msgid "Font Manager allows you to add or remove directories to scan for font files. Added directories are scanned recursively."
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-font-sources.page:17
msgid "This allows keeping font files somewhere other than your home directory or temporarily \"installing\" a directory of fonts."
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-font-sources.page:21
msgid "It also allows you to organize your font files anyway you like."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-font-sources.page:27
msgid "To add a source:"
msgstr ""
#. (itstool) path: gui/media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
#: ../help/C/font-manager-font-sources.page:34
#: ../help/C/font-manager-font-sources.page:66
#: ../help/C/font-manager-font-sources.page:98
#: ../help/C/font-manager-substitutions.page:25
#: ../help/C/font-manager-substitutions.page:82
msgctxt "_"
msgid "external ref='media/open-menu.svg' md5='53c42fca9e64a93b4c572d5ba805fd4d'"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-font-sources.page:30
#: ../help/C/font-manager-font-sources.page:62
#: ../help/C/font-manager-font-sources.page:94
#: ../help/C/font-manager-substitutions.page:21
#: ../help/C/font-manager-substitutions.page:78
msgid "Open the Font Manager preferences dialog by clicking at the top of the window and selecting Preferences from the menu."
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-font-sources.page:40
#: ../help/C/font-manager-font-sources.page:72
#: ../help/C/font-manager-font-sources.page:104
msgid "Select \"Sources\" from the sidebar"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-font-sources.page:43
msgid "Click "
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-font-sources.page:51
msgid "Select the directory you wish to add from the file selector that is displayed"
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-font-sources.page:59
msgid "To remove a source:"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-font-sources.page:75
msgid "Select the directory you wish to remove from the list that is displayed"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-font-sources.page:81
msgid "Click "
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-font-sources.page:91
msgid "To enable or disable a source:"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-font-sources.page:107
msgid "Select the source you want to enable or disable"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-font-sources.page:112
msgid "Click the toggle switch "
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-font-sources.page:124
msgid "While sources are always available within the application they are not available to other applications until they are enabled."
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-font-sources.page:131
msgid "You can avoid having multiple copies of the same files by adding directories from other filesystems."
msgstr ""
#. (itstool) path: info/desc
#: ../help/C/font-manager-fontconfig.page:7
msgid "Generate fontconfig configuration files"
msgstr ""
#. (itstool) path: page/title
#: ../help/C/font-manager-fontconfig.page:10
msgid "Display and Rendering Preferences"
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-fontconfig.page:12
msgid "The \"Display\" and \"Rendering\" panes in the preferences dialog generate valid fontconfig configuration files for the exposed properties."
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-fontconfig.page:17
msgid "See fonts-conf for more details."
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-fontconfig.page:22
msgid "Desktop environments and applications may rely on their own configuration mechanism."
msgstr ""
#. (itstool) path: info/desc
#: ../help/C/font-manager-introduction.page:5
msgid "Introduction to Font Manager."
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-introduction.page:10
msgid "Font Manager allows you to :"
msgstr ""
#. (itstool) path: page/title
#: ../help/C/font-manager-introduction.page:12
msgid "Introduction"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-introduction.page:18
msgid "Preview font files in various ways"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-introduction.page:23
msgid "View available font metadata"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-introduction.page:28
msgid "Install or remove fonts for your use"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-introduction.page:33
msgid "Group fonts into \"Collections\""
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-introduction.page:38
msgid "Enable or disable individual font families or entire collections"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-introduction.page:43
msgid "Specify different directories to use for fonts"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-introduction.page:48
msgid "Perform font substitution"
msgstr ""
#. (itstool) path: figure/title
#: ../help/C/font-manager-introduction.page:55
msgid "Font Manager"
msgstr ""
#. (itstool) path: figure/media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
#: ../help/C/font-manager-introduction.page:57
msgctxt "_"
msgid "external ref='media/main-window.png' md5='0947d29731b952e41fe720ab4fab7bb3'"
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-introduction.page:61
msgid "For more information about Font Manager, please visit the Homepage "
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-introduction.page:67
msgid "To report a bug or make a suggestion regarding the Font Manager application or this manual, please use the projects Issue Tracker "
msgstr ""
#. (itstool) path: info/desc
#: ../help/C/font-manager-license.page:7
msgid "View license information contained in font files"
msgstr ""
#. (itstool) path: page/title
#: ../help/C/font-manager-license.page:10
msgid "Licensing"
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-license.page:12
msgid "While in \"Manage\" mode the preview pane contains a tab labeled \"License\"."
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-license.page:16
msgid "Selecting this tab allows viewing any licensing information contained in the currently selected font."
msgstr ""
#. (itstool) path: figure/title
#: ../help/C/font-manager-license.page:22
msgid "Font License tab"
msgstr ""
#. (itstool) path: figure/media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
#: ../help/C/font-manager-license.page:23
msgctxt "_"
msgid "external ref='media/license.png' md5='5c7a8640b105ef8f0862fe9310a9402d'"
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-license.page:27
msgid "Not all font files contain licensing information."
msgstr ""
#. (itstool) path: info/desc
#: ../help/C/font-manager-metadata.page:7
msgid "View metadata embedded in your font files"
msgstr ""
#. (itstool) path: page/title
#: ../help/C/font-manager-metadata.page:10
msgid "Metadata"
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-metadata.page:12
msgid "While in \"Manage\" mode the preview pane contains a tab labeled \"Properties\"."
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-metadata.page:16
msgid "Selecting this tab allows viewing metadata contained in the currently selected font."
msgstr ""
#. (itstool) path: figure/title
#: ../help/C/font-manager-metadata.page:22
msgid "Font Properties tab"
msgstr ""
#. (itstool) path: figure/media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
#: ../help/C/font-manager-metadata.page:23
msgctxt "_"
msgid "external ref='media/metadata.png' md5='062f728a7d69be29ddfa02f4eb3afe28'"
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-metadata.page:27
msgid "Some properties are optional and may not be present in all font files."
msgstr ""
#. (itstool) path: info/desc
#: ../help/C/font-manager-orthographies.page:8
msgid "View languages supported and their coverage"
msgstr ""
#. (itstool) path: page/title
#: ../help/C/font-manager-orthographies.page:11
msgid "Language Support"
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-orthographies.page:13
msgid "While the character map is in use the sidebar will switch to displaying the orthographies supported by the currently selected font."
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-orthographies.page:18
msgid "Selecting an orthography from the list will filter the character map so that it only displays relevant characters"
msgstr ""
#. (itstool) path: figure/title
#: ../help/C/font-manager-orthographies.page:28
msgid "Supported Orthographies"
msgstr ""
#. (itstool) path: figure/media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
#: ../help/C/font-manager-orthographies.page:29
msgctxt "_"
msgid "external ref='media/orthographies.png' md5='ba678b7230c85fb943b91db0a971cbf9'"
msgstr ""
#. (itstool) path: info/desc
#: ../help/C/font-manager-substitutions.page:7
msgid "Substitute one font family for another"
msgstr ""
#. (itstool) path: page/title
#: ../help/C/font-manager-substitutions.page:10
msgid "Substitution"
msgstr ""
#. (itstool) path: page/p
#: ../help/C/font-manager-substitutions.page:12
msgid "Font Manager allows you to substitute one font family for another."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-substitutions.page:18
msgid "To add a substitute:"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-substitutions.page:31
#: ../help/C/font-manager-substitutions.page:88
msgid "Select \"Substitutions\" from the sidebar"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-substitutions.page:34
msgid "Click in the substitutions pane."
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-substitutions.page:43
msgid "Enter the name of the font family you wish to set up a substitute for."
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-substitutions.page:48
msgid "Click on the right."
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-substitutions.page:57
msgid "Enter the name of the substitute family and select the priority level."
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-substitutions.page:62
msgid "Repeat steps 3 – 6 as needed."
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-substitutions.page:67
#: ../help/C/font-manager-substitutions.page:105
msgid "Click Save to write the configuration file when done."
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-substitutions.page:75
msgid "To remove a substitute:"
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-substitutions.page:91
msgid "Select the entry you wish to remove from the list."
msgstr ""
#. (itstool) path: item/p
#: ../help/C/font-manager-substitutions.page:96
msgid "Click in the substitutions pane."
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-substitutions.page:115
msgid "Fonts matching the target family are edited to prepend the list of preferred families before the matching family, append the acceptable families after the matching family and append the default families to the end of the family list."
msgstr ""
#. (itstool) path: note/p
#: ../help/C/font-manager-substitutions.page:121
msgid "While changes are applied immediately open applications may need to be restarted."
msgstr ""
#. (itstool) path: info/desc
#: ../help/C/font-manager-supported-formats.page:5
msgid "Font formats supported by Font Manager."
msgstr ""
#. (itstool) path: page/title
#: ../help/C/font-manager-supported-formats.page:10
msgid "Supported File Formats"
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-supported-formats.page:14
msgid " TrueType "
msgstr ""
#. (itstool) path: item/title
#: ../help/C/font-manager-supported-formats.page:21
msgid " OpenType "
msgstr ""
#. (itstool) path: info/desc
#: ../help/C/index.page:6
msgid "Getting started with Font Manager."
msgstr ""
#. (itstool) path: title/media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
#: ../help/C/index.page:8
msgctxt "_"
msgid "external ref='media/com.github.FontManager.FontManager-48.png' md5='9aae4e17bb334c3572c2ff3981d0c407'"
msgstr ""
#. (itstool) path: info/title
#: ../help/C/index.page:10
msgctxt "link"
msgid "Font Manager"
msgstr ""
#. (itstool) path: info/title
#: ../help/C/index.page:11
msgctxt "text"
msgid "Font Manager"
msgstr ""
#. (itstool) path: credit/name
#: ../help/C/index.page:14
msgid "Jerry Casiano"
msgstr ""
#. (itstool) path: credit/years
#: ../help/C/index.page:16
msgid "2009–2025"
msgstr ""
#. (itstool) path: credit/name
#: ../help/C/index.page:20
msgid "Weblate"
msgstr ""
#. (itstool) path: license/p
#: ../help/C/index.page:24
msgid "GNU General Public License Version 3"
msgstr ""
#. (itstool) path: title/media
#. This is a reference to an external file such as an image or video. When
#. the file changes, the md5 hash will change to let you know you need to
#. update your localized copy. The msgstr is not used at all. Set it to
#. whatever you like once you have updated your copy of the file.
#: ../help/C/index.page:30
msgctxt "_"
msgid "external ref='media/com.github.FontManager.FontManager-64.png' md5='6c87b4f87f89a112474814611a30f2a9'"
msgstr ""
#. (itstool) path: page/title
#: ../help/C/index.page:29
msgid " Font Manager logo Font Manager"
msgstr ""
#. (itstool) path: section/title
#: ../help/C/index.page:37
msgid "Managing Your Fonts"
msgstr ""
#. (itstool) path: section/title
#: ../help/C/index.page:41
msgid "Getting to Know Your Fonts"
msgstr ""
#. (itstool) path: section/title
#: ../help/C/index.page:45
msgid "Advanced Features"
msgstr ""
font-manager-0.9.6/help/C/index.page 0000664 0000000 0000000 00000002455 15273004164 0017173 0 ustar 00root root 0000000 0000000 Getting started with Font Manager.Font ManagerFont ManagerJerry CasianoJerryCasiano@gmail.com2009–2025Weblate