2000-03-26  Miguel de Icaza  <miguel@gnu.org>

	* gnome-print-preview.c (gpp_finalize): Now I understand the
	problem.  gpp_finalize might be called when the canvas has already
	destroyed all of our canvas items.  So now we catch this
	condition, and avoid destroying the subobjects if they are already
	gone. 

2000-03-26  Chema Celorio  <chema@celorio.com>

	* gnome-print-ps.c (gnome_print_ps_reencode_font): Added
	function to reencode fonts with isoLatin1Encoding
	(gnome_print_ps_setfont): Reencode every time that the
	app asks for a new font.

	* gt1-parset1.c (gt1_load_font): 
	(gt1_load_font): Changed the encoding tables to support isoLatinEncoding.
	This is just a temp thing before we implement Unicode Encoding.
	
2000-03-25  Michael Meeks  <michael@helixcode.com>

	* gt1-parset1.c: include glib.h & lots more libart bits.
	(gt1_unload_font, gt1_load_font): Add Glyph outline hash setup / teardown.
	(art_drect_bpath): move here from hack-text.c
	(glyph_outline_hash, glyph_outline_equal, gt1_glyph_outline_lookup): implement.

	* gnome-canvas-hacktext.c (GnomeCanvasHacktextCharInfo): Kill.
	(gnome_canvas_hacktext_get_info): drasticaly simplify.
	(art_drect_bpath): move to gt1-parset1.c
	(gnome_canvas_hacktext_point): fix leaking svps.

	* parseAFM.h (TRUE, FALSE): Add undefs to not conflict with glib.

2000-03-24  Michael Meeks  <michael@helixcode.com>

	* gnome-canvas-hacktext.c (gnome_canvas_hacktext_init): kill bpath cache.
	(gnome_canvas_hacktext_destroy): ditto.
	(gnome_canvas_hacktext_get_info): re-write to not use cache & be simpler.
	(GnomeCanvasHacktextPriv): Kill the info cache.
	(gnome_canvas_hacktext_req_repaint, art_drect_hacktext),
	(gnome_canvas_hacktext_point, gnome_canvas_hacktext_req_repaint): update
	to non-pointer use of get_info.

2000-03-06  Michael Meeks  <michael@helixcode.com>

	* gnome-print-preview.c (gpp_stroke, gpp_strokepath, gpp_fill),
	(gpp_image, gpp_show): render into the GraphicContext's group.
	(GraphicContext): Add group. (gpp_gsave): Create a new group.
	(gnome_print_preview_construct): setup base group. (gpp_showpage):
	ditto; duplicated.

2000-03-25  Larry Ewing  <lewing@helixcode.com>

	* gnome-print-preview.c (gpp_show): use the current position along
	the path, rather than unconditionally using the first control
	point.

2000-03-23  Miguel de Icaza  <miguel@helixcode.com>

	* gnome-print-preview.c (gpp_finalize): Replace destroys I just
	introduced with unrefs.
	
	(gpp_finalize): Fix bug.  Michael: yes,
	the Canvas will destroy those items when it is destroyed, but we
	need to destroy them as well, as the user might want just the
	gnome-canvas-item object to go away, not the entire canvas (ie,
	create an object and later remove it).

2000-03-21  Jody Goldberg <jgoldberg@home.com>

	* gnome-font.c (create_display_font) : round the scaled font size
	  upwards.
	(gnome_get_display_font) : Ditto.

2000-03-01  Chema Celorio  <chema_gnome@celorio.com>

	* gnome-print-ps.c (gnome_print_ps_setfont_raw): Should consider
	grestore and gsave when testing if the default font has changed.

2000-03-01  Michael Meeks  <michael@helixcode.com>

	* gnome-font.c (gnome_display_font_height): implement.

2000-02-28  Federico Mena Quintero  <federico@helixcode.com>

	* gnome-print.c (gnome_print_context_new_with_paper_size): Add
	preconditions.
	(gnome_print_context_new): Likewise.
	(gnome_print_newpath): Likewise.
	(gnome_print_moveto): Likewise.
	(gnome_print_lineto): Likewise.
	(gnome_print_curveto): Likewise.
	(gnome_print_closepath): Likewise.
	(gnome_print_setrgbcolor): Likewise.
	(gnome_print_fill): Likewise.
	(gnome_print_eofill): Likewise.
	(gnome_print_setlinewidth): Likewise.
	(gnome_print_setmiterlimit): Likewise.
	(gnome_print_setlinejoin): Likewise.
	(gnome_print_setlinecap): Likewise.
	(gnome_print_setdash): Likewise.
	(gnome_print_strokepath): Likewise.
	(gnome_print_stroke): Likewise.
	(gnome_print_setfont): Likewise.
	(gnome_print_show): Likewise.
	(gnome_print_concat): Likewise.
	(gnome_print_setmatrix): Likewise.
	(gnome_print_gsave): Likewise.
	(gnome_print_grestore): Likewise.
	(gnome_print_clip): Likewise.
	(gnome_print_eoclip): Likewise.
	(gnome_print_grayimage): Likewise.
	(gnome_print_rgbimage): Likewise.
	(gnome_print_textline): Likewise.
	(gnome_print_showpage): Likewise.
	(gnome_print_setopacity): Likewise.
	(gnome_print_context_close): Likewise.
	(gnome_print_scale): Likewise.
	(gnome_print_rotate): Likewise.
	(gnome_print_translate): Likewise.
	(gnome_print_context_open_file): Likewise.

