summaryrefslogtreecommitdiffstats
path: root/ChangeLog
blob: f953795075a7470736448c8ef4f7b3b3d1a3f673 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
2006-11-03  Dov Grobgeld  <dov.grobgeld@gmail.com>

	* 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  <at@gclab.org>

	* 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  <at@gclab.org>

	* 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-04-26  Dov Grobgeld  <dov.grobgeld@gmail.com>

	* 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  <dov.grobgeld@gmail.com>

	* 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  <dov.grobgeld@gmail.com>

	* src/paps.c: Added tagoh's header and footer patch.

	* src/paps.c: Added tagoh's goption patch.

2006-04-08  Dov Grobgeld  <dov.grobgeld@gmail.com>

	* Release new version 0.6.4

	* src/paps.1: Added man page contributed by Lior Kaplan.

2006-03-28  Dov Grobgeld  <dov.grobgeld@gmail.com>

	* 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  <dov.grobgeld@gmail.com>

	* Released new bugfix version 0.6.3

	* src/libpaps.c: Fixed overflow of static hash character size.

2005-12-20  Dov Grobgeld  <dov.grobgeld@gmail.com>

	* 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  <dov.grobgeld@gmail.com>

	* 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  <dov.grobgeld@gmail.com>

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