2001-12-14  Lauris Kaplinski  <lauris@ximian.com>

	* gpa-private.h: Added GNOME_PRINT_CONFIG_NODE private wrapper

	* gp-path.c: Some little fixes from gnome-print-1

	* gp-gc.c: Ported some little fixes from gnome-print-1

	* gnome-print.c (gnome_print_gsave): Do gsave before virtual method

	* gnome-print-paper.c: Added handful of useful units
	(gnome_print_unit_get_by_name): Parse by plural as well
	(gnome_print_unit_get_by_abbreviation): Ditto

	* gnome-print-multipage.c (gnome_print_multipage_clip): Do
	it the right way, now if objects are untransformed
	(gnome_print_multipage_fill): Ditto
	(gnome_print_multipage_stroke): Ditto
	(gnome_print_multipage_image): Ditto
	(gnome_print_multipage_glyphlist): Ditto
	(gnome_print_multipage_finish_page): New method, sends showpage,
	even if page is not completely filled
	(gnome_print_multipage_beginpage): Do gsave here
	(gnome_print_multipage_affine_list_duplicate): Cleanup

	* gnome-print-master.c (gnome_print_master_init): Initialize
	layout data
	(gnome_print_master_finalize): Clear layout data
	(gnome_print_master_get_pages): Calculate number of pages using
	parsed layout
	(gnome_print_master_get_page_size_from_config): New method,
	actually not GnomePrintMaster one, but belongs here for
	technical reasons
	(gnome_print_master_print): Print layout
	(gnome_print_master_render): New method, prints layout to arbitrary
	external context
	(gnome_print_master_render_page): Same as previous, but does
	only single page
	(gpm_update_layout_data): New helper
	(gnome_print_config_get_transform): Ditto
	(gpm_parse_config_data): Ditto
	(gpm_clear_config_data): Ditto
	(gpm_parse_transform): Ditto

	* gnome-print-master-private.h: Added private field for holding
	layout-specific data

	* gnome-print-config.h: Added handful of keys and some explanations

	* gnome-print-config.c (gnome_print_config_get_node): New strictly
	private (for libgnomeprintui) method
	(gnome_print_config_default): GnomePrintConfig is not real wrapper
	struct, not node typedef
	(gnome_print_config_ref): Ditto
	(gnome_print_config_unref): Ditto
	(gnome_print_config_get): Ditto
	(gnome_print_config_set): Ditto

	* gp-gc.c (gp_gc_moveto): Do transform twice - I do not know why,
	but for some reason first time gave me nan-s

2001-12-12  Lauris Kaplinski  <lauris@ximian.com>

	* gnome-print-meta.c (gnome_print_meta_get_pages): Add 1 to pagenum ;)

	* gnome-print.c (gnome_print_context_construct): Use GnmePrintConfig
	(gnome_print_context_new): Ditto
	(gnome_print_showpage): Clear page flag here

	* gnome-print-transport.c (gnome_print_transport_construct): Use
	GnomePrintConfig
	(gnome_print_transport_new): Ditto
	(gnome_print_transport_create): Ditto

	* gnome-print-ps2.c (gnome_print_ps2_new): Use GnomePrintConfig
	(gnome_print_ps2_construct): Get page dimensions using length

	* gnome-print-private.h: Use GnomePrintConfig instead of GPANode

	* gnome-print-paper.c: More unit types

	* gnome-print-config.c (gnome_print_config_get_length): New
	convenience method
	(gnome_print_config_set_length): Ditto

	* gnome-print-config.h: Added new _length methods

	* Makefile.am (nox_headers): Added gnome-print-unit.h

	* gnome-print-paper.h: Removed units

	* gnome-print-unit.h: Moved units into separate header

2001-12-11  Lauris Kaplinski  <lauris@ximian.com>

	* gnome-print-transport.c (gnome_print_transport_new): Cache modules
	in hash

	* gnome-print.c (gnome_print_context_new): Cache modules in hash,
	so no duplicate reading occurs - still not perfect, but better than
	before