2000-02-24  Morten Welinder  <terra@diku.dk>

	* gnome-print-preview.c (gpp_finalize): Avoid destroying freed
 	stuff.  (Per NotZed's instructions.)

2000-02-24  NotZed  <NotZed@HelixCode.com>

	* gnome-print-meta.c (locate_page_header): Fix for uninitlialized
	variable access.

2000-02-22  Morten Welinder  <terra@diku.dk>

	* parseAFM.c (parseFileFree): Fixed embarrasing bogus linked list
 	code.
	* gnome-font.c (gnome_font_load_afm): Use parseFileFree to get rid
 	of fi.  (Plugs a couple of leaks.)
	* gnome-print-meta.c (close_page_header): Avoid unaligned access
 	as it will blow up on Sparc.
	* gnome-print-meta.c (meta_close): Ditto.

2000-02-21  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gnome-print.h: Move libart headers here.

2000-02-21  Lauris Kaplinski <lauris@ariman.ee>

	* gnome-print.h, gnome-print.c (gnome_print_bpath,
	gnome_print_vpath): New functions.

2000-02-11  Miguel de Icaza  <miguel@gnu.org>

	* gnome-print-preview.c (gpp_setopacity): Implement and set the
	opacity value.

	* gnome-print.c (gnome_print_setopacity): Implement new method.

	* gnome-print-ps.c (gnome_print_ps_setopacity): New method.

2000-02-02  Christopher James Lahey  <clahey@helixcode.com>

	* gnome-font.h, gnome-font.c (gnome_font_load_afm): Switched the
	sign of the descender as people expect a descender below the line
	to have a positive value.
	(gnome_font_get_underline_position,
	gnome_font_get_underline_thickness): Added underline information
	to the set of information provided from the afm file.
	(gnome_font_new_from_full_name, gnome_font_get_full_name): These
	functions create a new font given a descriptor string and return a
	descriptor string for a given font, respectively.  The descriptor
	is currently the font name followed by a space followed by the
	size, though it may be expanded in the future.  This should be a
	way of predictably storing a reference to a font as a string in a
	file.
	
2000-01-25  Christopher James Lahey  <clahey@helixcode.com>

	* gnome-print-multipage.h, gnome-print-multipage.c: Added a
	multipage print context that puts multiple conceptual pages on a
	single output page.

	* gnome-font.h, gnome-font.c: Added descender information to
	gnome-font.  Queryable from gnome_font_get_descender or
	gnome_font_get_ascender or from gtk_object_get with the "ascender"
	or "descender" arguments which are doubles.

	* Makefile.am: Added gnome-print-multipage.c and
	gnome-print-multipage.h

2000-01-23  NotZed  <notzed@zedzone.helixcode.com>

	* gnome-print-master-preview.c (preview_canvas_button_press):
	Removed modes no longer implemented.
	(preview_zoom_in_cmd, preview_zoom_out_cmd): Do an immediate zoom,
	rather than changing mode.
	(preview_zoom_fit_cmd): Fits page to the window size.
	(preview_zoom_fit_wide_cmd): Fits page width to the window size.
	(preview_zoom_fit_tall_cmd): Fits page height to the window size.
	(preview_canvas_key): Implements a keyboard interface.
	(create_preview_canvas): Listen for key	presses.
	(stock_zoom_*): New, improved icons, from/in the style of EOG.
	(create_preview_canvas): Force focus of canvas.

2000-01-21  Christopher James Lahey  <clahey@helixcode.com>

	* gnome-print-dialog.h: Fixed a typo.

	* gnome-print-master.h, gnome-print-master.c
	(gnome_print_master_new_from_dialog): Added this convience
	function to automatically pull values from a GnomePrintDialog.
	This should change as options are added to the GnomePrintDialog,
	and thus this function should be used.  Range must be pulled
	manually since it's so application dependent.

2000-01-17  Michael Zucchi  <zucchi@zedzone.mmc.com.au>

	* gnome-font.c (find_best_x_font): #if 0'd out a block of
	variables used by #if 0'd out blocks of code.

	* gnome-print-copies.c (collate_toggled): const char ** -> char **
	cast.

	* gnome-print-dialog.c (gnome_print_dialog_get_printer): Fixed up
	another silly cast.

	* gnome-print-meta.c (encode_page_header): Fixed up a silly cast
	(i think the result of some changes which were backed out).
	(meta_close): Removed some unused variables.
	(gnome_print_meta_access_buffer): Fixed a another silly (but more
	serious) bug.
	(encode_int): Fixed most warnings from autogenerated code ...
	Changed to accept a PrintContext, and cast to PrintMeta itself.

2000-01-11  Michael Zucchi  <zucchi@zedzone.mmc.com.au>

	* Makefile.am (libgnomeprint_la_SOURCES): Added
	gnome-print-master.c master-preview.c, dialog.c and copies.c
	(libgnomeprintinc_HEADERS): Same, for .h files.

	* gnome-print-dialogue.h: New dialogue, allows app to ask user
	standard questiongs about printing.

	* gnome-print-copies.[ch]: New widget, allows user to specify
	print copies/collation using a standard interface.

2000-01-10  Michael Zucchi  <zucchi@zedzone.mmc.com.au>

	* gnome-print-master-preview.c (gnome_print_master_preview_new):
	New widget, preview window.

	* gnome-print-master.c: New object.  Creates an object to maintain
	a print job, preview or to printer.

2000-01-08  Michael Zucchi  <zucchi@zedzone.mmc.com.au>

	* gnome-print-meta.c (gnome_print_meta_finalize): Free private
	data.
	(check_room): Checks for room in the output buffer, and grows as
	necessary.
	(encode_block): Calls check_room() instead of growing itself.
	(encode_int_header): Renamed from encode_int, encodes an int with
	a fixed size.
	(encode_int): New function, encodes an int, packing into less
	bytes if it can (7 bits/byte).  All opcodes encode in 1 byte now.
	(encode_header): New function, encodes the file header.  Now the
	file header is stored in network byte order too.
	(close_page_header): New function, backtracks to the last page
	header and sets the size of the page.
	(encode_page_header): New function, encodes a page header, after
	closing off the last one.
	(meta_showpage): Encodes a page header after every page.
	(meta_close): Encodes a closing page header with the last page
	(size=-1), after the META_CLOSE.  And set the file size using
	network byte order.
	(gnome_print_meta_init): Allocate and initialise private data, and
	setup initial page header.
	(gnome_print_meta_new_from): Use decode_header to get the header
	from the data stream.
	(gnome_print_meta_access_buffer): Use current, rather than
	buffer_size, current is the actual data size!!  And set the
	filesize network byte order.
	(gnome_print_meta_get_copy): Likewise.
	(decode_int_header): Renamed from decode_int, decodes a fixed
	length int.
	(decode_int): New function, decodes a variable lenght int.
	(decode_image): Removed the do_output flag.
	(decode_header): New function, decodes a header back into a
	struct.
	(decode_page_header): Same, for page headers.
	(locate_page_header): New function, find the page header
	corresponding to a given page number.
	(do_render): Now is told how many pages to print.  It prints all
	pages in its data stream, until this page count is reached.  Hence
	removed the do_output logic, this also fixed a bug where
	superfluous showpage's and other commands from earlier pages would
	be output when trying to output a specific page.
	(gnome_print_meta_render): Decoder header properly, and fix data
	offsets.
	(gnome_print_meta_render_page): Use locate_page_header() to find
	the right page, and fix call to do_render appropriately.
	(meta_close): Actually, dont save a page header here, it is not
	required, do not set the page size either.
	
2000-01-04  Miguel de Icaza  <miguel@gnu.org>

	* gnome-print-preview.c (gpp_gsave): Ref the font on gsave.

1999-10-30  Larry Ewing  <lewing@gimp.org>

	* gnome-font.c: add missing include of <gnome-xml/xmlmemory.h>.

1999-10-30  Larry Ewing  <lewing@gimp.org>

	* gnome-canvas-hacktext.c (art_drect_hacktext): use libart affine
	funtions.
	gnome_canvas_hacktext_init): ditto.

	* gnome-print-preview.c (gpp_show): clean up the affine code to
	use the libart functions where appropriate.

	* gnome-font.c (xmlGetValue): xmlFree the values returned by
	libxml.
	
