Commit Graph

7 Commits

Author SHA1 Message Date
Manish Singh 3511123863 Query fontconfig directly for the font list, avoiding scanning the
2003-05-01  Manish Singh  <yosh@gimp.org>

        * app/text/gimpfontlist.c: Query fontconfig directly for the font
        list, avoiding scanning the internal fontconfig list over and over
        again. There are differences in the font list that the old and new
        code produce however. The new code will generate descriptions for
        more fonts, and some of the styles will be different. Also, pango
        font description strings aren't specific enough for all cases, so
        a font name may appear more than once in the list. I'm not sure
        how to solve this best, but this code is Good Enough (TM) for now.
2003-05-02 05:50:36 +00:00
Sven Neumann dafddf1639 require PangoFT2 >= 1.2.0.
2003-03-27  Sven Neumann  <sven@gimp.org>

	* configure.in: require PangoFT2 >= 1.2.0.

	* app/text/gimpfontlist.c: use the PangoFontMap API to list
	available fonts.
2003-03-27 15:52:25 +00:00
Sven Neumann bed3c858da added new function gimp_list_sort().
2003-03-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimplist.[ch]: added new function gimp_list_sort().

	* app/text/gimpfontlist.c (gimp_font_list_restore): sort the list
	after all fonts have been added instead of keeping the list in
	order while inserting
2003-03-27 14:11:05 +00:00
Sven Neumann dec7cae03e implemented gimp_font_list_restore().
2003-03-26  Sven Neumann  <sven@gimp.org>

	* app/text/gimpfontlist.c: implemented gimp_font_list_restore().
2003-03-25 23:41:01 +00:00
Sven Neumann 6763591e98 first draft of gimp_font_list_restore().
2003-03-26  Sven Neumann  <sven@gimp.org>

	* app/text/gimpfontlist.c: first draft of gimp_font_list_restore().
2003-03-25 23:24:30 +00:00
Michael Natterer c2a22d5d52 added gimp_font_list_restore() which loads the fonts (not yet).
2003-03-25  Michael Natterer  <mitch@gimp.org>

	* app/text/gimpfontlist.[ch]: added gimp_font_list_restore()
	which loads the fonts (not yet).

	* app/core/gimp.c: call it.

	* app/gui/dialogs-constructors.[ch]
	* app/gui/dialogs-menu.c
	* app/gui/dialogs.c
	* app/gui/image-menu.c
	* app/gui/toolbox-menu.c: added font list and grid views.

	* app/gui/menus.c: cosmetic.
2003-03-25 22:53:10 +00:00
Michael Natterer bc9676e462 app/text/Makefile.am app/text/text-types.h new GimpList subclass.
2003-03-25  Michael Natterer  <mitch@gimp.org>

	* app/text/Makefile.am
	* app/text/text-types.h
	* app/text/gimpfontlist.[ch]: new GimpList subclass. Unused...

	* app/text/gimpfont.[ch]: added gimp_font_get_standard().
2003-03-25 22:00:59 +00:00