~ubuntu-branches/debian/experimental/pango1.0/experimental

« back to all changes in this revision

Viewing changes to ChangeLog

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-06-17 10:58:54 UTC
  • mfrom: (1.2.51 upstream)
  • Revision ID: james.westby@ubuntu.com-20080617105854-9yw4lw7mwncrwyae
Tags: 1.21.3-0ubuntu1
* New upstream version:
  - Various small fixes and improvements
  - Bugs fixed in this release:
  Bug 538661 – Improve pango_cairo_context_update_context
  Bug 536190 – Make pango_fc_font_map_clear_cache() public?
  Bug 537258 – Add a pango_language_to_string() function
  Bug 537257 – pango_language_from_string(NULL) not happy
  Bug 537186 – Make PangoFcFont pattern property readable
* debian/control.in:
  - updated libcairo requirement
  - updated maintainer information

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
2008-05-23  Behdad Esfahbod  <behdad@gnome.org>
2
 
 
3
 
        * === Released 1.20.3 ===
4
 
 
5
 
        * configure.in: Version 1.20.3
6
 
 
7
 
        * NEWS: Updated.
 
1
2008-06-16  Behdad Esfahbod  <behdad@gnome.org>
 
2
 
 
3
        * === Released 1.21.3 ===
 
4
 
 
5
        * configure.in: Version 1.21.3
 
6
 
 
7
        * NEWS: Updated.
 
8
 
 
9
2008-06-16  Behdad Esfahbod  <behdad@gnome.org>
 
10
 
 
11
        Bug 538661 – Improve pango_cairo_context_update_context()
 
12
 
 
13
        * pango/pangocairo-context.c (_pango_cairo_update_context):
 
14
        Relayout only if merged options changed.
 
15
 
 
16
2008-06-09  Behdad Esfahbod  <behdad@gnome.org>
 
17
 
 
18
        Bug 536190 – Make pango_fc_font_map_clear_cache() public?
 
19
 
 
20
        * pango/pangofc-fontmap.c:
 
21
        * pango/pangofc-fontmap.h:
 
22
        Make pango_fc_font_map_clear_cache() public.
 
23
 
 
24
2008-06-09  Behdad Esfahbod  <behdad@gnome.org>
 
25
 
 
26
        Bug 537258 – Add a pango_language_to_string() function
 
27
 
 
28
        * docs/tmpl/text-attributes.sgml:
 
29
        * pango/pango-language.c (pango_language_to_string):
 
30
        * pango/pango-language.h:
 
31
        * pango/pango.def:
 
32
        Add a function implementation of pango_language_to_string().
 
33
        The macro is still available.  To be removed in a cycle or two from
 
34
        now. (bug #537466)
 
35
 
 
36
2008-06-09  Behdad Esfahbod  <behdad@gnome.org>
 
37
 
 
38
        Bug 537257 – pango_language_from_string(NULL) not happy
 
39
 
 
40
        * pango/pango-language.c (pango_language_from_string):
 
41
        Allow NULL.
 
42
 
 
43
2008-06-09  Behdad Esfahbod  <behdad@gnome.org>
 
44
 
 
45
        Bug 537186 – Make PangoFcFont pattern property readable
 
46
 
 
47
        * pango/pangofc-font.c (pango_fc_font_class_init),
 
48
        (pango_fc_font_get_property): Make it readable.
 
49
 
 
50
2008-06-02  Behdad Esfahbod  <behdad@gnome.org>
 
51
 
 
52
        * === Released 1.21.2 ===
 
53
 
 
54
        * configure.in: Version 1.21.2
 
55
 
 
56
        * NEWS: Updated.
 
57
 
 
58
2008-05-28  Behdad Esfahbod  <behdad@gnome.org>
 
59
 
 
60
        Bug 510299 – OpenType font variants are broken with ATSUI/Cairo
 
61
 
 
62
        * pango/fonts.c (field_matches), (find_field): Ignore dashes when
 
63
        matching fong description fields.
 
64
 
 
65
2008-05-28  Tor Lillqvist  <tml@novell.com>
 
66
 
 
67
        * pango/pangowin32-fontmap.c (synthesize_foreach)
 
68
        (_pango_win32_font_map_init): Rework face synthesis once
 
69
        again. Code is simpler now, and we don't needlessly synthesize
 
70
        bold weights for fonts that have a real semi-bold weight, like
 
71
        Lucida Sans. (The bold weight ended up looking like the semi-bold
 
72
        anyway.)
 
73
        (pango_win32_font_description_from_logfont)
 
74
        (pango_win32_font_description_from_logfontw): Recognize the
 
75
        semi-bold weight interval.
 
76
 
 
77
        Map words that indicate weight and slant in the font name into the
 
78
        corresponding Pango font description settings, and strip those
 
79
        words from the family name. This maps for instance the DejaVu
 
80
        Sans, DejaVu Sans Condensed and DejaVu Sans Light fonts into a
 
81
        single DejaVu Sans family with styles Ultra-Light, Condensed,
 
82
        Normal, Oblique Condensed, Oblique, Bold Condensed, Bold, Bold
 
83
        Oblique Condensed, and Bold Oblique, which is nice.
 
84
 
 
85
2008-05-27  Tor Lillqvist  <tml@novell.com>
 
86
 
 
87
        * pango/pangowin32-fontmap.c (pango_win32_family_list_faces):
 
88
        After the change to how the standard pseudo font families are set
 
89
        up below, we don't need to prune out duplicate face names any
 
90
        longer.
 
91
 
 
92
2008-05-27  Tor Lillqvist  <tml@novell.com>
 
93
 
 
94
        Bug 436363 - Bold and Bold Italic style of MS-Mincho font are not
 
95
        listed in GtkFontSelection
 
96
 
 
97
        * pango/pangowin32-fontmap.c: Synthesize also Bold and Bold Italic
 
98
        (or Oblique) faces when feasible. Don't synthesize these for
 
99
        decorative or script fonts. Kill the magic code snippet mentioned
 
100
        below. Instead, explicitly create font families for the standard
 
101
        pseudo fonts that correspond to the first existing font of the
 
102
        corresponding built-in alias list. Use the face style name Oblique
 
103
        for slanted sans and monospace fonts, not Italic.
 
104
 
 
105
2008-05-27  Tor Lillqvist  <tml@novell.com>
 
106
 
 
107
        * pango/pangowin32-fontmap.c (pango_win32_family_list_faces):
 
108
        Prune duplicated face names. Makes the GTK+ font selector look a
 
109
        bit saner for the "sans", "serif" and "monospace" standard pseudo
 
110
        font families with just one instance of each style.
 
111
 
 
112
        That we get duplicated styles in the first place is because of the
 
113
        magic code snippet in pango_win32_insert_font() that sets up the
 
114
        list of faces for the standard pseudo font families. I don't like
 
115
        that code but without it these families wouldn't currently show up
 
116
        in the font selector at all.
 
117
 
 
118
        A problem is still that the magic code blindly adds all random
 
119
        fonts that claim to be FF_ROMAN to the list of faces for the
 
120
        "serif" family, etc. I think it would be preferrable to do it only
 
121
        for well-known sensible fonts. That would be those that are listed
 
122
        in builtin_aliases in pango-utils.c, I guess.
 
123
 
 
124
2008-05-26  Tor Lillqvist  <tml@novell.com>
 
125
 
 
126
        * pango/pangowin32-private.h
 
127
        * pango/pangowin32-fontmap.c: Drop the PangoWin32FontMap::n_fonts
 
128
        field which wasn't really used for anything. Rename the field
 
129
        PangoWin32Family::font_entries to faces. Rename some local
 
130
        variables to be more consistently named.
 
131
 
 
132
2008-05-26  Tor Lillqvist  <tml@novell.com>
 
133
 
 
134
        * pango/pangowin32.c
 
135
        * pango/pangowin32-fontmap.c: Some whitespace cleanup. 
 
136
 
 
137
2008-05-26  Tor Lillqvist  <tml@novell.com>
 
138
 
 
139
        * pango/pangowin32-private.h
 
140
        * pango/pangowin32-fontmap.c: Drop the PangoWin32SizeInfo struct
 
141
        and the hash table mapping from the relevant part of a LOGFONTW
 
142
        struct to a list of PangoWin32SizeInfos in PangoWin32FontMap. It
 
143
        seems that each list was always of length one anyway, so instead
 
144
        just map directly to each such single list member, also a LOGFONTW
 
145
        struct. Actually I wonder whether this map is needed at all, will
 
146
        have to experiment.
 
147
 
 
148
2008-05-23  Tor Lillqvist  <tml@novell.com>
 
149
 
 
150
        * pango/pango-utils.c: Revert the addition of the alias
 
151
        "sansserif". The correct name is "sans-serif", and "sans" should
 
152
        also be accepted. If something uses "sansserif" it is wrong. (I
 
153
        saw it in some sample svg files in librsvg.)
 
154
 
 
155
2008-05-20  Tor Lillqvist  <tml@novell.com>
 
156
 
 
157
        * pango/pango-utils.c: Add alias "sansserif" to the builtin
 
158
        aliases on Win32. Same contents as "sans" and "sans-serif".
8
159
 
9
160
2008-05-20  Tor Lillqvist  <tml@novell.com>
10
161
 
15
166
        * pango/pango-utils.c: Add fonts from Vista to the builtin
16
167
        aliases. Also add Lucida Sans Unicode and Lucida Console.
17
168
 
 
169
2008-05-13  Behdad Esfahbod  <behdad@gnome.org>
 
170
 
 
171
        * === Released 1.21.1 ===
 
172
 
 
173
        * configure.in: Version 1.21.1
 
174
 
 
175
        * NEWS: Updated.
 
176
 
18
177
2008-05-03  Behdad Esfahbod  <behdad@gnome.org>
19
178
 
20
179
        Bug 531242 – Leak when calculating win32 font coverage
22
181
 
23
182
        * pango/pangowin32.c (pango_win32_font_calc_coverage): Plug leak.
24
183
 
 
184
2008-04-30  Behdad Esfahbod  <behdad@gnome.org>
 
185
 
 
186
        Bug 530757 – Docs build breaks because of hash sign in URL in <ulink...>
 
187
 
 
188
        * docs/tmpl/main.sgml: Make it build.
 
189
 
 
190
2008-04-30  Behdad Esfahbod  <behdad@gnome.org>
 
191
 
 
192
        Bug 530685 – Pango no longer using cairo as a backend as of pango 1.19.4
 
193
 
 
194
        * configure.in: Be more verbose about cairo font backends found.
 
195
 
 
196
2008-04-28  Behdad Esfahbod  <behdad@gnome.org>
 
197
 
 
198
        * pango-view/viewer-main.c (main): Wait for convert(1) to finish.
 
199
        Patch by Jamie Guinan.
 
200
 
 
201
2008-04-24  Behdad Esfahbod  <behdad@gnome.org>
 
202
 
 
203
        Part of Bug 97545 – Make pango_default_break follow Unicode TR #29
 
204
 
 
205
        * docs/tmpl/main.sgml:
 
206
        * pango/break.c (pango_default_break):
 
207
        * pango/pango-break.h:
 
208
        * tests/testboundaries_ucd.c (main):
 
209
        Add new PangoLogAttr member is_word_boundary, that implements UAX#29's
 
210
        Word Boundaries semantics.  Test fully passes for it.
 
211
 
 
212
2008-04-24  Behdad Esfahbod  <behdad@gnome.org>
 
213
 
 
214
        Part of Bug 97545 – Make pango_default_break follow Unicode TR #29
 
215
        Patch from Noah Levitt
 
216
 
 
217
        * tests/Makefile.am:
 
218
        * tests/runtests.sh.in:
 
219
        * tests/testboundaries_ucd.c (count_attrs), (parse_line),
 
220
        (attrs_equal), (make_test_string), (do_test), (main):
 
221
        Add test driver for UAX#14 and UAX#29 test data from Unicode Character
 
222
        Databse.  Just drop the following four files in pango/tests for it to
 
223
        use them:
 
224
 
 
225
                GraphemeBreakTest.txt
 
226
                LineBreakTest.txt
 
227
                SentenceBreakTest.txt
 
228
                WordBreakTest.txt
 
229
 
 
230
2008-04-24  Behdad Esfahbod  <behdad@gnome.org>
 
231
 
 
232
        Part of Bug 97545 – Make pango_default_break follow Unicode TR #29
 
233
 
 
234
        * pango/break.c (pango_default_break): Make Grapheme Boundary code
 
235
        exactly follow UAX#29 of Unicode 5.1.0
 
236
 
 
237
2008-04-24  Behdad Esfahbod  <behdad@gnome.org>
 
238
 
 
239
        * pango/break.c (pango_default_break): Update GraphemeBoundary to
 
240
        Unicode 5.1.0.  Pretty close now.  Passes the TR14 test.
 
241
 
 
242
2008-04-24  Behdad Esfahbod  <behdad@gnome.org>
 
243
 
 
244
        * pango/break.c (pango_default_break): Allow line break at the end of
 
245
        string.  UAX#14 rule LB3 says "Always break at the end of text."
 
246
        With this test, Pango passes the LineBreakTest.txt, sans the bug in
 
247
        the test file that I've already reported to unicoRe.
 
248
 
 
249
2008-04-21  Behdad Esfahbod  <behdad@gnome.org>
 
250
 
 
251
        * === Released 1.21.0 ===
 
252
 
 
253
        * configure.in: Version 1.21.0
 
254
 
 
255
        * NEWS: Updated.
 
256
 
 
257
2008-04-21  Behdad Esfahbod  <behdad@gnome.org>
 
258
 
 
259
        * ChangeLog.pre-1-20:
 
260
        * Makefile.am:
 
261
        Wrap ChangeLog.
 
262
 
 
263
2008-04-21  Behdad Esfahbod  <behdad@gnome.org>
 
264
 
 
265
        * docs/pango-docs.sgml:
 
266
        * docs/pango-sections.txt:
 
267
        * docs/tmpl/bidi.sgml:
 
268
        * docs/tmpl/main.sgml:
 
269
        * docs/tmpl/vertical.sgml:
 
270
        * pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels),
 