1999-10-29  Morten Welinder  <terra@diku.dk>

	* gnome-canvas-hacktext.c (get_bounds_canvas): Don't use C++
 	comments.  (Bug 3014.)

	* gnome-printer-profile.c: Include alloca.h.  (Bug 3040.)

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

	* gnome-print-preview.c (gc_clear_bpath): Do not free an empty
	bezier path.

1999-10-09  Morten Welinder  <terra@diku.dk>

	* gt1-namecontext.c (gt1_name_context_hash_func): Constify.
	(gt1_name_context_hash_func_size): Constify.
	(gt1_name_context_strdup): Constify.
	(gt1_name_context_streq_size): Constify.
	(gt1_name_context_strdup_size): Constify.
	(gt1_name_context_intern): Constify.
	(gt1_name_context_intern_size): Constify.

	* gnome-text.c (font_list_tab, font_family_tab, font_tab): static.

	* gnome-printer-profile.c (gnome_printer_load_profiles_from):
 	Constify.
	(gnome_printer_load_profiles_from_dir): Constify.
	(gnome_printer_create): Constify.
	(gnome_printer_profile_get_printer): Constify.

	* gnome-printer-dialog.c (label_at): Constify.

	* gnome-print.c (gnome_print_setdash): Constify.
	(gnome_print_concat): Constify.
	(gnome_print_setmatrix): Constify.
	(gnome_print_grayimage): Constify.
	(gnome_print_rgbimage): Constify.

	* gnome-print-preview.c (gc_set_dash): Constify.
	(gpp_setdash): Constify.
	(gpp_grayimage): Constify.
	(gpp_rgbimage): Constify.
	(gpp_image): Constify.
	(gpp_concat): Constify.
	(gpp_setmatrix): Constify.

	* gnome-print-ps.c (gnome_print_ps_setdash): Constify.
	(gnome_print_ps_concat): Constify.
	(gnome_print_ps_setmatrix): Constify.
	(gnome_print_ps_grayimage): Constify.
	(gnome_print_ps_rgbimage): Constify.
	(gnome_print_ps_image): Constify.

	* gnome-print-meta.c (gnome_print_meta_render): Constify.
	(gnome_print_meta_render_page): Constify.
	(gnome_print_meta_pages): Constify.
	(gnome_print_meta_render_from_object_page): Constify.
	(gnome_print_meta_render_from_object): Constify.
	(gnome_print_meta_new_from): Constify.
	(encode_image): Constify.
	(meta_grayimage): Constify.
	(meta_rgbimage): Constify.
	(meta_setmatrix): Constify.
	(meta_concat): Constify.
	(meta_setdash): Constify.