2001-12-10  jacob berkman  <jacob@ximian.com>

	* gnome-print-i18n.h (_): use GETTEXT_PACKAGE

2001-12-09  Lauris Kaplinski  <lauris@ximian.com>

	* gnome-print-paper.c (gnome_print_papers_load): Helper, loads
	PhysicalSizes from media tree
	(gnome_print_paper_get_default): Use prev helper
	(gnome_print_paper_get_by_name): Ditto
	(gnome_print_paper_get_by_size): Ditto
	(gnome_print_paper_get_closest_by_size): Ditto
	(gnome_print_paper_get_list): Ditto

2001-12-05  Lauris Kaplinski  <lauris@ximian.com>

	* gnome-font-face.c (gnome_font_style_list_free): Do not return
	value in void function

2001-12-05  Jens Finke <jens@triq.net>

	* Makefile.am (libgnomeprintincdir):
	* libgnomeprint-2.0.pc.in (Cflags): Install headers in
	libgnomeprint-2.0 rather than gnome-2.0

2001-12-03  Michael Meeks  <michael@ximian.com>

	* Version 1.107.0

2001-11-28  Anders Carlsson  <andersca@gnu.org>

	* libgnomeprint-marshal-main.c: Include glib-object.h

	* gnome-font.c (gnome_font_get_closest_pango_font): Add an extra
	PangoContext argument.

	* gnome-font-private.h: Include glib-object.h.

	* gnome-print-master.c (gnome_print_master_get_type): Return GType.

2001-09-28  Michael Meeks  <michael@ximian.com>

	* gnome-print-bonobo.c (impl_render): fix
	bonobo_closure_invoke for new signature.

	* gnome-print.c (gnome_print_callback_closure_invoke): ditto.

2001-09-27  Michael Meeks  <michael@ximian.com>

	* Version 1.105.0

2001-09-19  Darin Adler  <darin@bentspoon.com>

	* gnome-font-face.c:
	(gnome_font_face_find_closest_from_pango_description):
	Update for newer pango.

	* gp-fontmap.c: Fix libxml includes.

2001-09-09  Michael Meeks  <michael@ximian.com>

	* Makefile.am (libgnomeprintincdir): upd install path.

	* libgnomeprint-2.0.pc.in: update include path.

2001-08-22  Michael Meeks  <michael@ximian.com>

	* Version 1.103.0

2001-08-22  Lauris Kaplinski  <lauris@ximian.com>

	* gp-fontmap.c (gp_fontmap_load): Load libgnomeprint-2.0.fontmap as well

