Online font installation



[copying from my blogpost]

Hi,

Just submitted patches for GTK+ [1] and gnome-settings-daemon [2] to
monitor all fontconfig configuration and react to changes.

What this means is that with the patches in place:

      * Modifying ~/.fonts.conf takes effect in all running applications
        immediately (ok, withing three seconds),
      * Installing missing fonts will make hexboxes automagically turn
        into real text rendered using the newly installed font.
Interestingly, no changes in Pango were needed.

Next step, detect missing fonts and make PackageKit show a notification
offering to install needed fonts.

I appreciate comments on the details, specially the Fontconfig/Timestamp
xsetting.

Thanks

behdad

[1] http://bugzilla.gnome.org/show_bug.cgi?id=536185
[2] http://bugzilla.gnome.org/show_bug.cgi?id=490374



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]