1999-10-09  Morten Welinder  <terra@diku.dk>

	* gnome-print-ps.c (gnome_print_ps_setfont_raw): Make a copy of
 	the fontname.
	(gnome_print_ps_setfont): Ditto.
	(gnome_print_ps_finalize): Free name copies.

	* gnome-font.c (gnome_font_family_hash,
 	gnome_font_family_the_list): static.
	(gnome_font_unsized_get_name): Constify.
	(gnome_font_unsized_get_glyph_name): Constify.
	(gnome_font_get_name): Constify.
	(gnome_font_get_glyph_name): Constify.
	(gnome_font_unsized_get_pfa): Constify.
	(gnome_font_get_pfa): Constify.
	(gnome_font_get_width): Constify.
	(gnome_font_unsized_get_width): Constify.
	(gnome_font_get_width_string): Constify.
	(gnome_font_get_width_string_n): Constify.
	(gnome_font_unsized_get_glyph): Constify.
	(gnome_font_get_glyph): Constify.
	(gnome_font_kern): Constify.
	(gnome_font_unsized_kern): Constify.
	(gnome_font_family_to_x_name): Static.
	(gnome_font_x_name_to_family): Static.

	* gnome-print.c (gnome_print_context_new_with_paper_size): Handle
 	failures without issuing warnings.

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

	* gnome-print-ps.c (gnome_print_ps_new): Handle failures such as
 	cannot write ps-file.

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

	* gnome-print-ps.h (struct _GnomePrintPs): New member
 	current_gnome_font.

	* gnome-print-ps.c (gnome_print_ps_image): One static is enough.
	(gnome_print_ps_show): Handle non-ascii characters.
	(gnome_print_ps_setfont): Save the actual font.
	(gnome_print_ps_finalize): Plug leak.

	* gnome-text.c (gnome_text_intern_font): Static.
	(gnome_text_intern_font_family): Static.

	* gnome-print-pixbuf.c (gpix_class_init): Correct cast.

	* gt1-parset1.c (tokenize_get): Use unsigned characters (since
 	isdigit and friends require that).
	(tokenize_get_hex_byte): Ditto.
	(parse_num): Ditto.  Also use the right sign.

	* gnome-print-preview.c (fetch_font): Constify.

