2007-02-12 Christian Persch <chpe@svn.gnome.org>
* vfs-methods/fontilus/thumbnailer.c: (main): Use GOption argument
parsing here, and fix some leaks in the error paths. Bug #393994.
svn path=/trunk/; revision=7283
2007-01-07 Rob Staudinger <robert.staudinger@gmail.com>
Fixes#333557
* thumbnailer.c: added support for specifying string and font-size to
use in the thumbnailer.
svn path=/trunk/; revision=7088
2004-11-28 James Henstridge <james@jamesh.id.au>
* thumbnailer.c (main): use gnome_vfs_make_uri_from_shell_arg() to
parse the first argument.
(main): if the glyphs for 'A' and 'a' aren't found, pick some
other ones so we display something possibly relevant.
(draw_char): pass in a glyph index rather than a character.
2002-12-23 James Henstridge <james@daa.com.au>
* src/thumbnailer.c (main): get rid of unused variable.
* configure.in (GETTEXT_PACKAGE): turn on i18n stuff.
(CFLAGS): add -Wall to compile flags.
(*_LIBS): remove -export-dynamic from libs.
2002-12-10 James Henstridge <james@daa.com.au>
* src/ftstream-vfs.c (FT_New_Face_From_URI): get rid of the local
file optimisation. It didn't make a noticable difference for the
large Asian fonts.
* src/thumbnailer.c (main): set the charmap for the font before
rendering the glyphs. This fixes rendering of some fonts jdub
sent me.
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-02 James Henstridge <james@daa.com.au>
* src/thumbnailer.c (draw_char): split code for drawing character
into separate function.
(save_pixbuf): function to save the pixbuf. We crop the pixbuf
leaving PAD_PIXELS pixels round the edges.
* src/ftstream-vfs.c (FT_New_URI_Face): unset the
FT_FACE_FLAG_EXTERNAL_STREAM flag on the face, so that it gets
freed with the face. (this is a bit of a hack ...).
2002-12-02 James Henstridge <james@daa.com.au>
* src/thumbnailer.c (main): fix bound on for loop (gaaaargh).
(main): re-enable shutdown of the library
* src/Makefile.am (libfont_method_la_LIBADD): fix typo.
* src/ftstream-vfs.c (FT_New_URI_Face): FT_Stream is a pointer, so
sizeof(FT_Stram) gives the wrong result :(