1999-08-27  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gnome-print-pixbuf.c (gpix_print_band): Use GnomePrintContext's
	output device here instead of our own output device.

	* gnome-print-ps.c (gnome_print_ps_new): Documented, added
	paper_size argument

1999-08-26  Miguel de Icaza  <miguel@gnu.org>

	* gnome-print-preview.c (gpp_image): Move source++ inside this
	loop.  This fixes gray images.
	(gpp_image): tricky, very trikcy:  Use the image anchor, first
	flip the image, then apply both current affine and then the page affine.

1999-08-25  Miguel de Icaza  <miguel@gnu.org>

	* gnome-print-rgbp.c (gnome_print_rgbp_construct): Set the proper
	proportion for dpi values. 

	* gnome-print-preview.c (gpp_show): The x and y should take into
	account the pixels per unit of the canvas.  Makes preview work
	with zooming.

	* gnome-print-rgbp.c: Use dpis instead of the hardcoded 1.0 value.

1999-08-20  Miguel de Icaza  <miguel@gnu.org>

	* gnome-print-preview.c (gpp_grestore): Use glist correctly.
	(gpp_show): Invert the angle as the canvas coordinate system is
	inverted in this regard.
	(gnome_print_preview_construct): Fix preconditionals.

	Documented the GnomePrintPreview and GnomePrintPreviewJob APIs.

	* gnome-print-rgbp.c: New file.  Driver that uses the
	gnome-print-preview driver to render to an RGB buffer.

	* gnome-print-pixbuf.c: New file.  Driver that dumps an RGB file,
	a subclass of the gnome-print-rgbp.c
	
	* gnome-canvas-hacktext.c (gnome_canvas_hacktext_req_repaint,
	gnome_canvas_hacktext_render):  The translation was being computed
	using the projection of the x and y coordinates into account. 

	This makes text render properly, although I might have
	missunderstood something.

1999-08-16  Miguel de Icaza  <miguel@gnu.org>

	* gnome-print-preview.c (gpp_show): get fonts and show working.
	Something is wrong with the way I setup affines.  Now I can see
	:-).  This is tomorrow's material.

	(gnome_canvas_bpath_def_duplicate): New routine to duplicate a
	GnomeCanvasBpathDef. 
	(gpp_gsave): Use above routine.

	(gnome_print_preview_construct): Use
	translate, not scale to setup the page translation.
	Flip the page.
	(gpp_image): Put the image from (0.0,0.0) to (1.0,1.0).

1999-08-15  Miguel de Icaza  <miguel@gnu.org>

	* gnome-print-preview.c: Changed all return values of zero to -1
	to indicate an error condition.
	(GraphicContext): move the bpath here as it is part of the context.
	(gpp_gsave): Duplicate the bpath here;  Duplicate base context
	(gpp_restore): Pop context.
	(gpp_concat): Create new context here as well.

1999-08-13  Miguel de Icaza  <miguel@gnu.org>

	* gnome-print-preview.c: New file.  Implements a print-preview
	context. 
	
	* gnome-print-ps.c: Made all internal functions static.

1999-08-08  Morten Welinder  <terra@diku.dk>

	* gnome-font.c (gnome_font_unsized_closest): Quiet.
	(gnome_font_new_closest): Quiet.
	(create_display_font): Plug leak.

1999-07-11  Miguel de Icaza  <miguel@gnu.org>

	* gnome-font.c (gnome_font_list): Use g_list_prepend instead of
	g_list_append and reverse the result.

	* Eliminate "b" flag from fopen, that is not supported by Spec
	11whatever

1999-07-07  Miguel de Icaza  <miguel@gnu.org>

	* gnome-font.c (gnome_font_unsized_get_pfa): Added some inline api
	docs.

1999-07-08  Havoc Pennington  <hp@pobox.com>

	* gnome-font.c (create_display_font): Don't warn if wpdf->gdk_font
	== NULL, because that's allowed to happen.