1999-10-08  Jody Goldberg <jgoldberg@home.com>

	* gnome-printer.h : Correct typo.

1999-09-25  Morten Welinder  <terra@diku.dk>

	* gnome-canvas-hacktext.c (art_drect_hacktext): Static.
	(gnome_canvas_hacktext_point): Initialise dist.
	(recalc_bounds): #if 0.

	* gnome-canvas-hacktext.c (art_drect_hacktext): Use unsigned
 	characters.
	(gnome_canvas_hacktext_point): Ditto.
	(gnome_canvas_hacktext_render): Ditto.

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

	* gnome-canvas-hacktext.c (gnome_canvas_hacktext_point): Return
	the proper value here (0.0 means "Point is inside me").

1999-09-24  Morten Welinder  <terra@diku.dk>

	* gnome-canvas-bpath.c (gnome_canvas_bpath_destroy): Plug leak.

	* parseAFM.c (parseFile): Plug leak.
	(parseFileFree): New function.

	* gt1-parset1.c (gt1_unload_font): Call parseFileFree.

1999-09-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gnome-print-meta.c: Add error checking for the condition of size
	not have been set.

	* gnome-print-preview.c (gpp_showpage): Drop the current affine
	and the current path at showpage time
	(gpp_show): Removed debugging messages.

1999-09-18  Morten Welinder  <terra@diku.dk>

	* gnome-printer-dialog.c (gnome_printer_widget_get_printer): Plug leak.
	(set_profile): Plug leak.

	* gt1-parset1.c (tokenize_free): New function.
	(gt1_load_font): Plug leaks.  Constify.
	(tokenize_new, tokenize_new_from_mystring, read_int32_lsb,
 	tokenize_get, tokenize_get_hex_byte, tokenize_get_raw,
 	convert_glyph_code_to_begt1_path, array_new, parse_num,
 	gt1_dict_stack_lookup, get_stack_number, get_stack_dict,
 	get_stack_name, get_stack_file, get_stack_string, get_stack_array,
 	get_stack_bool, get_stack_proc, pscontext_new, charstring_decrypt,
 	print_glyph_code, get_subr_body, munch_font_info): Static.
	(pscontext_free): New function.
	(gt1_unload_font): New function.
	(gt1_load_font): Plug file leak.
	(free_munched_font_info): New function.
	(internal_closefile): Plug leak.

	* gnome-print-preview.c (kill_font): Unload the font.

	* gnome-canvas-hacktext.c (gnome_canvas_hacktext_init): Initialise
 	affine transformation.
	(gnome_canvas_hacktext_destroy): Plug this leak again.
	(gnome_canvas_hacktext_point): Always return a value.

1999-09-12  Michael Meeks  <michael@nuclecu.unam.mx>

	* gnome-print.c (gnome_print_context_close_file): Use opposite close &
	NULL pointer.

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

	* gnome-print-preview.c (gpp_finalize): Plug leak.

	* gnome-canvas-hacktext.c (gnome_canvas_hacktext_destroy): Plug leak.
	* gnome-canvas-hacktext.c (gnome_canvas_hacktext_get_info): Prototype.

	* gt1-parset1.c (gt1_load_font): Plug leaks.
	(internal_eexec): Plug leak.

1999-09-03  Morten Welinder  <terra@diku.dk>

	* gnome-print-meta.c (decode_double): Constify.  Ansify.
	(decode_int): Ditto.
	(decode_image): Constify.
	(do_render): Ditto.

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

	* gnome-print-preview.c (gpp_finalize): Destroy instead of unref.

	* gnome-font.c: Only invoke the XML loading functions on existing
	files. 

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

	* gnome-print-meta.c (do_render): Removed warning.

	* gnome-print-preview.c (gpp_finalize): Only destroy the hash
	table if it was defined.  Release the hash table here.

	* gnome-print-meta.h: Added private field.

	* gnome-print-meta.c (do_render): Modified to render only one page
	if requested.
	(gnome_print_meta_render_from_object_page): New api entry point.
	(gnome_print_meta_render_page): New api entry point.

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

	* gnome-print-preview.c (gpp_stroke, gpp_strokepath, gpp_fill,
	gpp_image, gpp_show, lazy_showpage_check): Added lazy showpage
	support, so that the page is not hidden until the generation of
	the next page starts.  This is just to enable sample applications
	to not have to use the job control interface unless they are big
	applications. 

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 "...".