2001-08-18  Darin Adler  <darin@bentspoon.com>

	* Makefile.am: Build the marshal files in a simpler way.
	* gp-fontmap.h: Fix include that was using <gnome-xml/*> instead
	of <libxml/*>.

	* drivers/Makefile.am:
	* transports/Makefile.am:
	Remove extra -I.

2001-08-15  Lauris Kaplinski  <lauris@ximian.com>

	* gnome-print-paper.h: File originating from libgnome

	* gnome-print-paper.c: File originating from libgnome, mostly rewritten

2001-08-13  Michael Meeks  <michael@ximian.com>

	* gnome-font-face.c (gnome_font_face_find_closest): fix bug.

	* gnome-print-meta.c (gnome_print_meta_callback): disable
	crack smoking.

	* gnome-font.c (gnome_font_find_closest): fix same bug.

	* gpa-private.h: add gpa_node_get_type.

	* gnome-print.c (gnome_print_page_callback_closure): impl.
	(gnome_print_page_callback): make it use the closure.
	(gnome_print_callback_closure_invoke): impl helper.

	* gnome-print-meta.c (gnome_print_meta_callback): upd.

	* Makefile.am: add build dep. fix.

2001-08-07  Michael Meeks  <michael@ximian.com>

	* Makefile.am: don't distribute marshaller sources.

2001-08-13  Lauris Kaplinski  <lauris@ximian.com>

	* gnome-pgl.c (gnome_pgl_test_point): New method

	* gnome-print-private.h: Moved GnomePrintTransport typedef here

	* gnome-rfont.h: Removed const for methods, that in future may involve
	implicit FT_Face hackery

	* gnome-font.c (gnome_font_get_glyph_stdadvance): Use normal test instead
	of g_return_val_if_fail
	(gnome_font_get_glyph_stdbbox): Ditto
	(gnome_font_get_glyph_stdoutline): Added warning, if face stdoutline fails
	(gnome_font_get_glyph_stdkerning): New method
	(gnome_font_find_closest): Pure name-based method
	(gnome_font_find_closest_from_full_name): New method
	(gnome_font_find_closest_from_weight_and_slant): Renamed old closest find

	* gnome-font-face.h: Synced weight with PangoWeight (multiplied with 100)
	Removed const from methods that load FT_Face implicitly

	* gnome-font.h: Removed const in sync with face (for future expansion)

	* gnome-font-face.c (gnome_font_face_get_glyph_stdkerning): New method
	(gnome_font_face_get_prop): Implement most
	(gnome_font_face_find_closest): Made this pure name-based search
	(gnome_font_face_find_closest_from_weight_slant): Renamed old closest find

	* gnome-font-compat.c (gnome_font_face_get_descender): Sign as in afm

	* gnome-rfont.c (gnome_rfont_get_glyph_stdkerning): Implement through
	font kerning

2001-08-10  Lauris Kaplinski  <lauris@ximian.com>

	* gnome-font.c (gnome_font_get_closest_pango_font): New method
	(gnome_font_get_pango_description): Ditto

	* gnome-rfont.c (gnome_rfont_get_closest_pango_font): New method
	(gnome_rfont_get_pango_description): Ditto

	* gnome-print-stdapi.c (gnome_print_arcto): New method
	(gnome_print_line_stroked): Ditto
	(gnome_print_rect_stroked): Ditto
	(gnome_print_rect_filled): Ditto

	* gnome-print.h: Added gnome_print_arc

	* gnome-font.c: Use most afm properties
	(gnome_font_init): New internal structure
	(gnome_font_finalize): Ditto
	(gnome_font_face_get_font_full): Ditto
	(gnome_font_get_glyph_stdadvance): Ditto
	(gnome_font_get_glyph_stdbbox): Ditto
	(gnome_font_get_glyph_stdoutline): Ditto
	(gnome_font_get_ascender): Ditto
	(gnome_font_get_descender): Ditto
	(gnome_font_get_underline_position): Ditto
	(gnome_font_get_underline_thickness): Ditto
	(gnome_font_get_name): Ditto
	(gnome_font_get_ps_name): Ditto
	(gnome_font_get_full_name): Ditto
	(gnome_font_get_family_name): Ditto
	(gnome_font_get_species_name): Ditto
	(gnome_font_get_size): Ditto
	(gnome_font_get_face): Ditto
	(gnome_font_get_glyph_width): Ditto
	(gnome_font_get_width_utf8_sized): Ditto

	* gnome-font-private.h: Removed GnomeFontPrivate,
	Added font list to face

	* gnome-font.h: Moved _style_list methods here

	* gnome-font-face.c (gnome_font_face_find_closest_from_pango_font): New method
	(gnome_font_face_find_closest_from_pango_description): Ditto

	* gnome-font-face.h: Added _from_pango_ finding methods
	Moved gnome_font_face_get_font_ methods here

2001-08-09  Lauris Kaplinski  <lauris@ximian.com>

	* gnome-font-face.h: Explain properties

	* gnome-font-face.c (gnome_font_face_get_prop): New method

	* gnome-print-config.h: #define some most common keys here

	* gnome-print-ps2.c (gnome_print_ps2_construct): Use defined key names

	* gnome-print.h: Added some comments

2001-08-04  Lauris Kaplinski  <lauris@ximian.com>

	* gnome-print-bonobo.c (impl_render): Added beginpage/showpage pair

	* gnome-print-bonobo-client.c (gnome_print_bonobo_data_re_render):
	Render first page with suppressed pageops

	* gnome-print-meta.c (gnome_print_meta_render_file_page): Added
	boolean arguments to specify, whether to pass beginpage/showpage
	(gnome_print_meta_render_data_page): Ditto
	(gpm_render): Ditto

	* gnome-print-meta.h: Ditto

2001-08-01  Michael Meeks  <michael@ximian.com>

	* gnome-print-bonobo-client.[ch]: add.

	* Makefile.am: enable it.

2001-08-01  Michael Meeks  <michael@ximian.com>

	* Makefile.am: add gnome-print-bonobo*, add marshaller generation
	code.

	* gnome-print-bonobo.[ch]: Add.

	* libgnomeprint-marshal-main.c: Add.

2001-07-31  Martin Baulig  <baulig@suse.de>

	* *.[ch]: Use G_BEGIN/END_DECLS everywhere and #include <glib/gmacros.h>
	instead of <libgnome/gnome-defs.h>.

	* gnome-font-face.c: #include <locale.h>.

	* gnome-print-ps2.c: Don't #include <libgnome/gnome-paper.h>.
	* drivers/gnome-print-fax.h: Ditto.

2001-07-26  Lauris Kaplinski  <lauris@ximian.com>

	* gnome-print-rgbp.c (rgbp_showpage): Use gnome_print_meta_render_data

	* gnome-print-frgba.c (gpf_render_buf): Use gnome_print_meta_render_data

2001-07-25  Lauris Kaplinski  <lauris@ximian.com>

	* gnome-print-meta.c (meta_beginpage): Reorganize for clarity
	(meta_showpage): Ditto
	(gpm_decode_pointer): Unportable method for local rendering
	(gpm_encode_pointer): Ditto
	(do_render): Decode callback
	(gnome_print_meta_callback): Implement
	(gnome_print_meta_get_buffer): New function
	(gnome_print_meta_render_data): Ditto
	(gnome_print_meta_render_data_page): Ditto
	(gnome_print_meta_render_file): Ditto
	(gnome_print_meta_render_file_page): Ditto

	* gnome-glyphlist.c (gnome_glyphlist_duplicate): New method

	* gnome-print-private.h: Added ::page virtual method

	* gnome-print.c (gnome_print_beginpage): Return correct value
	(gnome_print_showpage): Ditto
	(gnome_print_gsave): Ditto
	(gnome_print_grestore): Ditto
	(gnome_print_clip_bpath_rule): Ditto
	(gnome_print_fill_bpath_rule): Ditto
	(gnome_print_stroke_bpath): Ditto
	(gnome_print_image_transform): Ditto
	(gnome_print_glyphlist_transform): Ditto
	(gnome_print_context_close): Ditto
	(gnome_print_page_callback): New function

	* gnome-print.h: Added gnome_print_page_callback

2001-07-23  Lauris Kaplinski  <lauris@ximian.com>

	* gnome-pgl.c (gnome_pgl_from_gl): Made matrix const

	* gnome-font.h: Moved gnome_font_face_get_font back here

2001-07-22  Lauris Kaplinski  <lauris@ximian.com>

	* gnome-font-face.c (gnome_font_face_find): Use guchar * in signature
	(gnome_font_face_find_closest): Ditto
	(gnome_font_face_find_from_family_and_style): New function
	(gnome_font_style_list): New function
	(gnome_font_style_list_free): New function

	* gnome-rfont.h (gnome_rfont_render_pgl_rgba8): #define pgl
	rendering functions

	* gnome-pgl.c (gnome_pgl_render_rgba8): Moved pgl rendering here
	(gnome_pgl_render_rgb8): Ditto

2001-07-20  Lauris Kaplinski  <lauris@ximian.com>

	* gnome-print-rgbp.h: Use G_END_DECLS

	* gnome-print-rgbp.c (rgbp_image): Use guchar signature

	* gnome-print-rbuf.c (gpb_image): Use guchar in signature

	* gnome-print-stdapi.c (gnome_print_clip): Use new currentpath logic
	(gnome_print_eoclip): Ditto
	(gnome_print_fill): Ditto
	(gnome_print_eofill): Ditto
	(gnome_print_stroke): Ditto
	(gnome_print_strokepath): Ditto