271
        (pango_unichar_direction), (pango_get_mirror_char):
 
272
        * pango/pango-bidi-type.h:
 
273
        * pango/pango-types.h:
 
274
        * pango/pango-utils.c:
 
275
        Group bidi stuff together.  Add a section in the docs for them.
 
276
 
 
277
2008-04-21  Behdad Esfahbod  <behdad@gnome.org>
 
278
 
 
279
        Bug 515432 – Add function to get bidirectional character type of a
 
280
        unicode character
 
281
        Patch from Jürg Billeter
 
282
 
 
283
        * docs/pango-sections.txt:
 
284
        * docs/tmpl/layout.sgml:
 
285
        * docs/tmpl/main.sgml:
 
286
        * docs/tmpl/pangocairo.sgml:
 
287
        * pango/Makefile.am:
 
288
        * pango/pango-bidi-type.c (pango_bidi_type_for_unichar):
 
289
        * pango/pango-bidi-type.h:
 
290
        * pango/pango-types.h:
 
291
        * pango/pango-utils.c (pango_log2vis_get_embedding_levels),
 
292
        (pango_unichar_direction):
 
293
        * pango/pango.def:
 
294
        * pango/pango.h:
 
295
        New public API:
 
296
 
 
297
                enum PangoBidiType;
 
298
                pango_bidi_type_get_type()
 
299
                pango_bidi_type_for_unichar()
 
300
 
 
301
2008-04-21  Behdad Esfahbod  <behdad@gnome.org>
 
302
 
 
303
        Bug 517119 – Add pango_cairo_create_context()
 
304
 
 
305
        * docs/pango-sections.txt:
 
306
        * pango/pangocairo-context.c (pango_cairo_create_context),
 
307
        (pango_cairo_create_layout):
 
308
        * pango/pangocairo.def:
 
309
        * pango/pangocairo.h:
 
310
        New public API:
 
311
 
 
312
                pango_cairo_create_context()
 
313
 
 
314
2008-04-21  Behdad Esfahbod  <behdad@gnome.org>
 
315
 
 
316
        Bug 404416 – pango_layout_get_baseline or something
 
317
 
 
318
        * docs/pango-sections.txt:
 
319
        * pango/pango-layout.c (pango_layout_get_baseline):
 
320
        * pango/pango-layout.h:
 
321
        * pango/pango.def:
 
322
        New public API:
 
323
 
 
324
                pango_layout_get_baseline()
 
325
 
 
326
2008-04-21  Behdad Esfahbod  <behdad@gnome.org>
 
327
 
 
328
        Bug 474706 – cairo hexbox looks ugly
 
329
 
 
330
        * pango/pangocairo-font.c
 
331
        (_pango_cairo_font_private_get_hex_box_info):
 
332
        Tweak minifont size a bit.  Also propagate font options correctly.
 
333
 
 
334
2008-04-21  Behdad Esfahbod  <behdad@gnome.org>
 
335
 
 
336
        Bug 490669 – add some <span> attribute aliases
 
337
 
 
338
        * docs/pango_markup.sgml:
 
339
        * pango/pango-markup.c (span_parse_func):
 
340
        Add fgcolor, bgcolor, font, font_size, font_weight, font_variant, ...
 
341
 
 
342
2008-04-21  Behdad Esfahbod  <behdad@gnome.org>
 
343
 
 
344
        Bug 501334 – Make pango_cairo_[show_]*[_path]() functions preserve
 
345
        current point
 
346
 
 
347
        * pango/pangocairo-render.c (_pango_cairo_renderer_draw_box_glyph),
 
348
        (_pango_cairo_renderer_draw_unknown_glyph), (acquire_renderer),
 
349
        (release_renderer), (save_current_point), (restore_current_point),
 
350
        (_pango_cairo_do_glyph_string), (_pango_cairo_do_layout_line),
 
351
        (_pango_cairo_do_layout):
 
352
        Preserve current point around pango_cairo_* functions().
 
353
 
 
354
2008-04-21  Behdad Esfahbod  <behdad@gnome.org>
 
355
 
 
356
        * configure.in:
 
357
        * pango/pangocairo-atsui.h:
 
358
        * pango/pangocairo-atsuifont.c
 
