2000-06-13   Daiki Ueno  <ueno@unixuser.org>

	* upt.c (opt_foreground, opt_background, opt_header_foreground,
	opt_itemize_foreground, opt_border_foreground,
	opt_use_multiple_frames, opt_disable_antialias): New variable.
	(long_options): Add --no-antialias, --foreground, --background,
	--border-foreground, --border-thickness, --header-foreground,
	--itemize-foreground.

	* xml.c (parse_ss_info): Use g_new0 instead of g_malloc0.
	(term_parse_para): Ditto.
	(term_parse_imagedata): Ditto.
	(parse_slide): Ditto.

	* canvas.h: Add forward declaration for some functions.
	(UptCanvas): Add has_background_image, use_multiple_frames,
	disable_antialias.

	* slide.h, slide.c: Add forward declaration for some functions.
	(slide_header_foreground_pixel): New variable.
	(slide_itemize_foreground_pixel): New variable.
	(slide_border_foreground_pixel): New variable.
	(slide_border_thickness): New variable.
	(slide_draw): Refer them.

	* page.h (UptPage): Remove aa_factor.

	* page.c (vf_page_put_line, vf_page_put_line_1): New function.
	(vf_page_finish_line, vf_page_finish_line_1): New function.
	(vf_bitmap_to_pbuf): New function.
	(PagePutLineFunc, PageFinishLineFunc): Define.
	(PageBitmapInstantiator): Define.
	(upt_page_new): Use g_new0 instead of g_malloc0.
	(upt_page_instantiate_1): Split from upt_page_instantiate.
	(upt_page_get_metric): New function.

	* glyph.c (upt_glyph_get_metric): Abolish.
	(upt_glyph_instantiate): Rename from upt_glyph_instantiate_1.
	(upt_glyph_new): Use g_new0 instead of g_malloc0.

	* font.c (upt_font_new): Use g_new0 instead of g_malloc0.

	* configure.in: Check rgb.txt.

	* acconfig.h, color.c, color.h: New file.

	* canvas.c (upt_canvas_get_aa_pixel): New function.
	(canvas_get_bg_pixel): Guard X and Y coordinates.
	(canvas_has_background_image): Abolish.
	(canvas_use_multiple_frame): Abolish.
	(canvas_set_aa_map): Simplify.
	(upt_canvas_new): Use g_new0 instead of g_malloc0.
	(canvas_get_bg_pixel): Refer canvas->aa_map.
	(canvas_put_box): Abolish.
	(upt_canvas_draw_page): Rewrite.
	(upt_canvas_draw_hline): Accept line thickness as 3rd arg.
	(canvas_put_circle): Abolish.

2000-06-11   Daiki Ueno  <ueno@unixuser.org>

	* canvas.h: Add forward declaration of `upt_canvas_load_bg_image',
	`upt_canvas_undo_vertical' and `upt_canvas_set_foreground_rgb'.

	* xml.c (upt_parse_file): Free xmlDoc.

	* upt.c (long_options): Add `--agglutinative-min-glue-width' and
	`--agglutinative-max-glue-width'.
	(main): Initialize gettext.

	* upt.1: Add description about --agglutinative-min-glue-width and
	--agglutinative-max-glue-width.

	* slide.h, slide.c (slide_agglutinative_min_glue_width):
	(slide_agglutinative_max_glue_width): New variable.

	* font.c (upt_find_font): Fix warning.

	* canvas.c (upt_canvas_load_image): Fix warning.

	* configure.in: Remove AC_PROG_RANLIB.
	Add AM_PROG_LIBTOOL,AM_GNU_GETTEXT,ALL_LINGUAS.
	Pass `gmodule' to AM_PATH_GLIB as optional 4th argument.

	* Makefile.am (localedir): New variable.
	(DEFS): Define LOCALEDIR by \"$(localedir)\".

	* acconfig.h, po/*: New.

2000-06-09   Daiki Ueno  <ueno@unixuser.org>

	* UltraPoint 0.3.

	* slide.c (slide_draw_ol_listmark): Undo last change.
	(listmark_renderer): Register renderers for LIST_ORDER_UPPERALPHA
	LIST_ORDER_LOWERALPHA.

	* page.c (upt_page_add_text): Don't refer iconv_encoding.

2000-06-08   Daiki Ueno  <ueno@unixuser.org>

	* xml.h (UptXMLTerm): New to represent a terminal node.

	* slide.h (SLIDE_TITLE_FONT_PIXEL_SIZE,
	SLIDE_AA_FONT_PIXEL_SIZE,SLIDE_AN_FONT_PIXEL_SIZE,
	SLIDE_DATE_FONT_PIXEL_SIZE,SLIDE_HEAD_FONT_PIXEL_SIZE,
	SLIDE_BLOCK_FONT_PIXEL_SIZE): Remove.
	(slide_base_lineskip): New variable.

	* xml.c: Add forward declaration of static functions.
	(list_type_of_node): New function.
	(term_hash_table): New variable.
	(term_from_xml_node): New function.
	(gnode_from_xml_node): Rename from _g_node_of_xml_node.
	(term_parse_para): New function.
	(term_parse_imagedata): New function.

	* upt.h (G_N_ELEMENTS): New macro from GLib 1.3.

	* slide.c (slide_min_glue_width): New variable default to 0.5.
	(slide_max_glue_width): New variable default to 0.75.
	(slide_draw,slide_draw_para,slide_draw_coverpage): Use them;
	refer slide_base_lineskip.
	(slide_block_traverse_func): Add check for empty paragraph.
	(slide_draw_coverpage): Likewise; refer slide_base_lineskip.
	(listmark_renderer): Define as an array.

	* upt.c (long_options): Add `--min-glue-width',
	`--max-glue-width', `--line-space', `--start-page' and
	`--multiple-frame'.
	(use_background_image): Abolish.
	(parse_options): Extract from main.

	* canvas.c (canvas_has_background_image): New variable.
	(canvas_use_multiple_frame): New variable.

	* page.c (page_fill_glues): Fill glues whenever n_glues > 0.

2000-06-06   Daiki Ueno  <ueno@unixuser.org>

	* configure.in: Add --disable-magicktest option.

	* canvas.c
	(upt_canvas_load_image): Fix condition for ImageMagick 5.2.0.

2000-06-05   Daiki Ueno  <ueno@unixuser.org>

	* upt.1: New file.

	* Makefile.am (EXTRA_DIST): Add $(man_MANS).

