Commit graph

5 commits

Author SHA1 Message Date
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
James Henstridge
0e36c2dc90 (draw_bitmap): handle monochrome bitmaps.
(main): don't error out if we can't set pixel size.
2002-12-02 15:36:13 +00:00
James Henstridge
01e468fc57 split code for drawing character into separate function. (save_pixbuf):
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 14:08:22 +00:00
James Henstridge
2f46bdaa37 fix bound on for loop (gaaaargh). (main): re-enable shutdown of the
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 :(
2002-12-02 07:31:30 +00:00
James Henstridge
92e7e7a7ff initial checkin 2002-12-01 13:52:09 +00:00