359
        (pango_cairo_atsui_font_create_font_face):
 
360
        * pango/pangocairo-fontmap.c
 
361
        (pango_cairo_font_map_new_for_font_type):
 
362
        Require cairo >= 1.6.4.  Remove compat cruft that were added to
 
363
        support older cairo that had cairo-atsui instead of cairo-quartz-font.
 
364
 
 
365
2008-04-21  Behdad Esfahbod  <behdad@gnome.org>
 
366
 
 
367
        Bug 514617 – Add pango_cairo_font_map_set_default()
 
368
 
 
369
        * docs/pango-sections.txt:
 
370
        * docs/tmpl/pangocairo.sgml:
 
371
        * pango/pangocairo-fontmap.c (pango_cairo_font_map_get_default),
 
372
        (pango_cairo_font_map_set_default):
 
373
        * pango/pangocairo.def:
 
374
        * pango/pangocairo.h:
 
375
        New public API:
 
376
 
 
377
                pango_cairo_font_map_set_default()
 
378
 
 
379
2008-04-21  Behdad Esfahbod  <behdad@gnome.org>
 
380
 
 
381
        * docs/pango-docs.sgml: Add index of new API in 1.22.
 
382
 
 
383
2008-04-21  Behdad Esfahbod  <behdad@gnome.org>
 
384
 
 
385
        Bug 511183 – Add pango_attr_type_get_name()
 
386
 
 
387
        * docs/pango-sections.txt:
 
388
        * docs/tmpl/text-attributes.sgml:
 
389
        * pango/pango-attributes.c (pango_attr_type_register),
 
390
        (pango_attr_type_get_name):
 
391
        * pango/pango-attributes.h:
 
392
        * pango/pango.def:
 
393
        New public API:
 
394
        
 
395
                pango_attr_type_get_name()
 
396
 
 
397
2008-04-20  Behdad Esfahbod  <behdad@gnome.org>
 
398
 
 
399
        * pango/pango-ot-info.c (pango_ot_info_get_gdef),
 
400
        (pango_ot_info_get_gsub), (pango_ot_info_get_gpos):
 
401
        Write out HarfBuzz errors as hex.
 
402
 
25
403
2008-04-09  Behdad Esfahbod  <behdad@gnome.org>
26
404
 
27
405
        * === Released 1.20.2 ===
81
459
        1.5.13+, where the quartz surface has been fixed for transformed
82
460
        text.
83
461
 
84
 
2008-03-10  Behdad Esfahbod  <behdad@gnome.org>
85
 
 
86
 
        * === Released 1.20.0 ===
87
 
 
88
 
        * configure.in: Version 1.20.0
89
 
 
90
 
        * NEWS: Updated.
91
 
 
92
 
2008-02-28  Behdad Esfahbod  <behdad@gnome.org>
93
 
 
94
 
        Bug 518084 – Thai is not Virama language
95
 
        Patch from Theppitak Karoonboonyanan
96
 
 
97
 
        * pango/break.c: Remove Thai Phinthu from VIRAMA()
98
 
 
99
 
2008-02-25  Behdad Esfahbod  <behdad@gnome.org>
100
 
 
101
 
        * === Released 1.19.4 ===
102
 
 
103
 
        * configure.in: Version 1.19.4
104
 
 
105
 
        * NEWS: Updated.
106
 
 
107
 
2008-02-25  Behdad Esfahbod  <behdad@gnome.org>
108
 
 
109
 
        Bug 511172 – pango_layout_set_height() with positive height always
110
 
        shows at least two lines
111
 
 
112
 
        * pango/pango-layout.c (should_ellipsize_current_line),
113
 
        (pango_layout_check_lines),
114
 
        (pango_layout_get_empty_extents_at_index),
115
 
        (pango_layout_line_get_empty_extents):
116
 
        Initialize line_height using empty-line extents.
117
 
 
118
 
2008-02-25  Tor Lillqvist  <tml@novell.com>
119
 
 
120
 
        Bug 515484 – Uniscribe interface handles surrogate
121
 
        pairs incorrectly
122
 
 
123
 
        * modules/basic/basic-win32.c (itemize_shape_and_place): Pass
124
 
        correctly offset wchar string to set_up_pango_log_clusters() so
125
 
        that when it passes the string on to unichar_index(), that
126
 
        function notices the surrogate pairs correctly.
127
 
 
128
 
2008-02-24  Tor Lillqvist  <tml@novell.com>
129
 
 
130
 
        Bug 515484 – Pango on Windows is missing Type 1
131
 
        font support
132
 
        Patch from Adrian Johnson.
133
 
        
134
 
        * pango/pangowin32-private.h (PangoWin32Face): Add has_cmap field
135
 
        that tells whether the font has a cmap or not. A Type 1 font
136
 
        doesn't.
137
 
 
138
 
        * pango/pangowin32.c (pango_win32_font_get_type1_glyph_index): New
139
 
        static function. Uses GetGlyphIndicesW() to get the glyph indices
140
 
        for Type 1 fonts. Possibly also TrueType fonts that for some
141
 
        reason lack the cmap formats we understand.
142
 
        (pango_win32_font_calc_type1_coverage): New static function. Uses
143
 
        GetFontUnicodeRanges() to get the coverage for Type 1 fonts, and
144
 
        possibly TrueType fonts that lack the cmap formats we understand.
145
 
        (pango_win32_font_get_glyph_index): Set has_cmap to false if the
146
 
        font doesn't have a cmap. Call
147
 
        pango_win32_font_get_type1_glyph_index() in that case.
148
 
        (pango_win32_font_calc_coverage): Set has_cmap to false if the
149
 
        font doesn't have a cmap. Call
150
 
        pango_win32_font_calc_type1_coverage() in that case.
151
 
        
152
 
        * pango/pangowin32-fontmap.c (pango_win32_enum_proc): Accept also
153
 
        Type 1 fonts.
154
 
        (pango_win32_insert_font): Initialise has_cmap tentativaly to True.
155
 
 
156
 
2008-02-21  Kristian Rietveld  <kris@imendio.com>
157
 
 
158
 
        * modules/basic/basic-atsui.c (basic_engine_shape): free the
159
 
        ATSU style and utf16 string at the end.
160
 
 
161
 
2008-02-17  Behdad Esfahbod  <behdad@gnome.org>
162
 
 
163
 
        Bug 517083 – pango modules: wrong fallback adding code?
164
 
 
165
 
        * pango/modules.c (map_add_engine): Fix typo.
166
 
 
167
 
2008-02-17  Behdad Esfahbod  <behdad@gnome.org>
168
 
 
169
 
        * pango/pango-layout.c: Improve docs.
170
 
 
171
 
2008-02-15  Behdad Esfahbod  <behdad@gnome.org>
172
 
 
173
 
        * pango/pango-layout.c: Improve docs.
174
 
 
175
 
2008-02-14  Tor Lillqvist  <tml@novell.com>
176
 
 
177
 
        Bug 515484 – Pango on Windows is missing non-TrueType 
178
 
        font support
179
 
        Patch from Adrian Johnson.
180
 
 
181
 
        * pango/pangowin32-fontmap.c (pango_win32_enum_proc): Accept also
182
 
        OpenType/PS fonts. Interpret the metrics parameter as a
183
 
        NEWTEXTMETRICW struct and check the ntmFlags field.
184
 
 
185
 
2008-02-13  Sven Neumann  <sven@gimp.org>
186
 
 
187
 
        * pango/pangoft2.c: indentation.
188
 
 
189
 
2008-02-09  Dominic Lachowicz <domlachowicz@gmail.com>
190
 
 
191
 
        Bug 515484 – Variable is initialized twice
192
 
 
193
 
        * pango/pangofc-fontmap.c (_pango_fc_font_map_fc_to_coverage):
194
 
        Variable was initialized twice.
195
 
        
196
 
2008-02-08  Behdad Esfahbod  <behdad@gnome.org>
197
 
 
198
 
        Bug 504810 – Samvruthokaram (combination of U+0D41 and U+0D4D) is not
199
 
        rendered correctly
200
 
        Patch from Praveen A
201
 
 
202
 
        * modules/indic/indic-ot-class-tables.c:
203
 
        * modules/indic/indic-ot.c (indic_ot_reorder):
204
 
        "Fix" it.
205
 
 
206
 
2008-01-29  Behdad Esfahbod  <behdad@gnome.org>
207
 
 
208
 
        * configure.in: Oops.  Add fontconfig cflags/libs with freetype's.
209
 
 
210
 
2008-01-29  Behdad Esfahbod  <behdad@gnome.org>
211
 
 
212
 
        Bug 496244 – Don't use freetype-config, use pkg-config
213
 
 
214
 
        * configure.in:
215
 
        Don't use freetype-config.  Also cleanup lots of old stale macros
216
 
        around configure.in.
217
 
 
218
 
        * pango-uninstalled.pc.in:
219
 
        * pango.pc.in:
220
 
        * pangocairo-uninstalled.pc.in:
221
 
        * pangocairo.pc.in:
222
 
        * pangoft2-uninstalled.pc.in:
223
 
        * pangoft2.pc.in:
224
 
        * pangowin32.pc.in:
225
 
        * pangox-uninstalled.pc.in:
226
 
        * pangox.pc.in:
