[Bug 467729] RFE: Add font autoinstallation support

Bugzilla@Mozilla bugzilla-daemon at mozilla.org
Wed Feb 18 11:16:02 UTC 2015


Do not reply to this email. You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=467729

Frédéric Wang (:fredw) <fred.wang at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |dev-doc-needed
         Whiteboard|                            |[read from comment 40 for
                   |                            |documentation]

--- Comment #40 from Frédéric Wang (:fredw) <fred.wang at free.fr> 2015-02-18 03:16:02 PST ---
This commit adds a new nsIPackageKitService XPCOM API to be able to perform
PackageKit installation requests based on package names, mime types,
font-config or GStreamer resources:

http://www.freedesktop.org/software/PackageKit/pk-intro.html
https://help.gnome.org/users/gnome-packagekit/index.html

For the detailed XPCOM API, see

https://hg.mozilla.org/mozilla-central/file/9696d1c4b3ba/xpcom/system/nsIPackageKitService.idl

as well as attachment 8519421 for a sample add-on using that API.

This is only available on Gnome versions of applications (Linux and probably
more Unix systems) with a GIO library that is recent enough to support
PackageKit (in particular, this is unlikely to be the case for the official
Linux builds by Mozilla until bug 627699 is fixed).

Using the new "font-needed" notification described at bug 619521 comment 151
and the installation method introduced here, Linux maintainers should be able
to write extensions to support font autoinstallation, as asked in comment 0.
See https://github.com/fred-wang/MissingFontsNotifier for a work-in-progress
add-on.

-- 
Configure bugmail: https://bugzilla.mozilla.org/userprefs.cgi?tab=email

-------------------------------
Product/Component: Firefox :: General


------- Tracking Flags: -------
status-firefox38:fixed

------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the fonts-bugs mailing list