2007-04-13 Dov Grobgeld * paps.c: Erased --justify option since it is not implemented in pango yet. 2007-01-19 Dov Grobgeld * configure.in: Bumped version to 0.6.8 * src/libpaps.c: Removed warnings. * src/paps.c: Added --help info about units. * src/paps.1: Added info about units. 2006-12-07 Dov Grobgeld * paps.1: Fixed bug in documentation of the --markup option. 2006-11-28 Dov Grobgeld * libpaps.h: Minor doxygen warning fixes. * doc/Doxyfile, doc/Makefile.am: Removed for new doxygen support. * aminclude.am, acinclude.m4 : Added for doxygen support * configure.in: Made doxygen documentation build at autoconf time (package preparer) and not at user configuration time. 2006-11-03 Dov Grobgeld * configure.in: Bumped version to 0.6.7 * src/paps.1: Described the new options. * src/paps.c: (split_text_into_paragraphs) Reverted to old split_text_into_paragraphs as I couldn't understand Akira's code and I don't think it is relevant anymore with the new cpi/lpi interpretation. (split_text_into_paragraphs) Added functionality for using markup. - Added option --markup for printing pango markup'd text. - Changed the interpretation of LPI so that it only controls the line spacing and not the size of the characters. - Added option --stretch-chars to stretch characters to fill the --lpi value. - Removed global variables lpi and cpi and moved them into page_layout_t . - Changed creation of options to allow passing the page_layout_t as a parameter. - Removed all references to wchar as it is not used anymore. (It shouldn't have been used in the first place as there are plenty of utf8 and ucs4 manipulating function in glib.) * src/libpaps.c: Moved the stretching of characters to c-level only. Erased the scale_x and scale_y parameters from most functions. 2006-09-07 Akira TAGOH * src/paps.c (_paps_arg_lpi_cb): new function. (_paps_arg_cpi_cb): new function. (main): added --lpi and --cpi option. (#1472021) (split_text_into_paragraphs): need to adjust the layout to avoid the cutting off after scaling with LPI/CPI parameters. (split_paragraphs_into_lines): figure out the scaling. (output_pages): likewise. (draw_line_to_page, draw_page_header_line_to_page): modified to give the scaling according to LPI/CPI to libpaps. * src/libpaps.c (paps_set_scale): new function. (paps_new, paps_layout_to_postscript_strdup) (paps_layout_line_to_postscript_strdup, add_postscript_prologue) (add_line_to_postscript, draw_contour, draw_bezier_outline): modified to output the PostScript file with any scaling. * src/paps.c: added the missing header file. (main): added --font option instead of --font-scale and --family, which works like specifying PangoFontDescription. (#1512382) (get_language): new function. (main): give a proper language to PangoContext. (#1512384) (split_text_into_paragraphs): support the wordwrap from Pango. (#1512385) * src/paps.1: removed --font-scale and --family description and added --font instead. * src/paps.c (split_text_into_paragraphs) (split_paragraphs_into_lines, output_pages): formfeed support that is originally written by Jan Willem Stumpel (main, read_file): added --encoding option support. (#1494769) 2006-05-25 Akira TAGOH * src/paps.1: fixed a typo. (#1491827) * src/paps.c (main): changed an option name --font_scale to --font-scale according to other options prefers a hyphen other than underscore. * src/paps.c (split_text_into_paragraphs): fixed a possible segfault issue. 2006-05-03 Dov Grobgeld * Release new version 0.6.6 * src/paps.c: Added #include to fix compilation errors. 2006-04-26 Dov Grobgeld * src/libpaps.c: Got rid of dead old crud. * src/libpaps.c: Defined PANGO_GLYPH_EMPTY that is not exported from pango. * src/libpaps.c: Ignore characters that FT_Load_Glyph returns an error code about. 2006-04-17 Dov Grobgeld * Release new version 0.6.5 * src/paps.1: Fixed errors in option documentations. * configure.in: Bumped version to 0.6.5 * src/paps.c: Made header separation independant on font scale. * src/paps.c: Made header font description independent on font scale. * doc/mainpage.h: Fixed typo. * src/paps.c: Output GOption parser message when parsing fails. * src/paps.1: Fixed man page so that it corresponds to goption parser. * src/paps.c: Fixed header position so that it takes margins into account. * src/Makefile.am: Added pango.1 to EXTRA_DIST to make it part of tar file. 2006-04-09 Dov Grobgeld * src/paps.c: Added tagoh's header and footer patch. * src/paps.c: Added tagoh's goption patch. 2006-04-08 Dov Grobgeld * Release new version 0.6.4 * src/paps.1: Added man page contributed by Lior Kaplan. 2006-03-28 Dov Grobgeld * src/paps.c: Applied tagoh's patch for setting the page size in PostScript. * src/paps.c: Fixed linebreaks in --help printout. 2005-12-22 Dov Grobgeld * Released new bugfix version 0.6.3 * src/libpaps.c: Fixed overflow of static hash character size. 2005-12-20 Dov Grobgeld * Released new version 0.6.2 * src/libpaps.c: Skip bitmap glyphs in order not to crash in decomposition. * src/paps.c: Created external for margin settings. * src/libpaps.c: Fixed default font to monospace per Jan Willem Stumpel suggestion. * src/paps.c: Fixed printing of row that lacks a trailing newline. 2005-11-24 Dov Grobgeld * src/libpaps.c: Fixed potential sprintf buffer overrun bug. * src/paps.c: Added options for letter and legal paper sizes * src/paps.c: Added postscript commands for setting page size * src/paps.c: Added DSC comments for orientation 2005-11-19 Dov Grobgeld * Released new version 0.6.1 * src/libpaps.c: Fixed scaling bug in output postscript. The characters were to small by a factor of 72/64 due to different coordinate systems in PostScript and freetype2. * src/libpaps.c: Various cleanup of the library.