227
 
        * pangoxft-uninstalled.pc.in:
228
 
        * pangoxft.pc.in:
229
 
        And cleaned up all the pkg-config files as a result.
230
 
 
231
 
2008-01-28  Behdad Esfahbod  <behdad@gnome.org>
232
 
 
233
 
        Bug 512566 – dont' use deprecated macro
234
 
        Patch from Christian Persch
235
 
 
236
 
        * tests/test-ot-tags.c:
237
 
        * tests/testscript.c:
238
 
        Replace G_GNUC_PRETTY_FUNCTION by G_STRFUNC
239
 
 
240
 
2008-01-28  Wouter Bolsterlee  <wbolster@svn.gnome.org>
241
 
 
242
 
        Bug 512473 – [patch] gtk-doc warnings
243
 
 
244
 
        * pango/pango-context.c:
245
 
        * pango/pango-fontmap.c:
246
 
        * pango/pango-utils.c:
247
 
        * pango/pangofc-fontmap.h:
248
 
        * pango/pangox.c:
249
 
        * pango/reorder-items.c:
250
 
        Fixed gtk-doc warnings.
251
 
 
252
 
2008-01-21  Behdad Esfahbod  <behdad@gnome.org>
253
 
 
254
 
        * === Released 1.19.3 ===
255
 
 
256
 
        * configure.in: Version 1.19.3
257
 
 
258
 
        * NEWS: Updated.
259
 
 
260
 
2008-01-21  Behdad Esfahbod  <behdad@gnome.org>
261
 
 
262
 
        * pango/pango-layout.c (pango_layout_set_height()): Mark behavior as
263
 
        undefined if height is not -1 and ellipsize mode is
264
 
        PANGO_ELLIPSIZE_NONE.
265
 
 
266
 
2008-01-21  Behdad Esfahbod  <behdad@gnome.org>
267
 
 
268
 
        Bug 508002 – change pango_layout_pixel_extents() to round logical rect
269
 
        to be inclusive
270
 
 
271
 
        * pango/pango-layout.c (pango_layout_get_pixel_extents),
272
 
        (pango_layout_line_get_pixel_extents): Round extents to pixels
273
 
        inclusively.  That is, pass both ink_rect and logical_rect as first
274
 
        argument to pango_extents_to_pixels().
275
 
 
276
 
        * pango/pango-matrix.c (pango_matrix_transform_pixel_rectangle):
277
 
        Fix rounding.
278
 
 
279
 
        * pango/pango-types.h:
280
 
        * docs/tmpl/glyphs.sgml:
281
 
        * pango/pango-utils.c (pango_extents_to_pixels):
282
 
        Rename pango_extents_to_pixels() function arguments from @ink_rect and
283
 
        @logical_rect to @inclusive and @nearest.  Given that this API is a
284
 
        fairly new addition and not commonly used, language bindings are
285
 
        encouraged to update their argument names accordingly.  Moreover, they
286
 
        are encouraged to wrap this function as two different calls:
287
 
        extents_to_pixels_inclusive() and extents_to_pixels_nearest(), or
288
 
        similar conventions that best reflect their native language.
289
 
 
290
 
2008-01-16  Behdad Esfahbod  <behdad@gnome.org>
291
 
 
292
 
        * pango/opentype/Makefile.am: Remove COPYING.GPL and COPYING.FTL that
293
 
        are no longer there.
294
 
 
295
 