1999-07-07  Jody Goldberg  <jgoldberg@home.com>

	* gnome-font.[ch] (gnome_font_get_width_string_n) : New function.

1999-07-05  Morten Welinder  <terra@diku.dk>

	* gnome-font.c (gnome_get_display_font): Don't pretend it is a
 	catastrophe if we don't have a font.

	* gnome-text.c (gnome_text_layout_new): Constify.

	* gnome-font.c (gnome_font_family_to_x_name): Constify.
	(gnome_font_weight_to_string): Constify.
	(gnome_font_x_name_to_family): Constify.
	(string_to_gnome_font_weight): Constify.
	(find_best_x_weight): Constify.
	(find_best_x_font): Constify.
	(create_display_font): Constify.
	(getFontComponent): Constify.
	(getFontFoundry): Constify.
	(getFontFamily): Constify.
	(getFontWeight): Constify.
	(getGnomeFontWeight): Constify.
	(getFontSlant): Constify.
	(fontIsItalic): Constify.
	(getFontSWidth): Constify.
	(getFontAdStyle): Constify.
	(getFontPixelSize): Constify.
	(getFontPointSize): Constify.
	(getFontResolutionX): Constify.
	(getFontResolutionY): Constify.
	(getFontSpace): Constify.
	(getFontAverageWidth): Constify.
	(getFontRegistry): Constify.
	(getFontEncoding): Constify.
	(setFontFoundry): Constify.
	(setFontFamily): Constify.
	(setFontWeight): Constify.
	(setFontSlant): Constify.
	(setFontSWidth): Constify.
	(setFontAdStyle): Constify.
	(setFontPixelSize): Constify.
	(setFontPointSize): Constify.
	(setFontResolutionX): Constify.
	(setFontResolutionY): Constify.
	(setFontSpace): Constify.
	(setFontAverageWidth): Constify.
	(setFontRegistry): Constify.
	(setFontEncoding): Constify.
	(setComponentReplace): Constify.
	(initialize_hashes): Fix prototype: takes no arguments, not a
 	arbitrary list of arguments.  This is C, not C++.

	* gnome-font.h: #includes before C++ wrapping.

	* gnome-font.c (xmlGetValue): Fix leak.
	(gnome_font_load_afm): Fix huge leak.
	(gnome_font_load_fontmap): Fix unbelievable leak.
	(gnome_font_add_mapping): Constify.
	(gnome_font_find): Constify.
	(gnome_font_find_filename): Constify.
	(gnome_font_is_afm_file): Fix incorrect usage of tolower.
	(gnome_font_load_fontmap): Fix leak.
	(create_display_font): Fix leak.

1999-06-26  Chris Lahey  <clahey@umich.edu>

	* gnome-font.c (debugmsg): Made debugging messages be printed only
	if the GNOME_PRINT_DEBUG environment variable is set.

1999-06-18  Havoc Pennington  <hp@pobox.com>

	* gnome-print-ps.c (gnome_print_ps_setfont): Same problem as with
	colors - didn't consider gsave/grestore.

1999-06-18  Havoc Pennington  <hp@pobox.com>

	* gnome-print-ps.c (gnome_print_ps_setrgbcolor): The last color
	set is not necessarily the current color (gsave/grestore)

1999-05-26  Raja R Harinath  <harinath@cs.umn.edu>

	* Makefile.am (INCLUDES): Include $(top_srcdir).

1999-05-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gnome-font.c, gnome-font.h, gnome-font-dialog.c,
	gnome-font-dialog.h, gnome-print-meta.c, gnome-print-meta.h,
	gnome-print-meta.c, gnome-print-ps.c, gnome-print-ps.h,
	gnome-print.c, gnome-print.h, gnome-printer-dialog.c,
	gnome-printer-dialog.h, gnome-printer-profile.c, gnome-text.c,
	gnome-printer.c, gnome-printer.h : Use <libgnomeprint/*> headers
	instead of "...".
