Commit graph

22 commits

Author SHA1 Message Date
Paolo Borelli
8086604fc1 follow symlinks when getting info. Fixes part of #309744.
2005-08-04  Paolo Borelli  <pborelli@katamail.com>

	* font-view.c (add_face_info): follow symlinks when getting
	info. Fixes part of #309744.
2005-08-04 11:11:39 +00:00
Sebastien Bacher
581c37e2bb Cleanup of gconf and a few other things, patch from Kjartan Maraas
2005-05-22  Sebastien Bacher  <seb128@debian.org>

        * ChangeLog capplets/about-me/e-image-chooser.c
        capplets/accessibility/at-properties/at-startup-session.h
        capplets/accessibility/keyboard/accessibility-keyboard.c
        capplets/background/gnome-wp-info.c
        capplets/common/gconf-property-editor.c
        capplets/common/gnome-theme-apply.c
        capplets/default-applications/gnome-default-applications-properties.c
        capplets/keybindings/gnome-keybinding-properties.c
        capplets/keyboard/gnome-keyboard-properties.c
        capplets/mouse/gnome-mouse-properties.c
        capplets/network/gnome-network-preferences.c
        capplets/sound/sound-properties-capplet.c
        capplets/theme-switcher/gnome-theme-details.c
        capplets/theme-switcher/gnome-theme-manager.c
        capplets/ui-properties/gnome-ui-properties.c
        capplets/windows/gnome-window-properties.c
        gnome-settings-daemon/factory.c
        gnome-settings-daemon/gnome-settings-accessibility-keyboard.c
        gnome-settings-daemon/gnome-settings-background.c
        gnome-settings-daemon/gnome-settings-daemon.c
        gnome-settings-daemon/gnome-settings-daemon.h
        gnome-settings-daemon/gnome-settings-font.c
        gnome-settings-daemon/gnome-settings-keybindings.c
        gnome-settings-daemon/gnome-settings-keybindings.h
        gnome-settings-daemon/gnome-settings-keyboard-xkb.c
        gnome-settings-daemon/gnome-settings-keyboard.c
        gnome-settings-daemon/gnome-settings-locate-pointer.h
        gnome-settings-daemon/gnome-settings-mouse.c
        gnome-settings-daemon/gnome-settings-multimedia-keys.c
        gnome-settings-daemon/gnome-settings-screensaver.c
        gnome-settings-daemon/gnome-settings-sound.c
        gnome-settings-daemon/gnome-settings-xmodmap.c
        gnome-settings-daemon/gnome-settings-xrdb.c
        gnome-settings-daemon/gnome-settings-xsettings.c
        libbackground/applier.c libbackground/applier.h
        libbackground/preferences.c libsounds/sound-properties.c
        libsounds/sound-view.h libwindow-settings/gnome-wm-manager.c
        libwindow-settings/metacity-window-manager.c
        typing-break/drw-break-window.c typing-break/drw-utils.h
        typing-break/drwright.c vfs-methods/fontilus/font-view.c
        vfs-methods/themus/themus-theme-applier.c:
        Cleanup of gconf and a few other things,
        patch from Kjartan Maraas <kmaraas@gnome.org> (Closes: #301945).
2005-05-22 15:46:45 +00:00
James Henstridge
2a7bec1ecb update the desktop file database on install, since we install a new mime
2004-12-10  James Henstridge  <james@jamesh.id.au>

    * Makefile.am (install-desktop-database): update the desktop file
    database on install, since we install a new mime action.

    * font-view.c (get_font): don't free the pattern when creating the
    font object, since XftFontOpenPattern takes ownership of the
    pattern.

    * gnome-font-viewer.desktop.in.in (Exec): use %u instead of %U,
    since we only support openning one file.
2004-12-10 09:51:25 +00:00
James Henstridge
f33e58be23 apply Federic Zhang <federic.zhang@sun.com>'s patch to speed up loading of
2004-11-28  James Henstridge  <james@jamesh.id.au>

	* font-view.c: apply Federic Zhang <federic.zhang@sun.com>'s patch
	to speed up loading of large (eg. CJK) fonts, plus a few small bug
	fixes.  Fixes bug #142878.
	(set_icon): use gtk_window_set_icon_name() to set the icon.  Also,
	get the correct icon theme object for the window's screen.
2004-11-28 09:34:50 +00:00
James Henstridge
ebd8e46d44 use GNOMELOCALEDIR.
2004-11-28  James Henstridge  <james@jamesh.id.au>

	* vfs-methods/themus/themus-properties-main.c: use GNOMELOCALEDIR.

	* vfs-methods/themus/Makefile.am: similar changes to the fontilus
	ones.

	* vfs-methods/fontilus/fontilus-context-menu.c: same here.

	* vfs-methods/fontilus/font-view.c: use GNOMELOCALEDIR rather than
	FONTILUS_LOCALEDIR in the bindtextdomain() call, to match the rest
	of gnome-control-center.

	* vfs-methods/fontilus/Makefile.am: similar schema and desktop
	file fixes.  Don't include the old mime files in the dist.

	* schemas/Makefile.am: remove .schemas files on clean, when
	installing schemas, look for them in builddir rather than srcdir.

	* gnome-settings-daemon/actions/Makefile.am: fix up build rules so
	that ALSA_CFLAGS isn't defined multiple times (use the newer
	automake += syntax).

	* control-center/Makefile.am: distribute $(icon_DATA).

	* capplets/*/Makefile.am: put the .desktop and .desktop.in files
	in CLEANFILES.  The .desktop.in.in file gets included because it
	is listed in the configure script.

	* configure.in: update configure script, and remove macro calls
	that are not needed by modern versions of Automake.

	* Makefile.am: remove intltool files on distclean.

	* autogen.sh: request Automake >= 1.7.
2004-11-28 08:14:05 +00:00
Jody Goldberg
513acb43af http://bugzilla.gnome.org/show_bug.cgi?id=140342 patched to use argv[0]
2004-05-16  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=140342
	* font-view.c (main) : patched to use argv[0] rather than hard coding
	  things.  Additionally marked the string for translation.
2004-05-17 02:49:53 +00:00
Jody Goldberg
9a9008178d merge and update patch from
http://bugzilla.gnome.org/show_bug.cgi?id=134895
2004-03-31 21:30:23 +00:00
James Henstridge
5992c48c1f bonobo activation server file for the fontilus component.
2003-02-02  James Henstridge  <james@daa.com.au>

    * src/fontilus.server.in.in: bonobo activation server file for the
    fontilus component.

    * src/fontilus-context-menu.c: Bonobo listener component to
    implement custom context menu items for fonts under fonts:///,
    which allows us to set the default font for the desktop.
2003-02-02 15:06:29 +00:00
James Henstridge
ff051fce67 set the icon on the window based on the file type.
2003-01-15  James Henstridge  <james@daa.com.au>

    * src/font-view.c (set_icon): set the icon on the window based on
    the file type.
2003-01-15 16:36:16 +00:00
James Henstridge
b8932bf738 refactor so that it creates a pixmap big enough to display everything.
2003-01-13  James Henstridge  <james@daa.com.au>

    * src/font-view.c (create_text_pixmap): refactor so that it
    creates a pixmap big enough to display everything.
    (main): make the window resizable, and add font preview to a
    scrolled window.
2003-01-13 13:46:05 +00:00
James Henstridge
6fb226616a add news items.
2003-01-09  James Henstridge  <james@daa.com.au>

    * NEWS: add news items.

    * src/fontilus.mime: ttc files are True Types.

    * src/*.c: update copyright messages.
2003-01-09 15:53:31 +00:00
James Henstridge
1634f6307b actually turn on internationalisation.
2002-12-28  James Henstridge  <james@daa.com.au>

    * src/font-view.c (main): actually turn on internationalisation.
2002-12-28 01:27:42 +00:00
James Henstridge
a9a5600915 add news items.
2002-12-12  James Henstridge  <james@daa.com.au>

    * NEWS: add news items.

    * configure.in: update version number.
2002-12-12 16:16:09 +00:00
James Henstridge
a2e58796d8 only display Type1 font information if it is valid UTF-8.
2002-12-10  James Henstridge  <james@daa.com.au>

    * src/font-view.c (add_face_info): only display Type1 font
    information if it is valid UTF-8.
2002-12-10 02:35:24 +00:00
James Henstridge
a9a963aec7 handle multiline text. (add_face_info): add some extra information found
2002-12-09  James Henstridge  <james@daa.com.au>

    * src/font-view.c (add_row): handle multiline text.
    (add_face_info): add some extra information found in SFNT or Type1
    fonts.
    (create_text_pixmap): change the font output.

2002-12-06  James Henstridge  <james@daa.com.au>

    * src/ftstream-vfs.c (FT_New_Face_From_URI): if the URI looks
    local, bypass gnome-vfs to open the face (small optimisation).

    * src/font-view.c (create_text_pixmap): only display the font at
    its fixed sizes if it is not scalable.  Before we were ignoring
    the outlines on fonts such as Lucida Console, which includes both
    outlines and bitmaps for small sizes.
2002-12-09 14:30:07 +00:00
James Henstridge
76b15956a5 only display the font at its fixed sizes if it is not scalable. Before we
2002-12-06  James Henstridge  <james@daa.com.au>

    * src/font-view.c (create_text_pixmap): only display the font at
    its fixed sizes if it is not scalable.  Before we were ignoring
    the outlines on fonts such as Lucida Console, which includes both
    outlines and bitmaps for small sizes.
2002-12-06 08:59:05 +00:00
James Henstridge
1174a5b0a9 set gnome-font-viewer as default app for type1, ttf and pcf fonts.
2002-12-05  James Henstridge  <james@daa.com.au>

    * src/fontilus.keys: set gnome-font-viewer as default app for
    type1, ttf and pcf fonts.

    * src/fontilus.applications: add application registry file for
    gnome-font-viewer.  Set it to accept URIs in file:/// and
    fonts:///.  It supports others though ...

    * src/Makefile.am: change executable names, and install them.

    * src/font-view.c (main): add an "in" shadow round the rendered text.
2002-12-05 15:47:45 +00:00
James Henstridge
d46f05cc6c move text drawing into separate function. (create_text_pixmap): handle
2002-12-05  James Henstridge  <james@daa.com.au>

    * src/font-view.c (draw_text): move text drawing into separate
    function.
    (create_text_pixmap): handle bitmap fonts by drawing the test
    string at the correct size(s).
    (add_face_info): display some information about the font.
2002-12-05 12:51:45 +00:00
James Henstridge
fad0b07622 change so that it renders the text at a number of different sizes, like
2002-12-05  James Henstridge  <james@daa.com.au>

    * src/font-view.c (main): change so that it renders the text at a
    number of different sizes, like fontcarton did.  Need to show some
    info about the font too ...
2002-12-05 02:12:12 +00:00
James Henstridge
d7588388ec (main): don't use Xft's FT_Library handle, since it is underscore
prefixed.  The real problem is that XftInitFtLibrary() wasn't
    getting called.
2002-12-04 15:42:51 +00:00
James Henstridge
9f2d67d4d0 get font to render correctly. Things work fine now that I am using the
2002-12-04  James Henstridge  <james@daa.com.au>

    * src/font-view.c (main): get font to render correctly.  Things
    work fine now that I am using the same FT_Library handle as Xft
    was ...
2002-12-04 15:29:28 +00:00
James Henstridge
2f4b9395dc start of simple font viewer program. Doesn't correctl display the text yet
2002-12-04  James Henstridge  <james@daa.com.au>

    * src/font-view.c (main): start of simple font viewer program.
    Doesn't correctl display the text yet though :(

    * src/ftstream-vfs.c (FT_New_Face_From_URI): rename function to
    match naming scheme used elsewhere.
2002-12-04 05:40:24 +00:00