2008-01-15  Behdad Esfahbod  <behdad@gnome.org>
296
 
 
297
 
        * pango/opentype/*:
298
 
        HarfBuzz was relicensed to a more generous and simpler license.
299
 
        Adapt.  See pango/opentype/COPYING for the new license which is
300
 
        LGPL-compatible.
301
 
 
302
 
2008-01-15  Behdad Esfahbod  <behdad@gnome.org>
303
 
 
304
 
        * pango/pango-layout.c (debug), (process_line),
305
 
        (pango_layout_line_postprocess): Minor cleanup.
306
 
 
307
 
2008-01-15  Behdad Esfahbod  <behdad@gnome.org>
308
 
 
309
 
        Bug 469313 – Add pango_layout_set_height()
310
 
 
311
 
        * pango/pango-layout.c (get_x_offset),
312
 
        (should_ellipsize_current_line), (add_line), (process_line),
313
 
        (pango_layout_check_lines), (pango_layout_line_get_width),
314
 
        (pango_layout_line_get_x_ranges), (justify_words),
315
 
        (pango_layout_line_postprocess):
316
 
        Implement height >= 0;  There are still bugs left.  Most notably,
317
 
        there will be at least two lines showed no matter how small height is.
318
 
 
319
 
2008-01-14  Behdad Esfahbod  <behdad@gnome.org>
320
 
 
321
 
        Bug 469313 – Add pango_layout_set_height()
322
 
 
323
 
        * pango/pango-layout.h:
324
 
        * pango/pango-layout-private.h:
325
 
        * pango/pango-layout.c:
326
 
        * pango/ellipsize.c (_pango_layout_line_ellipsize):
327
 
        New public API:
328
 
 
329
 
                pango_layout_set_height()
330
 
        
331
 
        See docs for semantics.  Currently only negative height values (number
332
 
        of lines) is implemented.
333
 
 
334
 
        * pango-view/viewer-render.c (make_layout), (output_body),
335
 
        (parse_options):
336
 
        Implement --height.
337
 
 
338
 
        * pango/pango.def:
339
 
        * docs/pango-sections.txt:
340
 
        * docs/tmpl/layout.sgml:
341
 
        Update.
342
 
 
343
 
2008-01-14  Behdad Esfahbod  <behdad@gnome.org>
344
 
 
345
 
        Bug 508179 – PangoGlyphUnit confusion
346
 
 
347
 
        * pango/pangowin32.c:
348
 
        * pango/glyphstring.c:
349
 
        * pango/pango-layout.c (process_item): Remove all traces of
350
 
        #PangoGlyphUnit
351
 
 
352
 
2008-01-08  Behdad Esfahbod  <behdad@gnome.org>
353
 
 
354
 
        Bug 508381 – indent and center alignment don't mix
355
 
 
356
 
        * pango/pango-layout.c: Ignore indent if aligned center, and document
357
 
        so.  This assumption was present in some places and not the others.
358
 
        Fixed now.
359
 
 
360
 
2008-01-08  Behdad Esfahbod  <behdad@gnome.org>
361
 
 
362
 
        Bug 508007 – Add option for single-paragraph mode to pango-view
363
 
 
364
 
        * pango-view/viewer-render.c (make_layout), (parse_options): Add
365
 
        --single-par option to pango-view.
366
 
 
367
 
2008-01-08  Behdad Esfahbod  <behdad@gnome.org>
368
 
 
369
 
        * pango/pango-layout.c (ensure_tab_width), (process_line),
370
 
        (pango_layout_get_effective_attributes),
371
 
        (pango_layout_check_lines): Minor cleanup.  Attributes are initialized
372
 
        with start/end_index to apply to entire text now, no need to
373
 
        initialize them explicitly anymore.
374
 
 
375
 
2007-12-29  Behdad Esfahbod  <behdad@gnome.org>
376
 
 
377
 
        Bug 506284 – docs typo for pango_coverage_unref
378
 
        Patch from Christian Persch
379
 
 
380
 
        * pango/pango-coverage.c (pango_coverage_unref): Fix typo in docs.
381
 
 
382
 
2007-12-21  Behdad Esfahbod  <behdad@gnome.org>
383
 
 
384
 
        * docs/Makefile.am: Check for dummy man pages in dist-local.
385
 
 
386
 
2007-12-21  Behdad Esfahbod  <behdad@gnome.org>
387
 
 
388
 
        Bug 504802 – build failure: No rule to make target
389
 
        `pango-querymodules.1', needed by `all-am'. Stop.
390
 
 
391
 
        * docs/Makefile.am: Create dummy pango-querymodules.1 if it doesn't
392
 
        exsits (SVN checkout) and --enable-man is not used.
393
 
 
394
 
2007-12-19  Behdad Esfahbod  <behdad@gnome.org>
395
 
 
396
 
        Bug 504585 – pango-querymodules.1 syntax error
397
 
 
398
 
        * Makefile.am:
399
 
        * docs/Makefile.am:
400
 
        * docs/pango-querymodules.1:
401
 
        Fix man-page generation rule, also remove pango-querymodules.1 from
402
 
        SVN so it's regenerated from XML at dist time.
403
 
 
404
 
2007-12-19  Behdad Esfahbod  <behdad@gnome.org>
405
 
 
406
 
         Red Hat Bug 426178: gtkdoc-scan fails on pango
407
 
 
408
 
        * docs/pango-sections.txt:
409
 
        * pango/pango-ot-private.h:
410
 
        * pango/pango-ot.h:
411
 
        Make the following symbols available to engines:
412
 
 
413
 
                PANGO_IS_OT_INFO
414
 
                PANGO_IS_OT_RULESET
415
 
                PANGO_OT_INFO
416
 
                PANGO_OT_RULESET
417
 
                PANGO_TYPE_OT_INFO
418
 
                PANGO_TYPE_OT_RULESET
419
 
                pango_ot_info_get_type
420
 
                pango_ot_ruleset_get_type
421
 
 
422
 
2007-12-17  Behdad Esfahbod  <behdad@gnome.org>
423
 
 
424
 
        * === Released 1.19.2 ===
425
 
 
426
 
        * configure.in: Version 1.19.2
427
 
 
428
 
        * NEWS: Updated.
429
 
 
430
 
2007-12-13  Benjamin Otte  <otte@gnome.org>
431
 
 
432
 
        * configure.in: use pkg-config to detect cairo features
433
 
 
434
 
2007-12-10  Behdad Esfahbod  <behdad@gnome.org>
435
 
 
436
 
        * configure.in: Better fix: set both LIBS and LDFLAGS.
437
 
 
438
 
2007-12-10  Behdad Esfahbod  <behdad@gnome.org>
439
 
 
440
 
        Bug 502926 – pango-1.16.4 configure bug: can fail to accept cairo
441
 
 
442
 
        * configure.in: Fix cairo library checking.
443
 
 
444
 
2007-12-10  Behdad Esfahbod  <behdad@gnome.org>
445
 
 
446
 
        * pango/pangocairo-fontmap.c: Improve
447
 
        pango_cairo_font_map_get_default() docs.
448
 
 
449
 
2007-12-10  Behdad Esfahbod  <behdad@gnome.org>
450
 
 
451
 
        Bug 399573 – replace strtoul in pango-markup.c with pango_scan_int()
452
 
 
453
 
        * pango/pango-markup.c (span_parse_func): Use pango_scan_int() and
454
 
        improve error message on parse failure.
455
 
 
456
 
2007-12-10  Behdad Esfahbod  <behdad@gnome.org>
457
 
 
458
 
        Bug 478914 – Use something invalid instead of '?' when validating
459
 
        input text
460
 
 
461
 
        * pango/pango-layout.c (pango_layout_set_text): Set invalid input
462
 
        bytes to -1, which gives a unichar value of -1, and eventually a
463
 
        glyph value of -1, aka PANGO_GLYPH_INVALID_INPUT.
464
 
 
465
 
        * pango/fonts.c (pango_font_get_glyph_extents),
466
 
        (pango_font_get_metrics), (pango_font_get_font_map):
467
 
        * pango/modules.c (build_map):
468
 
        * pango/pango-context.c (get_script), (get_shaper_and_font),
469
 
        (string_from_script), (itemize_state_process_run):
470
 
        * pango/pango-coverage.c (pango_coverage_get):
471
 
        * pango/pango-impl-utils.h:
472
 
        * pango/pango-utils.c:
473
 
        * pango/pangocairo-font.c (pango_cairo_font_get_scaled_font),
474
 
        (_pango_cairo_font_private_get_hex_box_info),
475
 
        (_pango_cairo_font_private_get_glyph_extents_missing):
476
 
        * pango/pangocairo-private.h:
477
 
        * pango/pangocairo-render.c (_pango_cairo_renderer_draw_frame),
478
 
        (_pango_cairo_renderer_draw_box_glyph),
479
 
        (_pango_cairo_renderer_draw_unknown_glyph):
480
 
        * pango/pangofc-fontmap.c (pango_fc_font_map_get_patterns):
481
 
        * pango/pangoft2-private.h:
482
 
        * pango/pangoft2-render.c (pango_ft2_font_render_box_glyph),
483
 
        (pango_ft2_font_render_glyph), (pango_ft2_renderer_draw_glyph):
484
 
        * pango/pangoft2.c (pango_ft2_font_get_face),
485
 
        (pango_ft2_font_get_glyph_extents):
486
 
        * pango/pangox.c (pango_x_find_subfont), (pango_x_render):
487
 
        * pango/pangoxft-font.c (_pango_xft_font_get_mini_font),
488
 
        (get_glyph_extents_missing), (pango_xft_font_get_font):
489
 
        * pango/pangoxft-private.h:
490
 
        * pango/pangoxft-render.c (get_total_matrix), (draw_box),
491
 
        (_pango_xft_renderer_draw_box_glyph),
492
 
        (_pango_xft_renderer_draw_unknown_glyph),
493
 
        (pango_xft_renderer_draw_glyphs):
494
 
        * pango/shape.c (pango_shape):
495
 
        Render PANGO_GLYPH_INVALID_INPUT to a single-width box with a cross
496
 
        inside.  Also cleanup spewed warnings and warn at the source, where
497
 
        we fail to find a shaper, instead of at every location that we see
498
 
        a NULL font.
499
 
 
500
 
        * pango/pango-font.h:
501
 
        * docs/pango-sections.txt:
502
 
        * docs/tmpl/glyphs.sgml:
503
 
        New public macro:
504
 
 
505
 
                PANGO_GLYPH_INVALID_INPUT
506
 
 
507
 
2007-12-05  Behdad Esfahbod  <behdad@gnome.org>
508
 
 
509
 
        * examples/cairotwisted.c (point_on_path): Optimize double math.
510
 
 
511
 
2007-12-05  Behdad Esfahbod  <behdad@gnome.org>
512
 
 
513
 
        Bug 501938 – Arabic shaping broken with vertical layout with
514
 
        vertical-hint=line
515
 
 
516
 
        * modules/arabic/arabic-fc.c (arabic_engine_shape): Take gravity into
517
 
        equation when deciding whether to shape visually or logically.
518
 
 
519
 
2007-12-05  Behdad Esfahbod  <behdad@gnome.org>
520
 
 
521
 
        * pango-view/viewer-pangocairo.c (render_callback): Fix assertion
522
 
        in pango_gravity_get_rotation().
523
 
 
524
 
2007-12-04  Behdad Esfahbod  <behdad@gnome.org>
525
 
 
526
 
        Bug 501575 – Compile errors
527
 
        Patch from Jens Granseuer
528
 
 
529
 
        * pango/opentype/harfbuzz-stream.c (_hb_font_goto_table):
530
 
        * pango/pango-utils.c (handle_alias_line):
531
 
        Fix C99ism.
532
 
 
533
 
2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
534
 
 
535
 
        * === Released 1.19.1 ===
536
 
 
537
 
        * configure.in: Version 1.19.1
538
 
 
539
 
        * NEWS: Updated.
540
 
 
541
 
2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
542
 
 
543
 
        Bug 501317 – "and" found where word should be "an"
544
 
 
545
 
        * docs/tmpl/layout.sgml: Fix typo.
546
 
 
547
 
2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
548
 
 
549
 
        * examples/cairotwisted.c: Add some more comments to document
550
 
        the math involved.
551
 
 
552
 
2007-11-30  Behdad Esfahbod  <behdad@gnome.org>
553
 
 
554
 
        * examples/cairotwisted.c (two_points_distance), (curve_length),
555
 
        (parametrize_path), (point_on_path), (draw_twisted), (main):
556
 
        Document cairotwisted example.
557
 
 
558
 
2007-11-29  Behdad Esfahbod  <behdad@gnome.org>
559
 
 
560
 
        * example/cairo*.c: Add some documentation.
561
 
 
562
 
2007-11-29  Behdad Esfahbod  <behdad@gnome.org>
563
 
 
564
 
        Bug 485536 – underline_position can be zero
565
 
 
566
 
        * pango/pango-utils.c (pango_cairo_quantize_line_geometry):
567
 
        Document that returned position may be zero.
568
 
 
569
 
        * pango/pangocairo-win32font.c
570
 
        (pango_cairo_win32_font_create_metrics_for_context):
571
 
        * pango/pangofc-font.c (get_face_metrics):
572
 
        Handle case of underline_position==0 after rounding.
573
 
 
574
 
2007-11-29  Behdad Esfahbod  <behdad@gnome.org>
575
 
 
576
 
        Bug 500549 – pangocairo.h should include pango.h and cairo.h
577
 
 
578
 
        * pango/pangocairo.h: #include <pango/pango.h>
579
 
 
580
 
2007-11-23  Behdad Esfahbod  <behdad@gnome.org>
581
 
 
582
 
        * docs/check.docs: Make it reusable by not hardcoding "pango".
583
 
 
584
 
2007-11-23  Behdad Esfahbod  <behdad@gnome.org>
585
 
 
586
 
        * pango/opentype/harfbuzz-impl.c: Remove unused macro.
587
 
 
588
 
2007-11-18  Behdad Esfahbod  <behdad@gnome.org>
589
 
 
590
 
        * docs/Makefile.am: Replace GNU-specific syntax with more general one.
591
 
 
592
 
2007-11-16  Tor Lillqvist  <tml@novell.com>
593
 
 
594
 
        * pango/pango-utils.c (handle_alias_line): Factor out the common
595
 
        code from read_builtin_aliases() and read_alias_file(). (#492517)
596
 
 
597
 
2007-11-09  Behdad Esfahbod  <behdad@gnome.org>
598
 
 
599
 
        * pango/Makefile.am: Include ATSUI included modules.
600
 
 
601
 
2007-11-08  Behdad Esfahbod  <behdad@gnome.org>
602
 
 
603
 
        Bug 495091 – pango-utils.c:variable is declared at middle of block
604
 
 
605
 
        * pango/pango-utils.c (read_builtin_aliases): Move variable
606
 
        declaraction before code.
607
 
 
608
 
2007-11-07  Behdad Esfahbod  <behdad@gnome.org>
609
 
 
610
 
        * pango/opentype/*: And some more.
611
 
 
612
 
2007-11-07  Behdad Esfahbod  <behdad@gnome.org>
613
 
 
614
 
        * pango/opentype/*: Some more cleanup and merging.
615
 
 
616
 
2007-11-05  Behdad Esfahbod  <behdad@gnome.org>
617
 
 
618
 
        * tools/gen-script-for-lang-new.c (scripts_for_lang), (main):
619
 
        Update to new propsed language enumeration API for fontconfig.
620
 
 
621
 
2007-11-02  Tor Lillqvist  <tml@novell.com>
622
 
 
623
 
        * pango/pango-utils.c (read_builtin_aliases, pango_load_aliases):
624
 
        On Windows store the default aliases file in a string
625
 
        array. (#492517)
626
 
 
627
 
        Compared to the pango.aliases file as distributed with my most
628
 
        recent Windows builds there are some changes: Add the DejaVu fonts
629
 
        as the first ones listed for the generic sans, serif and mono font
630
 
        names. Use Tahoma instead of Arial for sans, and Georgia instead
631
 
        of Times New Roman for serif (to be used if the DejaVu fonts
632
 
        aren't present). Add Arial Unicode MS (a font with quite large
633
 
        coverage that comes with MS Office and thus is often
634
 
        available). Add Sylfaen (the Armenian and Georgian font bundled
635
 
        with Windows).
636
 
 
637
 
        When using the MS-Windows theme the font used by GTK+ will the
638
 
        system UI one. Both fonts typically used as system fonts, Tahoma
639
 
        (on XP) and Segoe UI (on Vista), are aliased here.
640
 
 
641
 
        * pango/pango-utils.c (read_alias_file): Accept also a quoted
642
 
        string for the left-hand side of an aliases file line. This is to
643
 
        enable aliasing fonts with spaces in their name, like "Segoe UI"
644
 
        which is the default system font on Vista. (#492504) (With the
645
 
        above built-in default aliases lists, no actual pango.aliases file
646
 
        is longer required on Windows for non-Latin script support,
647
 
        though.)
648
 
 
649
 
2007-10-30  Behdad Esfahbod  <behdad@gnome.org>
650
 
 
651
 
        * docs/pango-sections.txt:
652
 
        * docs/tmpl/main.sgml:
653
 
        * docs/tmpl/vertical.sgml:
654
 
        Improve vertical docs.
655
 
 
656
 
2007-10-29  Behdad Esfahbod  <behdad@gnome.org>
657
 
 
658
 
        * === Released 1.19.0 ===
659
 
 
660
 
        * configure.in: Version 1.19.0
661
 
 
662
 
        * NEWS: Updated.
663
 
 
664
 
2007-10-28  Behdad Esfahbod  <behdad@gnome.org>
665
 
 
666
 
        * pango/pango-script-lang-table.h:
667
 
        * tools/gen-script-for-lang-new.c:
668
 
        Sort scripts based on frequency.
669
 
 
670
 
        * tools/Makefile.am: Don't build anything by default.
671
 
 
672
 
2007-10-26  Murray Cumming  <murrayc@murrayc.com>
673
 
 
674
 
        * docs/pango_markup.sgml: Adds a link to 
675
 
        pango_font_description_from_string() so that the font_desc 
676
 
        attribute is not so mysterious. Bug #490661.
677
 
 
678
 
2007-10-26  Behdad Esfahbod  <behdad@gnome.org>
679
 
 
680
 
        * tools/Makefile.am:
681
 
        * tools/gen-script-for-lang-new.c:
682
 
        Functional dup of gen-script-for-lang that uses FcGetLangs() and
683
 
        FcCharSetForLang() instead of parsing .orth files.
684
 
 
685
 
2007-10-26  Behdad Esfahbod  <behdad@gnome.org>
686
 
 
687
 
        * pango/pango-script-lang-table.h: Update for fontconfig-2.4.91.
688
 
 
689
 
2007-10-25  Behdad Esfahbod  <behdad@gnome.org>
690
 
 
691
 
        * pango/pangofc-fontmap.c (pango_fc_font_map_get_patterns):
692
 
        Call FcFontSetDestroy() instead of FcFontSetSortDestroy().
693
 
        These days they are the same, but previously the latter was
694
 
        not freeing the actual patterns.  But we don't need the
695
 
        sort patterns, so this retroactively fixes a leak in older
696
 
        versions!
697
 
 
698
 
2007-10-25  Behdad Esfahbod  <behdad@gnome.org>
699
 
 
700
 
        * pango/opentype/*: Even more cleanup and more type renames.
701
 
 
702
 
2007-10-25  Behdad Esfahbod  <behdad@gnome.org>
703
 
 
704
 
        * pango/opentype/*: More cleanup, remove redundant error types.
705
 
 
706
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
707
 
 
708
 
        * pango/opentype/*: Rename ftglue.c to harfbuzz-impl.c and more
709
 
        type renames and moving code around.
710
 
 
711
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
712
 
 
713
 
        * pango/opentype/*: New header file harfbuzz-global.h.  Rename
714
 
        FT_* int types to HB_* types.
715
 
 
716
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
717
 
 
718
 
        * pango/opentype/harfbuzz-gpos-private.h:
719
 
        * pango/opentype/harfbuzz-gsub-private.h:
720
 
        Add commented-out dummy struct for Extension lookups.
721
 
 
722
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
723
 
 
724
 
        Bug 478865 – Drastically reduce number of PangoFont objects created
725
 
        for rotating text
726
 
 
727
 
        * pango/pangofc-fontmap.c (fontset_hash_key_hash),
728
 
        (get_scaled_size), (pango_fc_font_map_get_patterns):
729
 
        Use a Pango-unit int for scaled-size instead of double.
730
 
        Merges even more queries...
731
 
 
732
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
733
 
 
734
 
        Bug 478865 – Drastically reduce number of PangoFont objects created
735
 
        for rotating text
736
 
 
737
 
        * pango/pangofc-fontmap.c (fontset_hash_key_equal),
738
 
        (fontset_hash_key_hash), (fontset_hash_key_copy),
739
 
        (get_scaled_size), (pango_fc_font_map_get_patterns):
740
 
        Only keep scaled-size in fontset hash, instead of unscaled-size
741
 
        and context matrix.
742
 
 
743
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
744
 
 
745
 
        Bug 471568 – Optimizations in _pango_cairo_update_context()
746
 
 
747
 
        * pango/pangocairo-context.c (_pango_cairo_update_context):
748
 
        Skip change notification about matrix changes if merged font
749
 
        options for the context set metrics hinting to off.
750
 
 
751
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
752
 
 
753
 
        Bug 489909 – pango_cairo_update_context() should ignore matrix
754
 
        translation
755
 
 
756
 
        * pango/pangocairo-context.c (_pango_cairo_update_context):
757
 
        Just compare the first four doubles of matrices for change
758
 
        notification purposes.
759
 
 
760
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
761
 
 
762
 
        Bug 486951 – ChangeLog.pre-1-18
763
 
 
764
 
        * Makefile.am:
765
 
        * ChangeLog.pre-1-18:
766
 
        Split ChangeLog.
767
 
 
768
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
769
 
 
770
 
        * pango/glyphstring.c (pango_glyph_string_copy),
771
 
        (pango_glyph_string_free):
772
 
        Fix another Oops of mine from recent commits.
773
 
 
774
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
775
 
 
776
 
        Bug 472924 – Mark some classes abstract
777
 
 
778
 
        * pango/fonts.c:
779
 
        * pango/pango-fontmap.c:
780
 
        * pango/pangofc-font.c:
781
 
        * pango/pangofc-fontmap.c:
782
 
        Public API chance:
783
 
        Mark the following types as abstract:
784
 
 
785
 
                PangoFont
786
 
                PangoFontFace
787
 
                PangoFontFamily
788
 
                PangoFontMap
789
 
                PangoFcFont
790
 
                PangoFcFontMap
791
 
 
792
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
793
 
 
794
 
        Bug 472303 – Make PANGO_GLYPH_EMPTY and PANGO_GLYPH_UNKNOWN_FLAG public
795
 
 
796
 
        * pango/pango-font.h: Make PANGO_GLYPH_EMPTY, PANGO_GLYPH_UNKNOWN_FLAG,
797
 
        and PANGO_GET_UNKNOWN_GLYPH() public.  Previously they were only
798
 
        defined for backend/engine implementations.
799
 
 
800
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
801
 
 
802
 
        Bug 471601 – Pass pango version information to fontconfig
803
 
 
804
 
        * pango/pangofc-fontmap.h:
805
 
        New public API:
806
 
        
807
 
                PANGO_FC_GRAVITY
808
 
                PANGO_FC_VERSION
809
 
 
810
 
        * pango/pangofc-fontmap.c (pango_fc_make_pattern):
811
 
        Set PANGO_FC_VERSION in pattern.
812
 
 
813
 
        * docs/pango-sections.txt:
814
 
        * docs/tmpl/pangofc-fontmap.sgml:
815
 
        Update.
816
 
 
817
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
818
 
 
819
 
        Bug 472629 – Add pango_renderer_get_layout(_line)
820
 
 
821
 
        * pango/pango-renderer.h:
822
 
        * pango/pango-renderer.c:
823
 
        New public API:
824
 
 
825
 
                pango_renderer_get_layout()
826
 
                pango_renderer_get_layout_line()
827
 
 
828
 
        * pango/pangocairo-render.c (pango_cairo_renderer_draw_shape),
829
 
        (release_renderer), (_pango_cairo_do_layout_line),
830
 
        (_pango_cairo_do_layout): Use above API to simplify
831
 
        shape_renderer implementation.
832
 
 
833
 
        * pango/pango.def:
834
 
        * docs/pango-sections.txt:
835
 
        * docs/tmpl/pango-renderer.sgml:
836
 
        Update.
837
 
 
838
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
839
 
 
840
 
        * pango/pango-attributes.c: Fix couple Oopses from my last
841
 
        commit.
842
 
 
843
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
844
 
 
845
 
        Bug 469641 – Initialize attribute start/end to [0..MAXUINT]
846
 
 
847
 
        * pango/pango-attributes.h:
848
 
        * pango/pango-attributes.c:
849
 
        New public API:
850
 
        
851
 
                pango_attribute_init()
852
 
 
853
 
        * pango/pango-attributes.c:
854
 
        (pango_attr_string_new), (pango_attr_language_new),
855
 
        (pango_attr_color_new), (pango_attr_int_new),
856
 
        (pango_attr_float_new), (pango_attr_size_new_internal),
857
 
        (pango_attr_font_desc_new), (pango_attr_shape_new_with_data):
858
 
        Initialize attributes using pango_attribute_init().
859
 
 
860
 
        * pango/pango.def:
861
 
        * docs/pango-docs.sgml:
862
 
        * docs/pango-sections.txt:
863
 
        * docs/tmpl/text-attributes.sgml:
864
 
        Update.
865
 
 
866
 
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
867
 
 
868
 
        Bug 471577 – GBoxed GType for PangoGlyphItem
869
 
 
870
 
        * pango/pango-glyph-item.h:
871
 
        * pango/pango-glyph-item.c:
872
 
        New public API:
873
 
 
874
 
                PANGO_TYPE_GLYPH_ITEM
875
 
                pango_glyph_item_copy()
876
 
                pango_glyph_item_get_type()
877
 
 
878
 
        * pango/pango-layout.c:
879
 
        New public API:
880
 
        
881
 
                pango_layout_iter_copy()
882
 
 
883
 
        * pango/fonts.c (pango_font_description_copy),
884
 
        (pango_font_description_copy_static),
885
 
        (pango_font_description_free), (pango_font_descriptions_free),
886
 
        (pango_font_metrics_ref), (pango_font_metrics_unref):
887
 
        * pango/glyphstring.c (pango_glyph_string_copy),
888
 
        (pango_glyph_string_free):
889
 
        * pango/pango-attributes.c (pango_attr_list_ref),
890
 
        (pango_attr_list_unref), (pango_attr_list_copy):
891
 
        * pango/pango-color.c (pango_color_copy), (pango_color_free):
892
 
        * pango/pango-item.c (pango_item_copy), (pango_item_free):
893
 
        * pango/pango-layout.c (pango_layout_line_ref),
894
 
        (pango_layout_line_unref), (pango_layout_iter_copy),
895
 
        (pango_layout_iter_free):
896
 
        * pango/pango-layout.h:
897
 
        * pango/pango-matrix.c (pango_matrix_copy), (pango_matrix_free):
898
 
        Update all copy/free functions to accept NULL as legitimate input.
899
 
        Previously all were g_return_[val_]if_fail()ing it.
900
 
 
901
 
        * pango/pango.def:
902
 
        * docs/pango-sections.txt:
903
 
        * docs/tmpl/glyphs.sgml:
904
 
        * docs/tmpl/layout.sgml:
905
 
        Update.
906
 
 
907
 
2007-10-22  Behdad Esfahbod  <behdad@gnome.org>
908
 
 
909
 
        Bug 471571 – Add pango_layout_iter_get_layout()
910
 
 
911
 
        * pango/pango-layout.h:
912
 
        * pango/pango-layout.c: 
913
 
        New public API:
914
 
 
915
 
                pango_layout_iter_get_layout()
916
 
 
917
 
        * docs/pango-sections.txt:
918
 
        * docs/tmpl/layout.sgml:
919
 
        * pango/pango.def:
920
 
 
921
 
2007-10-22  Behdad Esfahbod  <behdad@gnome.org>
922
 
 
923
 
        * docs/tmpl/layout.sgml: Remove obsolete comment. PangoLayoutRun
924
 
        is not deprecated.  It's just same type as PangoGlyphItem.
925
 
 
926
 
2007-10-21  Behdad Esfahbod  <behdad@gnome.org>
927
 
 
928
 
        * pango/pango-layout.h: Remove obsolete comment. PangoLayoutRun is
929
 
        not deprecated.  It's just same type as PangoGlyphItem.
930
 
 
931
 
2007-10-21  Behdad Esfahbod  <behdad@gnome.org>
932
 
 
933
 
        Bug 488840 – harfbuzz: protect against ligid overflow
934
 
 
935
 
        * pango/opentype/harfbuzz-buffer.c (_hb_buffer_allocate_ligid):
936
 
        Never return zero, even in case of overflow.
937
 
 
938
 
        * pango/opentype/harfbuzz-impl.h: Define dummy HB_LIKELY() and
939
 
        HB_UNLIKELY(), to be filled later.
940
 
 
941
 
2007-10-20  Behdad Esfahbod  <behdad@gnome.org>
942
 
 
943
 
        * examples/cairotwisted.c (curve_length): Implement bezier curve
944
 
        length function that flattens the curve and sum the length of straight
945
 
        lines approximating it.
946
 
 
947
 
2007-10-15  Behdad Esfahbod  <behdad@gnome.org>
948
 
 
949
 
        Bug 483600 – Leak of font family name in
950
 
        pango_win32_font_description_from_logfont(w)
951
 
        Patch from Daniel Atallah
952
 
 
953
 
        * pango/pangowin32-fontmap.c
954
 
        (pango_win32_font_description_from_logfont),
955
 
        (pango_win32_font_description_from_logfontw):
956
 
        Free family.
957
 
 
958
 
2007-10-15  Behdad Esfahbod  <behdad@gnome.org>
959
 
 
960
 
        Bug 486932 – Apply vkrn GPOS feature in vertical writing
961
 
 
962
 
        * modules/basic/basic-fc.c (basic_engine_shape): Apply vkrn
963
 
        GPOS feature in vertical writing mode.  Previously we had
964
 
        no GPOS feature for vertical mode.
965
 
 
966
 
2007-10-15  Behdad Esfahbod  <behdad@gnome.org>
967
 
 
968
 
        Bug 481537 – compiler warning fixes
969
 
        Patch from Kjartan Maraas
970
 
 
971
 
        * pango/break.c (pango_get_log_attrs):
972
 
        * pango/pango-attributes.c (pango_attr_list_insert_internal):
973
 
        * pango/pango-layout.c (process_item), (justify_clusters):
974
 
        * pango/pango-markup.c (span_parse_boolean):
975
 
        * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize),
976
 
        (pango_ot_ruleset_new):
977
 
        * pango/pango-utils.c (pango_scan_int):
978
 
        * pango/pangocairo-font.c (_pango_cairo_font_install):
979
 
        * pango/pangofc-font.c (pango_fc_font_create_metrics_for_context):
980
 
        * pango/pangoft2.c (load_fallback_face):
981
 
        * pango/pangox-fontmap.c (pango_x_get_coverage_win):
982
 
        * pango/pangox.c (itemize_string_foreach):
983
 
        Fix warnings.
984
 
 
985
 
2007-10-11  Behdad Esfahbod  <behdad@gnome.org>
986
 
 
987
 
        Bug 485566 – Cache one OpenType Buffer
988
 
 
989
 
        * pango/pango-ot-buffer.c (acquire_buffer), (release_buffer),
990
 
        (pango_ot_buffer_new), (pango_ot_buffer_destroy):
991
 
        * pango/pango-ot-private.h:
992
 
        Cache one HB_Buffer that is acquired using a lock.  A new one is
993
 
        created if the shared buffer is locked.  The shared buffer is
994
 
        cleared when released.  May want to make it free shared buffer if
995
 
        buffer->allocated is too large.  Not sure.
996
 
 
997
 
2007-10-11  Behdad Esfahbod  <behdad@gnome.org>
998
 
 
999
 
        * pango/opentype/*: Mark internal symbols as HB_INTERNAL and
1000
 
        define that to static in harfbuzz.c.
1001
 
 
1002
 
        * pango/opentype/harfbuzz-buffer-internal.h: New file.
1003
 
 
1004
 
2007-10-11  Behdad Esfahbod  <behdad@gnome.org>
1005
 
 
1006
 
        * pango/opentype/ftglue.[ch]: Remove FTGLUE_API/APIDEF cruft.
1007
 
 
1008
 
2007-10-11  Behdad Esfahbod  <behdad@gnome.org>
1009
 
 
1010
 
        * pango/opentype/Makefile.am: Build harfbuzz.c instead of individual
1011
 
        source files, to let compiler go wild with optimizations!
1012
 
 
1013
 
2007-10-11  Behdad Esfahbod  <behdad@gnome.org>
1014
 
 
1015
 
        * pango/opentype/harfbuzz.c: Same here.
1016
 
 
1017
 
2007-10-11  Behdad Esfahbod  <behdad@gnome.org>
1018
 
 
1019
 
        * pango/opentype/Makefile.am: Don't include harfbuzz-dump.[ch] in
1020
 
        libharfbuzz.a.  Those are just used by the harfbuzz-dump tool.
1021
 
 
1022
 
2007-10-11  Behdad Esfahbod  <behdad@gnome.org>
1023
 
 
1024
 
        * pango/opentype/harfbuzz-buffer.c: Some more cleanup.
1025
 
 
1026
 
2007-10-11  Behdad Esfahbod  <behdad@gnome.org>
1027
 
 
1028
 
        * pango/opentype/harfbuzz-buffer.c: Move some code around.
1029
 
 
1030
 
2007-10-11  Behdad Esfahbod  <behdad@gnome.org>
1031
 
 
1032
 
        * pango/opentype/harfbuzz-buffer.[ch]: Rename buffer->inplace to
1033
 
        buffer->separate_out with the inverted meaning, such that buffer
1034
 
        is initialization is memset(0).
1035
 
 
1036
 
2007-10-11  Behdad Esfahbod  <behdad@gnome.org>
1037
 
 
1038
 
        * pango/opentype/*: Allocate buffer->positions lazily.
1039
 
 
1040
 
2007-10-11  Behdad Esfahbod  <behdad@gnome.org>
1041
 
 
1042
 
        Bug 485621 – Get rid of freetype memory allocator in harfbuzz
1043
 
 
1044
 
        * pango/opentype/*: Remove all occurences of FT_Memory.  Use
1045
 
        malloc/realloc/free directly.
1046
 
 
1047
 
        * pango/pango-ot*: Update to above.
1048
 
 
1049
 
2007-10-10  Behdad Esfahbod  <behdad@gnome.org>
1050
 
 
1051
 
        Bug 485559 – Boston Summit HarfBuzz optimizations
1052
 
 
1053
 
        * pango/opentype/*: HarfBuzz hacking to:
1054
 
 
1055
 
          - Rename last remaining FT_Err stuff to HB_Err.
1056
 
 
1057
 
          - Fix a couple invalid table paths to be permissive so
1058
 
            fonts work better.  Particularly GDEF table for Nafees
1059
 
            Nastaliq is loaded and works great now.
1060
 
 
1061
 
          - Optimize harfbuzz buffer to not copy/swap for simple
1062
 
          one-to-one and "copy" GSUB operations.
1063
 
 
1064
 
        * pango/pango-ot*: Update to FT_Err to HB_Err renaming.
1065
 
 
1066
 
2007-09-21  Behdad Esfahbod  <behdad@gnome.org>
1067
 
 
1068
 
        * pango/pangofc-fontmap.c: Fix typo in comments.
1069
 
 
1070
 
2007-09-17  Behdad Esfahbod  <behdad@gnome.org>
1071
 
 
1072
 
        * === Released 1.18.2 ===
1073
 
 
1074
 
        * configure.in: Version 1.18.2
1075
 
 
1076
 
        * NEWS: Updated.
1077
 
 
1078
 
2007-09-07  Behdad Esfahbod  <behdad@gnome.org>
1079
 
 
1080
 
        Bug 474708 – pangocairo leaks memory
1081
 
 
1082
 
        * pango-view/viewer-pangocairo.c (pangocairo_view_create):
1083
 
        Use pango_cairo_font_map_new() instead of
1084
 
        pango_cairo_font_map_get_default(), so the font map is freed at the
1085
 
        end so we can use valgrind to detect leaks without noise.
1086
 
 
1087
 
2007-09-07  Behdad Esfahbod  <behdad@gnome.org>
1088
 
 
1089
 
        Part of Bug 474708 – pangocairo leaks memory
1090
 
 
1091
 
        * pango/pangocairo-font.c
1092
 
        (_pango_cairo_font_private_get_hex_box_info):
1093
 
        Fix a couple leaks.
1094
 
 
1095
 
        * pango/pangocairo-atsui.h:
1096
 
        * pango/pangocairo-atsuifontmap.c
1097
 
        (pango_cairo_atsui_font_map_finalize):
1098
 
        * pango/pangocairo-fc.h:
1099
 
        * pango/pangocairo-fcfontmap.c (pango_cairo_fc_font_map_finalize):
1100
 
        * pango/pangocairo-win32.h:
1101
 
        * pango/pangocairo-win32fontmap.c
1102
 
        (pango_cairo_win32_font_map_finalize):
1103
 
        Remove unused leftover renderer variable.
1104
 
 
1105
 
        * pango/pangofc-fontmap.c (pango_fc_font_map_finalize): Fix thinko.
1106
 
 
1107
 
2007-09-07  Behdad Esfahbod  <behdad@gnome.org>
1108
 
 
1109
 
        * pango/pangox-fontcache.c (free_cache_entry),
1110
 
        (pango_x_font_cache_free), (pango_x_font_cache_new),
1111
 
        (pango_x_font_cache_load):
1112
 
        * pango/pangox-fontmap.c (pango_x_font_map_finalize),
1113
 
        (pango_x_insert_font):
1114
 
        * pango/pangox.c (free_context_info), (pango_x_get_context),
1115
 
        (pango_x_font_init), (pango_x_font_get_metrics),
1116
 
        (pango_x_insert_subfont), (free_metrics_info),
1117
 
        (pango_x_font_finalize):
1118
 
        Switch some g_new (*, 1) to g_slice_new ()... I know...
1119
 
 
1120
 
2007-09-07  Behdad Esfahbod  <behdad@gnome.org>
1121
 
 
1122
 
        Patch from Chris Wilson
1123
 
 
1124
 
        * pango/pangoft2.c (load_fallback_face): Use g_error() instead
1125
 
        of g_warning()+exit().
1126
 
 
1127
 
2007-09-02  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1128
 
 
1129
 
        Bug 472891 – Bad consistency check in pango_get_log_attrs
1130
 
 
1131
 
        * pango/break.c: Invert the consistency check.
1132
 
 
1133
 
2007-08-29  Behdad Esfahbod  <behdad@gnome.org>
1134
 
 
1135
 
        Bug 302952 – The placement of a diacritic marks for an arabic ligature
1136
 
        is not correct
1137
 
 
1138
 
        * pango/opentype/harfbuzz-buffer.c (hb_buffer_allocate_ligid): Don't
1139
 
        use zero as allocated ligature id.  Zero means no ligature id.
1140
 
 
1141
 
2007-08-28  Behdad Esfahbod  <behdad@gnome.org>
1142
 
 
1143
 
        * pango/pango-ot-ruleset.c (pango_ot_ruleset_init),
1144
 
        (pango_ot_ruleset_new): Move ruleset initialization to _init()
1145
 
        instead of _new().
1146
 
 
1147
 
2007-08-28  Behdad Esfahbod  <behdad@gnome.org>
1148
 
 
1149
 
        Bug 410152 – testboundaries test fails
1150
 
 
1151
 
        * configure.in: Require libthai >= 0.1.9
1152
 
 
1153
 
2007-08-27  Behdad Esfahbod  <behdad@gnome.org>
1154
 
 
1155
 
        * === Released 1.18.1 ===
1156
 
 
1157
 
        * configure.in: Version 1.18.1
1158
 
 
1159
 
        * NEWS: Updated.
1160
 
 
1161
 
2007-08-24  Behdad Esfahbod  <behdad@gnome.org>
1162
 
 
1163
 
        Bug 470042 – missing Macedonian OT tag
1164
 
        Patch from Denis Jacquerye
1165
 
 
1166
 
        * pango/pango-ot-tag.c: Add Macedoninan language tag.
1167
 
 
1168
 
2007-08-21  Behdad Esfahbod  <behdad@gnome.org>
1169
 
 
1170
 
        Bug 468953 – pango-renderer.c: using function without prototype
1171
 
 
1172
 
        * pango/pango-renderer.c: #include <pango-impl-utils.h>
1173
 
 
1174
 
2007-08-21  Behdad Esfahbod  <behdad@gnome.org>
1175
 
 
1176
 
        Bug 463430 – Gets stuck while "formatting message"
1177
 
 
1178
 
        * pango/opentype/harfbuzz-gpos.c (Lookup_PairPos1),
1179
 
        (Lookup_PairPos2), (Lookup_PairPos), (Do_ContextPos):
1180
 
        * pango/opentype/harfbuzz-gsub.c (Do_ContextSubst):
1181
 
        Change type of intermediate index variable from FT_UShort to
1182
 
        FT_ULong as it was overlowing with more than 65536 glyphs.
1183
 
 
1184
 
2007-08-20  Behdad Esfahbod  <behdad@gnome.org>
1185
 
 
1186
 
        * README: Remove reference to required version of glib.  It falls
1187
 
        out of synch every single time.
1188
 
 
1189
462
Local Variables:
1190
463
coding: utf-8
1191
464
End: