Commit graph

162 commits

Author SHA1 Message Date
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
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
dd78dff000 unset the FT_FACE_FLAG_EXTERNAL_STREAM flag on the face, so that it gets
2002-12-02  James Henstridge  <james@daa.com.au>

    * 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 08:07:44 +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
627140fc04 some makefile changes 2002-12-01 15:22:27 +00:00
James Henstridge
1abf43c039 include ".directory" in the directory listing. (do_open): handle
2002-12-01  James Henstridge  <james@daa.com.au>

    * src/font-method.c (do_read_directory): include ".directory" in
    the directory listing.
    (do_open): handle "/.directory".
    (do_get_file_info): handle "/.directory".
    (do_is_local): handle "/.directory".
2002-12-01 15:07:36 +00:00
James Henstridge
01f3ccb167 install font-method.conf 2002-12-01 13:59:26 +00:00
James Henstridge
92e7e7a7ff initial checkin 2002-12-01 13:52:09 +00:00