~ubuntu-branches/ubuntu/karmic/pango1.0/karmic-security

« back to all changes in this revision

Viewing changes to ChangeLog.pre-1-10

Tags: upstream-1.15.4
ImportĀ upstreamĀ versionĀ 1.15.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2005-08-15  Owen Taylor  <otaylor@redhat.com>
 
2
 
 
3
        * === Released 1.10.0 ===
 
4
 
 
5
        * configure.in: Version 1.10.0
 
6
 
 
7
        * NEWS: Updated.
 
8
 
 
9
2005-08-15  Behdad Esfahbod  <pango@behdad.org>
 
10
 
 
11
        * pango/mini-fribidi/fribidi_tab_char_type_2.i: Updated to
 
12
        that of FriBidi 0.10.5 which corresponds to Unicode 4.1.
 
13
 
 
14
        * pango/mini-fribidi/README: Added note to reflect above change.
 
15
 
 
16
        * pango/mini-fribidi/fribidi_tables.i: Removed.  Not needed
 
17
        since 2002.
 
18
 
 
19
2005-08-15  Owen Taylor  <otaylor@redhat.com>
 
20
 
 
21
        * pango/pango-script.c (pango_script_get_sample_language): 
 
22
        Glagolitic shouldn't have Coptic as a sample language; it was used
 
23
        to write Old Church Slavonic. Tifinagh shouldn't have Berber
 
24
        as a sample language, since it isn't the *primary* script used
 
25
        to write Berber.
 
26
 
 
27
2005-08-15  Owen Taylor  <otaylor@redhat.com>
 
28
 
 
29
        * pango/pangofc-font.c (pango_fc_font_create_metrics_for_context) 
 
30
        pango/pangofc-private.h  pango/pangocairo-fcfcont.c: Cut out the meat of
 
31
        pango_fc_font_get_metrics_for_context() and export it (privately),
 
32
        so that PangoCairoFcFont can create a variant that sets the font
 
33
        options on the context it creates. (#311522)
 
34
 
 
35
2005-08-15  Owen Taylor  <otaylor@redhat.com>
 
36
 
 
37
        * pango/pango-layout.c (pango_layout_line_get_extents): 
 
38
        Fix unconditional access to logical_rect. (#312691,
 
39
        Hans Breuer)
 
40
 
 
41
2005-08-15  Tor Lillqvist  <tml@novell.com>
 
42
 
 
43
        * pango/pango.def: Add pango_item_get_type and
 
44
        pango_layout_line_get_type. Thanks to Vittorio Palmisano for
 
45
        noticing.
 
46
 
 
47
2005-08-15  Behdad Esfahbod  <pango@behdad.org>
 
48
 
 
49
        * pango/opentype/ftglue.h: Replace perror with perror_.
 
50
        Remove FT_BEGIN_STMNT and FT_END_STMNT. (#313477)
 
51
 
 
52
2005-08-14  Behdad Esfahbod  <pango@behdad.org>
 
53
 
 
54
        * examples/HELLO.utf8: Remove some characters at the beginning
 
55
        of the file and add a line break.
 
56
 
 
57
2005-08-09  Keith Packard  <keithp@keithp.com>
 
58
 
 
59
        reviewed by: otaylor
 
60
 
 
61
        * examples/cairoview.c: (update), (expose), (main):
 
62
        Switch to Xlib regions as pixman is destined to disappear.
 
63
 
 
64
2005-08-08  Roozbeh Pournader  <roozbeh@farsiweb.info>
 
65
 
 
66
        * docs/tmpl/scripts.sgml, modules/arabic/arabic-ot.c,
 
67
        pango/pango-script.c, pango/pango-script.h,
 
68
        pango/pango-script-table.h, tools/gen-script-table.pl: Updated to
 
69
        Unicode 4.1, adding new scripts and Arabic joining data. (#312884)
 
70
 
 
71
2005-08-05  Tor Lillqvist  <tml@novell.com>
 
72
 
 
73
        * pango-zip.sh.in: Add pangocairo files. Get the DLLs from "bin"
 
74
        unconditionally, that's where libtool installs them since a long
 
75
        time.
 
76
 
 
77
        * pango/Makefile.am (install-def-files, uninstall-def-files):
 
78
        Install/uninstall also pangocairo .def and .lib files.
 
79
 
 
80
2005-07-30  Hans Breuer  <hans@breuer.org>
 
81
 
 
82
        * pango/makefile.msc : updated
 
83
 
 
84
        * pango/pangocairo-win32font.c(...get_metrics) : dont use ascent
 
85
        where descent is meant. Fixes size of edit boxes for gtk+-2.7
 
86
 
 
87
2005-07-30  Owen Taylor  <otaylor@redhat.com>
 
88
 
 
89
        * configure.in: Use egrep for khmer, like the rest, to
 
90
        fix --with-included-modules. (#311930, Sebastien Bacher)
 
91
 
 
92
2005-07-29  J. Ali Harlow  <ali@juiblex.co.uk>
 
93
 
 
94
        * pango/Makefile.am: Look for pango.def, pangoft2.def and
 
95
        pangowin32.def files in the source directory. Fixes #311971.
 
96
 
 
97
2005-07-26  Manish Singh  <yosh@gimp.org>
 
98
 
 
99
        * pango/pango-utils.c (pango_is_zero_width): put parens around bitwise
 
100
        &, to appease gcc.
 
101
 
 
102
2005-07-26  Owen Taylor  <otaylor@redhat.com>
 
103
 
 
104
        * === Released 1.9.1 ===
 
105
 
 
106
        * configure.in: Version 1.9.1
 
107
 
 
108
        * NEWS: Updated
 
109
 
 
110
2005-07-26    Owen Taylor  <otaylor@redhat.com>
 
111
 
 
112
        * pango/opentype/ftxgsub.c, pango/opentype/ftxgpos.c: Skip lookups
 
113
        with lookup index out of range. (Patch from Behdad Esfahbod, #171170)
 
114
 
 
115
2005-07-26  Owen Taylor  <otaylor@redhat.com>
 
116
 
 
117
        * pango/pangocairo-fontmap.c (pango_cairo_context_get_font_options):
 
118
        Fix mixed code and declarations (#311626, Kazuki IWAMOTO)
 
119
 
 
120
        * pango/pangocairo-win32font.c (pango_cairo_win32_font_install):
 
121
        Fix typo (#311627, Kazuki IWAMOTO)
 
122
 
 
123
2005-07-26  Owen Taylor  <otaylor@redhat.com>
 
124
 
 
125
        Fixes for signed/unsigned in PangoAttrIterator ((#166700,
 
126
        Morten Welinder)
 
127
 
 
128
        * pango/pango-attributes.c (pango_attr_iterator_range): 
 
129
        Clamp results to G_MAXINT to avoid negative numbers from
 
130
        signed/unsigned conversions. 
 
131
 
 
132
        * pango/pango-attributes.c: Make PangoAttrIterator 
 
133
        start_index/end_index unsigned to match PangoAttribute.
 
134
        Change various local variables to match.
 
135
        
 
136
        * pango/ellipsize.c (advance_iterator_to)
 
137
        pango/pango-attributes.c (pango_attr_iterator_range)
 
138
        pango/pango-glyph-item.c (pango_glyph_item_apply_attrs)
 
139
        pango/pango-layout.c (pango_layout_line_get_empty_extents): 
 
140
        Always check the return value from pango_attr_iterator()
 
141
        to deal with potential infinite loops when trying to
 
142
        advance to position G_MAXINT.
 
143
        
 
144
        * pango/pango-layout.c (pango_layout_set_text): Handle
 
145
        the case where the text passed in is longer than
 
146
        than G_MAXINT and length < 0.
 
147
 
 
148
        * pango/pango-attributes.c (pango_attr_list_splice): Be 
 
149
        careful about integer overflow - clamp addition.
 
150
        (#163246, Morten Welinder)
 
151
 
 
152
2005-07-26  Owen Taylor  <otaylor@redhat.com>
 
153
 
 
154
        * modules/indic/indic-ot-class-tables.c (oryaCharClasses):
 
155
        Change U+0B30 from _rv to _rb. Oriya doesn't have a vattu
 
156
        form of ra. (#151393, Gautam Sengupta, fix from
 
157
        Gora Mohanty)
 
158
 
 
159
        * modules/indic/indic-ot-class-tables.c (oryaCharClasses):
 
160
        Change U+B02 from _ma to _mp. Anusvara appears after not
 
161
        above in Oriya. (#311575, Gora Mohanty)
 
162
 
 
163
        * modules/indic/indic-ot-class-tables.c (oryaCharClasses):
 
164
        Classify unicode standard additions U+0B35 (va), 
 
165
        U+0B71 (wa) as _ct. (Also #311575)
 
166
 
 
167
2005-07-26  Behdad Esfahbod  <pango@behdad.org>
 
168
 
 
169
        * examples/cairoview.c, examples/pangoft2topgm.c,
 
170
        examples/renderdemo.c, examples/renderdemo.h: Fixed a couple of leaks
 
171
        and freed memory after use.
 
172
 
 
173
2005-07-25  Owen Taylor  <otaylor@redhat.com>
 
174
 
 
175
        * pango/pangocairo-fcfont.c (pango_cairo_fc_font_install): Set
 
176
        font options as well.
 
177
 
 
178
        * pango/pango-layout.c (line_set_resolved_dir): Always set 
 
179
        line->resolved_dir to one of LTR or RTL. (#171439, Reported
 
180
        by Chris Blizzard)
 
181
 
 
182
2005-07-25  Tor Lillqvist  <tml@novell.com>
 
183
 
 
184
        * configure.in
 
185
        * pango/pangocairo-win32font.c (_pango_cairo_win32_font_new): Fix
 
186
        a few typos that prevented build on Win32.
 
187
 
 
188
        * pango/pango.def: Add pango_is_zero_width.
 
189
 
 
190
2005-07-23  Behdad Esfahbod  <pango@behdad.org>
 
191
 
 
192
        * pango/pango-utils.c, pango/pango-utils.h (pango_is_zero_width): New
 
193
        function added.
 
194
 
 
195
        * modules/basic/basic-common.h, modules/basic/basic-fc.c,
 
196
        modules/basic/basic-win32.c, modules/basic/basic-x.c,
 
197
        modules/hangul/hangul-fc.c, modules/arabic/arabic-fc.c,
 
198
        modules/indic/indic-fc.c, modules/indic/indic-ot.h,
 
199
        modules/syriac/syriac-fc.c:  Use the new pango_is_zero_width function.
 
200
        (#306639, Behnam Esfahbod)
 
201
 
 
202
2005-07-22  Owen Taylor  <otaylor@redhat.com>
 
203
 
 
204
        * pango/pangofc-fontmap.c (get_context_matrix): Handle context == NULL.
 
205
        (Reported by Behdad Esfahbod)
 
206
 
 
207
2005-07-22  Owen Taylor  <otaylor@redhat.com>
 
208
 
 
209
        * pango/Makefile.am configure.in: Use -export-symbols-regex
 
210
        to control symbol exports, including not exporting the symbols
 
211
        from opentype/.
 
212
 
 
213
        * modules/*/Makefile.am: Control symbol exports here as well,
 
214
        simplify using AC_SUBST() of MODULE_LIBTOOL_OPTIONS from configure.in.
 
215
 
 
216
        * pango/pangox-fontmap.c (engine_shape_covers): Cut-and-paste
 
217
        engine_shape_covers to avoid using a symbol from libpango.
 
218
 
 
219
        * pango/pango-utils.c: Make accidentally exported pango_aliases_ht
 
220
        static.
 
221
 
 
222
2005-07-22  Owen Taylor  <otaylor@redhat.com>
 
223
 
 
224
        * pango/pango-layout.c: Add some missing statics on functions
 
225
        added in the recent layout iter patch.
 
226
 
 
227
2005-07-22  Owen Taylor  <otaylor@redhat.com>
 
228
 
 
229
        * pango/opentype/ftglue.c (ftglue_realloc): Remove
 
230
        an unecessary set of block2.
 
231
 
 
232
2005-07-22  Owen Taylor  <otaylor@redhat.com>
 
233
        
 
234
        Patch from David Turner. Review and testing by Behdad Esfahbod
 
235
 
 
236
        * pango/opentype/ftglue.[ch] Makefile.am: Glue layer that provides
 
237
        implementation of the internal functions that the opentype code
 
238
        expects in terms of publically exported FreeType API.
 
239
 
 
240
        * pango/opentype/ftxgdef.c pango/opentype/ftxgpos.c
 
241
        pango/opentype/ftxgsub.c pango/opentype/ftxopen.c
 
242
        pango/opentype/otlbuffer.c pango/opentype/pango-ot-info.c
 
243
        pango/opentype/pango-ot-ruleset.c: Remove includes of 
 
244
        internal headers. Small changes to work with ftglue.[ch]
 
245
 
 
246
        * pango/opentype/fterrcompat.h: Remove: no longer needed.
 
247
 
 
248
        * pango/opentype/ftxgpos.c: Use FT_IS_SFNT(face) rather
 
249
        than poking at FT_MODULE_CLASS (face->driver)->module_name.
 
250
 
 
251
        * pango/opentype/ftxopen.c (Free_FeatureList): Free
 
252
        fl->ApplyOrder. (Found by Behdad)
 
253
 
 
254
2005-07-21  Manish Singh  <yosh@gimp.org>
 
255
 
 
256
        * pango/pangofc-fontmap.c (fontset_hash_key_hash, font_hash_key_hash):
 
257
        use GPOINTER_TO_UINT() instead of bare casts to guint.
 
258
 
 
259
2005-07-21  Owen Taylor  <otaylor@redhat.com>
 
260
 
 
261
        Based on patch from Gustavo J. A. M. Carneiro  (#305975)
 
262
 
 
263
        * pango/pango-layout.[ch] (pango_layout_line_ref)
 
264
        pango/pango-attributes.[ch] (pango_attr_list_ref): Return the
 
265
        argument to _ref() functions.
 
266
 
 
267
        * pango/pango-item.[ch]: Register PangoItem boxed type.
 
268
 
 
269
        * pango/pango-layout.[ch]: Register PangoLayoutLine boxed type.
 
270
        
 
271
2005-07-22  Tor Lillqvist  <tml@novell.com>
 
272
 
 
273
        * pango/pangowin32.c: No need to include modules.h here any
 
274
        longer.
 
275
        (pango_win32_get_context): Remove unused variable.
 
276
        (pango_win32_render_layout_line): Fix underlining. (#304692)
 
277
        Mention in the doc comment that the DC's text alignment needs to
 
278
        have TA_BASELINE and TA_LEFT for underlining to be correct.
 
279
 
 
280
        * pango/pangowin32-fontmap.c: Include modules.h here instead.
 
281
        (pango_win32_font_map_class_init): Define variable i.
 
282
 
 
283
2005-07-21  Owen Taylor  <otaylor@redhat.com>
 
284
 
 
285
        * pango/pangofc-fontmap.c (pango_fc_font_map_add): Fix an
 
286
        excess copy. (pango_fc_font_map_get_patterns): Add back
 
287
        a call to FcPatternDestroy() that got dropped somehow.
 
288
 
 
289
2005-07-21  Owen Taylor  <otaylor@redhat.com>
 
290
 
 
291
        * modules/indic/indic-ot.c: Minor formatting tweak to license
 
292
        header.
 
293
 
 
294
2005-07-21  Owen Taylor  <otaylor@redhat.com>
 
295
 
 
296
        * pango/pangofc-fontmap.c (pango_fc_font_map_load_font): Load a
 
297
        fontset and return the first font to take advantage of existing
 
298
        caching.
 
299
 
 
300
2005-07-21  Owen Taylor  <otaylor@redhat.com>
 
301
 
 
302
        * modules/indic/indic-ot-class-tables.c modules/indic/indic-ot.[ch]:
 
303
        license on these ICU-derived files is X license, not LGPL.
 
304
 
 
305
        * modules/khmer/khmer-fc.c: Add the X license text here in addition 
 
306
        to the LGPL.
 
307
 
 
308
2005-07-21  Owen Taylor  <otaylor@redhat.com>
 
309
 
 
310
        * pango/pangoxft-font.c (_pango_xft_font_new): Force on
 
311
        metrics hinting for all Xft fonts (this fixes font
 
312
        metrics - glyph metrics were fixed earlier).
 
313
        (#307196, Alex Jones)
 
314
 
 
315
2005-07-21  Owen Taylor  <otaylor@redhat.com>
 
316
 
 
317
        * README: Update information about the location of Xft.
 
318
        (#172637, Karel 'Clock' Kulhavy)
 
319
 
 
320
2005-07-21  Owen Taylor  <otaylor@redhat.com>
 
321
 
 
322
        * README: Fix URL to tml's download page (#169467, 
 
323
        Brandon Bergren)
 
324
 
 
325
2005-07-21  Owen Taylor  <otaylor@redhat.com>
 
326
 
 
327
        * pango/pangowin32-fontmap.c (pango_win32_font_map_class_init)
 
328
        Move registration of included modules to here from
 
329
        pango/pangowin32.c (pango_win32_get_context). (#309337, Hans
 
330
        Breuer)
 
331
 
 
332
2005-07-21  Owen Taylor  <otaylor@redhat.com>
 
333
 
 
334
        * modules/indic/indic-ot-class-tables.c: Change the char
 
335
        class for U+0A5C from _cn (consonant with nukta) to _ct.
 
336
        (#309459, Sukhjinder Sidhu)
 
337
 
 
338
2005-07-21  Owen Taylor  <otaylor@redhat.com>
 
339
        
 
340
        * modules/indic/indic-ot-class-tables.c: Enable touching
 
341
        letters for Sinhala with the ZWJ + al-lakuna combination.
 
342
        (#302577, Harshula)
 
343
 
 
344
2005-07-21  Owen Taylor  <otaylor@redhat.com>
 
345
 
 
346
        * pango/pango-layout.c (pango_layout_set_text): Avoid calling
 
347
        memcpy with a NULL argument. (#310021, Morten Welinder)
 
348
 
 
349
2005-07-21  Owen Taylor  <otaylor@redhat.com>
 
350
 
 
351
        Merges of fixes from Arabic module (#308813, Emil Soleyman-Zomalan)
 
352
 
 
353
        * modules/syriac/syriac-fc.c (syriac_engine_shape): Fix 
 
354
        bug where cluster was getting set to 0 for non-spacing
 
355
        marks rather than to the cluster of the base character.
 
356
        (#149126, Behdad Esfahbod)
 
357
 
 
358
        * modules/syriac/syriac-fc.c (syriac_engine_shape): Turn
 
359
        on zero-width-marks setting. [Not clear that this is
 
360
        needed here, since it is mostly set in the Arabic engine
 
361
        to handle legacy fonts, but it shouldn't hurt]
 
362
 
 
363
2005-07-21  Owen Taylor  <otaylor@redhat.com>
 
364
 
 
365
        Fix up places where there is missing or incomplete
 
366
        Copyright and License information (Reported by William N. Ray,
 
367
        #310072)
 
368
 
 
369
        * pango/opentype/fterrcompat.h: Mark as FreeType/GPL licensed.
 
370
 
 
371
        * pango/opentype/FT-license.txt: Make this the dual-licensing
 
372
        description that covers the FreeType code (FreeType's 
 
373
        LICENSE.TXT) rather than the FTL.
 
374
        
 
375
        * pango/opentype/FTL.TXT: Move the FTL (referenced from 
 
376
        FT-license.txt) to here.
 
377
        
 
378
        * modules/basic/basic-common.h modules/hebrew/hebrew-shaper.h
 
379
        modules/thai/thai-charprop.c modules/thai/thai-shaper.h
 
380
        tools/gen-script-for-lang.c tests/testcolor.c: 
 
381
        Add LGPL header and copyright information.
 
382
 
 
383
        * modules/indic/indic-ot.[ch] modules/indic/indic-ot-class-tables.c
 
384
        modules/thai/thai-ot.[ch]: Add LGPL header.
 
385
 
 
386
        * modules/thai/thai-shaper.c modules/thai/thai-charprop.h: 
 
387
        Minor fixes to copyright information.
 
388
 
 
389
        * modules/arabic/arabic-ot.c: Add Freetype license boilerplate.
 
390
 
 
391
2005-07-21  Matthias Clasen  <mclasen@redhat.com>
 
392
 
 
393
        * configure.in: Check for a new enough cairo.
 
394
 
 
395
2005-07-19  Owen Taylor  <otaylor@redhat.com>
 
396
 
 
397
        * pango/pango-fcfontmap.[ch]: Rework handling of context-specific
 
398
        options: drop get_render_key() and add a opaque "context
 
399
        key" (get_context_key() and friends). Also add a function to get
 
400
        the resolution.
 
401
 
 
402
        * pango/pango-fcfontmap.c pango/pangofc-font.h:
 
403
         - Move the 'lang' into the fontset key lookup and get rid of the
 
404
           funky list-of-hash-tables
 
405
         - Make lookups of fontsets and fonts dependent on the context key
 
406
           for the context.
 
407
         - Simplify the pattern/fontset caching to have one finite-size
 
408
           cache rather than an infinite first-level and a finite-size
 
409
           second level.
 
410
 
 
411
        * pango/pangocairo.h pango/pangocairo-private.h
 
412
        pango/pangocairo-fontmap.c: Add
 
413
        pango_cairo_context_get/set_resolution(),
 
414
        pango_cairo_context_set/get_font_options to allow controlling the
 
415
        resolution and font rendering options for a specific PangoContext.
 
416
                        
 
417
        * pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap
 
418
        pango/pangocairo-win32font.c: Implement resolution and font
 
419
        options handling adapt to related Cairo changes.
 
420
 
 
421
        * docs/pango-sections.txt docs/Makefile.am pango/pangowin32.c:
 
422
        Doc updates and build fixes.
 
423
 
 
424
        * pango/pangofc-fontmap.c (pango_fc_make_pattern): Create
 
425
        patterns with FC_SIZE as well as FC_PIXEL_SIZE to work around
 
426
        a libgnomeprint bug. (#309477)
 
427
 
 
428
2005-07-09  Tor Lillqvist  <tml@novell.com>
 
429
 
 
430
        * configure.in: Call AC_CANONICAL_HOST before looking at $host.
 
431
        Check for windres on Win32.
 
432
 
 
433
        * pango/Makefile.am: Don't use the scripts in GLib's build/win32
 
434
        to compile the rc files into resource object files. (This means we
 
435
        lose the build number increment magic, but I doubt it was that
 
436
        useful anyway.) Instead use windres directly. To pass a normal .o
 
437
        file produced by windres through libtool, which wants .lo files,
 
438
        pass it directly to the linker using a -Wl option.
 
439
 
 
440
        Libtool installs/uninstalls the import libraries, no need to do it
 
441
        ourselves. Do install/uninstall the .def files, though.
 
442
 
 
443
        * pango/pango.rc.in
 
444
        * pango/pangoft2.rc.in
 
445
        * pango/pangowin32.rc.in: Correspondingly, use 0 instead of
 
446
        BUILDNUMBER.
 
447
 
 
448
2005-06-27  Tor Lillqvist  <tml@novell.com>
 
449
 
 
450
        * modules/khmer/Makefile.am (INCLUDES): Drop superfluous trailing
 
451
        slash in -I path.
 
452
 
 
453
2005-06-24  Owen Taylor  <otaylor@redhat.com>
 
454
 
 
455
        * pango/pango-layout.c (pango_layout_line_get_extents): Don't
 
456
        key off zero-height to know whether to use the "empty extents" ...
 
457
        this can cause infinite recursion, instead just check 
 
458
        !line->runs. (Part of #306415, Thomas Fitzsimmons)
 
459
 
 
460
2005-06-24  Owen Taylor  <otaylor@redhat.com>
 
461
        
 
462
        * docs/pango_markup.sgml (linkend): Fix a stray newline
 
463
        (#308887, Ryan Lortie)
 
464
 
 
465
2005-06-22  Owen Taylor  <otaylor@redhat.com>
 
466
 
 
467
        * modules/khmer/khmer-fc.c (khmer_engine_shape): Add back
 
468
        accidentally dropped line (Pointed out by Behdad Esfahbod)
 
469
 
 
470
2005-06-21  Behdad Esfahbod  <pango@behdad.org>
 
471
 
 
472
        * modules/khmer/khmer-fc.c: Fix C89 var after code issues.
 
473
 
 
474
        * modules/khmer/.cvsignore: Copied from other modules.
 
475
 
 
476
2005-06-21  Owen Taylor  <otaylor@redhat.com>
 
477
 
 
478
        Fix up the operation of PangoLayoutIter, especially for Bidi
 
479
        (#89541, based on a patch from Amit Aronovitch)
 
480
 
 
481
        * pango/pango-layout.c: Many changes to make iteration 
 
482
        consistently in visual order.
 
483
 
 
484
        * pango/pango-layout.c (pango_layout_iter_next_char): Iterate
 
485
        through each character in the layout exactly once. (Including
 
486
        a hack to get two iterator positions for \r\n)
 
487
 
 
488
        * pango/pango-layout.c (pango_layout_iter_next_cluster): Only
 
489
        iterate through real clusters: that is, positions in the 
 
490
        layout that have glyphs.
 
491
 
 
492
        * pango/pango-layout.c (pango_layout_iter_get_char_extents):
 
493
        Fix to give exactly the same results as 
 
494
        pango_glyph_string_index_to_x: the previous positions didn't
 
495
        completely occupy the entire line.
 
496
 
 
497
        * pango/pango-layout.c (pango_layout_iter_next_line): Remove
 
498
        unneeded updating of iter->index and an associated FIXME.
 
499
        
 
500
        * tests/testiter.c tests/Makefile.am: Add a (somewhat reworked) 
 
501
        test from Amit for the operation of PangoLayoutIter.
 
502
 
 
503
2005-06-21  Owen Taylor  <otaylor@redhat.com>
 
504
 
 
505
        * pango/pangoxft-render.c (get_renderer): Go back to 
 
506
        honoring alpha in the XftColor passed in; it was a 1.6 => 1.8
 
507
        regression. (#169622, based on a patch from Mikael Magnusson)
 
508
 
 
509
2005-06-21  Owen Taylor  <otaylor@redhat.com>
 
510
 
 
511
        * modules/khmer configure.in modules/Makefile.am 
 
512
        modules/makefile.msc: Add a Khmer module by
 
513
        Jens Herden and Javier Sola. (#125605)
 
514
 
 
515
2005-06-20  Owen Taylor  <otaylor@redhat.com>
 
516
 
 
517
        * === Released 1.9.0 ===
 
518
 
 
519
        * NEWS: Update for 1.9.0
 
520
        
 
521
        * README: Update
 
522
 
 
523
2005-06-18  Behdad Esfahbod  <pango@behdad.org>
 
524
 
 
525
        * pango/break.c (pango_find_paragraph_boundary): Optimization.
 
526
        Do not g_utf8_get_char at all. (#305323, Paolo Borelli)
 
527
 
 
528
2005-06-16  Owen Taylor  <otaylor@redhat.com>
 
529
 
 
530
        * pango/pangocairo-fcfont.c (pango_cairo_fc_font_unlock_face): Remove
 
531
        excess return. (#307741, Damien Carbery)
 
532
 
 
533
2005-06-14  Owen Taylor  <otaylor@redhat.com>
 
534
 
 
535
        * modules/indic/indic-ot-class-tables.c (guruCharClasses): Mark
 
536
        U+A33, U+A36 as _cn, not _ct, since they are combinations
 
537
        of other characters with nutka. (#304174, Sukhjinder Sidhu)
 
538
 
 
539
2005-06-14  Owen Taylor  <otaylor@redhat.com>
 
540
        
 
541
        Misc fixes from Stepan Kasal, #169928
 
542
        
 
543
        * pangoxft.pc.in: Add requirement on pangoft2
 
544
 
 
545
        * pangoxft-uninstalled.pc.in: Fix cut-and-paste
 
546
        errors in Name/Description when copying from 
 
547
        pangox-uninstalled.
 
548
 
 
549
        * configure.in: Don't call AC_SUBST() unnecessary
 
550
        for XFT_CFLAGS/LIBS.
 
551
 
 
552
2005-06-14  Owen Taylor  <otaylor@redhat.com>
 
553
 
 
554
        * pango/pango-utils.c (pango_parse_style): Fix some
 
555
        missing case variants in the switch statement.
 
556
        (#169852, Morten Welinder)
 
557
 
 
558
2005-06-14  Owen Taylor  <otaylor@redhat.com>
 
559
        
 
560
        * pango/pango-script-table.h (struct): Hand edit
 
561
        to fix a bug in the 4.0.0 data tables.
 
562
        (#173096, Sukhjinder Sidhu)
 
563
 
 
564
        * tools/gen-script-table.pl: Some updates to handle
 
565
        newer formats (not actually regenerating tables at the
 
566
        moment, since the changes are large)
 
567
 
 
568
2005-06-14  Owen Taylor  <otaylor@redhat.com>
 
569
 
 
570
        #307433, Sebastien Bacher
 
571
 
 
572
        * Makefile.am (EXTRA_DIST): Name the Change.pre-*
 
573
        correctly.
 
574
 
 
575
        * pango/Makefile.am (libpango_1_0_la_SOURCES): Add
 
576
        pango-color-table.h.
 
577
 
 
578
2005-06-14  Owen Taylor  <otaylor@redhat.com>
 
579
 
 
580
        * pango/pango-utils.c: Fix docs, handle a lone '~'
 
581
        (#169851, Morten Welinder)
 
582
 
 
583
2005-06-14  Owen Taylor  <otaylor@redhat.com>
 
584
 
 
585
        * configure.in: Force off gtk-doc in absence of Cairo.
 
586
        (#305652, Amit Aronovitch)
 
587
 
 
588
2005-06-14  Owen Taylor  <otaylor@redhat.com>
 
589
 
 
590
        * pango/opentype/pango-ot-info.c (pango_ot_info_finalize)
 
591
        pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_finalize): 
 
592
        Chain up from finalize. (#307547, Paolo Borelli)
 
593
 
 
594
        * pango/opentype/pango-ot-info.c (pango_ot_info_finalizer):
 
595
        make accidentally public function static.
 
596
 
 
597
2005-06-14  Owen Taylor  <otaylor@redhat.com>
 
598
 
 
599
        * pango/ellipsize.c (shape_ellipsis): Fix FALSE/TRUE
 
600
        typo that was causing crashes with fonts not containing
 
601
        ".". (#304039, Sebastien Bacher) 
 
602
 
 
603
        * pango/pango-context.c (itemize_state_fill_shaper): Allow
 
604
        font to be NULL.
 
605
 
 
606
2005-06-14  Owen Taylor  <otaylor@redhat.com>
 
607
 
 
608
        * pango/pango-context.c (itemize_state_finish): Fix 
 
609
        potential leak of state->base_font. (#168930, Ben Maurer,
 
610
        Aivars Kalvans)
 
611
        
 
612
2005-06-10  Owen Taylor  <otaylor@redhat.com>
 
613
 
 
614
        * pango/pangocairo-fcfont.c: Add a (hopefully temporary) cache
 
615
        in front of getting metrics from Cairo.
 
616
 
 
617
        * pango/pangocairo-fcfont.c: Remove some cast checks in critical
 
618
        code paths.
 
619
 
 
620
2005-05-17  Owen Taylor  <otaylor@redhat.com>
 
621
 
 
622
        * pango/pangofc-fontmap.[ch]: Add a new context_substitute() virtual
 
623
        function that replaces default_substitute() and adds a 
 
624
        PangoContext argument.
 
625
 
 
626
        * pango/pangocairo.h pango/pangocairo-fontmap.c docs/pango-sections.txt:  
 
627
        Add pango_cairo_context_set/get_hinting() to control
 
628
        hinting on individual contexts.
 
629
 
 
630
        * pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap.c:
 
631
        Implement hinting control for the for the fontconfig/cairo
 
632
        backend.
 
633
 
 
634
Tue May 17 07:21:53 2005  Manish Singh  <yosh@gimp.org>
 
635
 
 
636
        * examples/cairoview.c: update for new cairo_xlib_surface API.
 
637
 
 
638
2005-05-16  Owen Taylor  <otaylor@redhat.com>
 
639
 
 
640
        * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_glyph_extents):
 
641
        pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs): 
 
642
        Handle glyph == 0.
 
643
 
 
644
        * modules/indic/indic-ot.h modules/basic/basic-common.h:
 
645
        Treat LINE SEPARATOR as a zero-width character.
 
646
 
 
647
2005-05-16  Owen Taylor  <otaylor@redhat.com>
 
648
 
 
649
        * examples/cairoview.c: Include Xlib.h explicitely before
 
650
        include Xutil.h, since Xutil.h doesn't include Xlib.h on
 
651
        some platforms. (#304317, Damien Carbery)
 
652
 
 
653
Fri May 13 23:54:29 2005  Manish Singh  <yosh@gimp.org>
 
654
 
 
655
        * examples/cairoview.c: #include Xutil.h explicitly, update
 
656
        for renamed cairo API.
 
657
 
 
658
2005-05-11  Owen Taylor  <otaylor@redhat.com>
 
659
 
 
660
        * pango/pangocairo-win32font.c (pango_cairo_win32_font_install):
 
661
        Update for cairo API change.
 
662
        (pango_cairo_win32_font_get_metrics): Fix x/y typo.
 
663
 
 
664
2005-05-07  Owen Taylor  <otaylor@redhat.com>
 
665
 
 
666
        * examples/cairoview.c (update): Remove some accidentally
 
667
        deleted code.
 
668
 
 
669
2005-05-07  Owen Taylor  <otaylor@redhat.com>
 
670
 
 
671
        * pango/pangocairo-fontmap.c pango/pangocairo-render.c
 
672
        examples/cairosimple.c pango/pangocairo-fcfont.c
 
673
        examples/cairoview.c: Update for Cairo API changes.
 
674
 
 
675
2005-04-29  Owen Taylor  <otaylor@redhat.com>
 
676
 
 
677
        * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_glyph_extents):
 
678
        Get the ascent/descent from Cairo to fix bugs in metrics computation
 
679
        with a transformation in effect.
 
680
 
 
681
2005-05-01  Owen Taylor  <otaylor@redhat.com>
 
682
 
 
683
        * examples/cairoview.c: Fix for the change of cairo_clip() not to preserve
 
684
        the path.
 
685
 
 
686
2005-04-28  Tor Lillqvist  <tml@novell.com>
 
687
 
 
688
        * pango/pangocairo-win32font.c (pango_cairo_win32_font_get_font_face): 
 
689
        Correct parameters passed to MultiByteToWideChar(). Pass -1 as
 
690
        source string length so that the target string gets
 
691
        zero-terminated. Size of target array is in number of WCHARs, not
 
692
        number of bytes.
 
693
 
 
694
        Add support to pangowin32 for TrueType fonts with coverage outside
 
695
        the BMP. Fix handling of surrogate pairs in the Uniscribe
 
696
        shaper. (#302238)
 
697
 
 
698
        * pango/pangowin32-private.h (PangoWin32Face): Rename the
 
699
        unicode_table field to cmap. Keep track of its format (4 or 12).
 
700
        (format_12_cmap): Add struct for a format 12 cmap.
 
701
 
 
702
        * pango/pangowin32.c: Corresponding changes. Rename internal
 
703
        functions a bit.
 
704
        (get_format_12_cmap): New function, reads a format 12 cmap.
 
705
        (font_get_cmap): Look for both format 12 (which is preferred) and
 
706
        format 4 cmaps.
 
707
        (pango_win32_font_get_glyph_index,
 
708
        pango_win32_font_calc_coverage): Handle also format 12 cmaps.
 
709
 
 
710
        * modules/basic/basic-win32.c: Handle surrogate pairs in wchar_t
 
711
        strings properly.
 
712
        (unichar_index): New function. Given a wchar_t string and an index
 
713
        into it, calculate the index of the corresponding Unicode
 
714
        character. Each surrogate pair in the wchar_t is just one Unicode
 
715
        character.
 
716
        (set_up_pango_log_clusters, itemize_shape_and_place): Use
 
717
        unichar_index() instead of direct index into wchar_t string.
 
718
 
 
719
Wed Apr 27 15:45:06 2005  Manish Singh  <yosh@gimp.org>
 
720
 
 
721
        * examples/cairoview.c: Update to new Cairo API for writing out PNGs.
 
722
 
 
723
2005-04-28  Changwoo Ryu  <cwryu@debian.org>
 
724
 
 
725
        * modules/hangul/hangul-defs.h: Cleanups.
 
726
 
 
727
2005-04-25  Changwoo Ryu  <cwryu@debian.org>
 
728
 
 
729
        * modules/hangul/hangul-fc.c (render_basic): handles zero width
 
730
        chars, patch by Young-Ho Cha. (#157565)
 
731
 
 
732
Mon Apr 18 15:49:36 2005  Manish Singh  <yosh@gimp.org>
 
733
 
 
734
        * examples/cairoview.c: Update to new Cairo API for setting color
 
735
        and opacity.
 
736
 
 
737
2005-04-12  Tor Lillqvist  <tml@novell.com>
 
738
 
 
739
        * pango/opentype/Makefile.am: Rename LDADDS to
 
740
        libpango_ot_la_LIBADD to actually make libpango-ot.la link with
 
741
        it.
 
742
 
 
743
        * pango/pangowin32.def: Rename get_scale_factor to
 
744
        get_metrics_factor here, too. (#300222, Ivan Wong)
 
745
 
 
746
Fri Apr  8 15:30:55 2005  Manish Singh  <yosh@gimp.org>
 
747
 
 
748
        * examples/cairoview.c: #include <pixman.h> since the cairo headers
 
749
        don't include it for us anymore.
 
750
 
 
751
2005-04-08  Owen Taylor  <otaylor@redhat.com>
 
752
 
 
753
        * pango/pangocairo-font.c (_pango_cairo_font_install): Remove
 
754
        stray return. (#173046, Damien Carbery)
 
755
 
 
756
Thu Apr  7 22:45:32 2005  Manish Singh  <yosh@gimp.org>
 
757
 
 
758
        * configure.in: Test for renamed cairo_ft_scaled_font_lock_face().
 
759
 
 
760
2005-04-07  Owen Taylor  <otaylor@redhat.com>
 
761
 
 
762
        * configure.in: Test for renamed
 
763
        cairo_win32_scaled_font_select_font().
 
764
 
 
765
        * pango/pangocairo-win32font.c: Fix various compilation errors.
 
766
 
 
767
        * pango/pangocairo-fcfont.c pango/pangocairo-win32font.c
 
768
        pango/pangocairo-fontmap.c: Use new matrix API.
 
769
 
 
770
        * pango/pangocairo-fcfont.c pango/pangocairo-win32font.c 
 
771
        pango/pangocairo-render.c: Update to new Cairo font API.
 
772
 
 
773
        * pangpopangowin32.h pango/pangowin32-private.h pango/pangowin32.c
 
774
        pango/pangocairo-win32font.c modules/basic/basic-win32.c: Rename
 
775
        get_scale_factor() to get_metrics_factor() to match Cairo.
 
776
 
 
777
2005-04-04  Hans Breuer  <hans@breuer.org>
 
778
 
 
779
        * pango/pangocairo-win32font.c(pango_cairor_win32_font_get_metrics) :
 
780
        variable declaration on the start of the block, not C99 everywhere.
 
781
 
 
782
        * examples/viewer-win32.c : updated to not so recent Pango api changes
 
783
 
 
784
        * pango/makefile.msc : pangocairo build win32 version, not freetype
 
785
 
 
786
2005-04-01  Carl Worth  <cworth@cworth.org>
 
787
 
 
788
        * examples/cairosimple.c: (main): Update to track removal of
 
789
        cairo_set_target_png from cairo.
 
790
 
 
791
2005-03-24  Theppitak Karoonboonyanan  <thep@linux.thai.net>
 
792
 
 
793
        * modules/thai/thai-fc.c (tis620_1), modules/thai/thai-shaper.c
 
794
        (Mac_shape_table): Added more MacThai PUA glyphs that are not defined
 
795
        in vendor data at Unicode.org, but just available in actual fonts.
 
796
 
 
797
2005-03-20  Tor Lillqvist  <tml@novell.com>
 
798
 
 
799
        * modules/basic/basic-win32.c (make_langid): Leave out some
 
800
        languages that don't have any own digits.
 
801
        (itemize_shape_and_place): Force fRTL for each item returned from
 
802
        ScriptItemize() to the bidi embedding parity for the whole
 
803
        run. Pango passes us a run that it correctly has analyzed should
 
804
        be of a certain direction, but ScriptItemize() still might split
 
805
        it into items, some of which have neutral direction. (#170931)
 
806
        (text_is_simple): Use g_utf8_to_utf16().
 
807
 
 
808
2005-03-18  Hans Breuer  <hans@breuer.org>
 
809
 
 
810
        * pango/pango.def pango/pangocairo.def : updated externals
 
811
 
 
812
        * pango/pangowin32.c(pango_win32_render_transformed) : matrix elements 
 
813
        xy and yx are needed the other way around for XFORM
 
814
 
 
815
2005-03-17  Owen Taylor  <otaylor@redhat.com>
 
816
 
 
817
        * pango/pangocairo-win32font.c (_pango_cairo_win32_font_new):
 
818
        Set win32font->logfont. (How was this working at all?)
 
819
 
 
820
2005-03-15  Owen Taylor  <otaylor@redhat.com>
 
821
 
 
822
        * docs/tmpl/main.sgml (pango_unichar_direction): Fix
 
823
        PANGO_DIRECTION_LTR/RTL cut-and-paste. (Tim Janik)
 
824
 
 
825
2005-03-15  Owen Taylor  <otaylor@redhat.com>
 
826
 
 
827
        * pango/pangofc-fontmap.c: Include the effect of the
 
828
        CTM in the FC_PIXEL_SIZE we set in the FcPattern.
 
829
        (Fixes problems with getting the wrong font when drawing
 
830
        the same font at multiple scales. Reported by Keith
 
831
        Packard.)
 
832
 
 
833
        * pango/pangofc-fontmap.h pango/pangocairo-fcfontmap.c
 
834
        pango/pangocairo-fc.h pango/pangocairo-fontfont.c: Add
 
835
        the PangoFontDescription to create_font() ... we need it
 
836
        to get the right pixel size to combine with the CTM.
 
837
 
 
838
        * pango/pangofc-fontmap.c (pango_fc_fontmap_get_dpi): 
 
839
        Extract out the logic for finding the DPI from the 
 
840
        size-listing code.
 
841
        (pango_fc_font_map_get_render_key): Handle mix of
 
842
        absolute and not sizes correctly.
 
843
 
 
844
Sat Mar  5 13:51:04 2005  Manish Singh  <yosh@gimp.org>
 
845
 
 
846
        * pango/mini-fribidi/fribidi_types.[ch]: const correctness for
 
847
        _pango_fribidi_prop_to_type
 
848
 
 
849
        * tools/Makefile.am: dist gen-script-table.pl and gen-color-table.pl
 
850
 
 
851
2005-03-04  Owen Taylor  <otaylor@redhat.com>
 
852
 
 
853
        Reduce non-shared data (#168899, inspired by patches
 
854
        from Tommi Komulainen and Ross Burton)
 
855
 
 
856
        * pango/pango-color.c pango/pango-color-table.h 
 
857
        tools/gen-color-table.pl: Redo storage of colors to
 
858
        use offsets into a static string rather than embedded
 
859
        strings. (Inspired by a patch from Tommi Komulainen,
 
860
        #168899)
 
861
 
 
862
        * pango/break.c pango/fonts.c pango/pango-color.c 
 
863
        pango/pango-layout.c pango/pango-markup.c 
 
864
        pango/pango-script-lang-table.h
 
865
        pango/mini-fribidi/fribidi_types.c 
 
866
        tools/gen-script-for-lang.c: Add const in various places
 
867
 
 
868
        * modules/arabic/arabic-fc.c  modules/hebrew/hebrew-fc.c:
 
869
        modules/indic/{indic-fc.c,indic-ot-class-tables.c,
 
870
        indic-ot.h} modules/syriac/syriac-ot.c (syriac): Further
 
871
        addition of const.
 
872
        
 
873
2005-03-04  Owen Taylor  <otaylor@redhat.com>
 
874
 
 
875
        * NEWS: Updates from stable branch.
 
876
 
 
877
2005-03-03  Owen Taylor  <otaylor@redhat.com>
 
878
 
 
879
        * modules/indic/indic-ot.[ch] modules/indic-ot-class-tables.c:
 
880
        Split out handling of sinhala al-lakuna character from
 
881
        handling of Virama in the state table to avoid implicit
 
882
        formation of conjucts for Sinhala. (Patch from 
 
883
        Harshula, #161981)
 
884
 
 
885
        * modules/indic/indic-fc.c modules/indic/indic-ot.h:
 
886
        Add a new script flag SF_PROCESS_ZWJ indicating
 
887
        whether zero width characters should be passed to
 
888
        gsub/gpos.
 
889
 
 
890
        * modules/indic/indic-ot-class-tables.c: Set SF_PROCESS_ZWJ
 
891
        for Sinhala. (#161981, Harshula)
 
892
 
 
893
2005-03-03  Owen Taylor  <otaylor@redhat.com>
 
894
 
 
895
        * pango/pango-fontmap.c (pango_font_map_load_font): Add
 
896
        a g_return_if_fail() if desc doesn't have a family.
 
897
        (#165866, Kees Cook)
 
898
        
 
899
2005-03-03  Owen Taylor  <otaylor@redhat.com>
 
900
 
 
901
        * pango/pangoxft-render.c (pango_xft_renderer_draw_glyphs):
 
902
        Call XftCharIndex() on the right font. (#163511)
 
903
 
 
904
2005-03-03  Owen Taylor  <otaylor@redhat.com>
 
905
 
 
906
        * pango/opentype/ftxopen.c (Coverage_Index1, Coverage_Index2, 
 
907
        Get_Class2): For all binary searches, handle the case where
 
908
        the number of items is 0. (#162977, Nick Lamb)
 
909
 
 
910
        * pango/opentype/ftxgdef.c (TT_GDEF_Build_ClassDefinition):
 
911
        Handle the case where glyph_count == 0 properly. Fix a problem 
 
912
        with cleanups on memory allocation failure.
 
913
        (Get_New_Count, Add_Glyph_Property): Avoid reading off the
 
914
        end of the ClassRangeRecord array.
 
915
 
 
916
2005-03-02  Owen Taylor  <otaylor@redhat.com>
 
917
 
 
918
        * pango/fonts.c (pango_font_description_from_string_: For
 
919
        family names that add in numbers add a , to distinguish
 
920
        them from family+size (#166540, debugging/testing by
 
921
        Manish Singh)
 
922
 
 
923
2005-03-02  Owen Taylor  <otaylor@redhat.com>
 
924
 
 
925
        * pango/pango-attributes.c (pango_attr_iterator_get_attrs):
 
926
        Fix various typos in the docs (#163244, Morten Welinder)
 
927
 
 
928
2005-03-02  Owen Taylor  <otaylor@redhat.com>
 
929
 
 
930
        * pango/pangoxft-font.c (pango_xft_font_get_glyph_extents): 
 
931
        Go back to using Xft-reported metrics for all non-transformed
 
932
        fonts. Reporting non-integer glyph metrics for fonts
 
933
        where people have disabled hinting in their config causes
 
934
        various problems. (reported variously, including #167801, 
 
935
        Adam Sampson)
 
936
        
 
937
2005-03-02  Owen Taylor  <otaylor@redhat.co>m
 
938
        
 
939
        [ ChangeLog entry for some changes accidentally committed
 
940
          a while ago ]
 
941
 
 
942
        Redo the handling of absolute sizes for PangoAttribute
 
943
        to work around compatibility problems with GtkHTML which
 
944
        was counting on the details of the implementation of
 
945
        size attributes. (#163154)
 
946
 
 
947
        * pango/pango-attributes.[ch] docs/tmpl/text-attributes.sgml:
 
948
        Split PANGO_ATTR_SIZE into PANGO_ATTR_SIZE and 
 
949
        PANGO_ATTR_ABSOLUTE_SIZE, and use that distinction
 
950
        rather than the boolean field in PangoAttrSize to
 
951
        distinguish between attributes created 
 
952
        pango_attr_size_new_absolute() and
 
953
        pango_attr_size_new()
 
954
 
 
955
2005-03-01  Owen Taylor  <otaylor@redhat.com>
 
956
  
 
957
        * pango/pango-layout.c (process_item): Don't break
 
958
        lines on LINE_SEPARATOR in single-paragraph mode.
 
959
        (#168589, Damon Chaplin)
 
960
 
 
961
2005-03-01  Owen Taylor  <otaylor@redhat.com>
 
962
  
 
963
        * pango/pangoxft-font.c: Fix a typo in the last
 
964
        commit (Manish Singh)
 
965
        
 
966
2005-03-01  Owen Taylor  <otaylor@redhat.com>
 
967
 
 
968
        * pango/pangoxft-font.c (xft_font_get_font): Delete
 
969
        FC_SPACING value out of pattern before passing it
 
970
        to Xft, to prevent Xft clipping characters and
 
971
        trashing metrics. (#164879, Billy Biggs)
 
972
 
 
973
2005-03-01  Owen Taylor  <otaylor@redhat.com>
 
974
 
 
975
        * pango/pango-context.c (pango_context_get_metrics): Use
 
976
        the language from the context if %NULL is passed in for
 
977
        @language. (#163472)
 
978
        
 
979
2005-03-01  Owen Taylor  <otaylor@redhat.com>
 
980
 
 
981
        Build fixes from Andrew P. Lentvorski, Jr, #164655
 
982
 
 
983
        * pango/pangoft2-render.c: Duplicate the 
 
984
        FT_LOAD_TARGET_MONO/FT_LOAD_MONOCHROME back-compat
 
985
        define from pangoft2.c here
 
986
 
 
987
        * examples/Makefile.am (pango_xftview_LDADD): Add
 
988
        X_LIBS to pango_xftview_LDADD since some old versions
 
989
        of xft.pc didn't add -lX11.
 
990
 
 
991
2005-03-01  Owen Taylor  <otaylor@redhat.com>
 
992
 
 
993
        * configure.in: Use PKG_CHECK_MODULES not AM_PATH_GLIB_2_0
 
994
        to avoid a problem where older verisons of AM_PATH_GLIB_2_0
 
995
        silently ignored gmodule-no-export causing mysterious
 
996
        build failures. (#161786)
 
997
 
 
998
        * pango/Makefile.am (DISTCLEANFILES): Move some 
 
999
        configure.in output files from CLEANFILES to DISTCLEANFILES.
 
1000
 
 
1001
2005-03-01  Tor Lillqvist  <tml@novell.com>
 
1002
 
 
1003
        * tests/cxx-test.C: Include pangowin32.h first to avoid
 
1004
        a namespace collision. (#163584)
 
1005
 
 
1006
Fri Feb 25 12:14:24 2005  Manish Singh  <yosh@gimp.org>
 
1007
 
 
1008
        * pango/pangofc-font.c (pango_fc_font_class_init): map get_font_map
 
1009
        to the right function.
 
1010
 
 
1011
        * pango/pangox.c (pango_x_font_class_init): fill in get_font_map.
 
1012
 
 
1013
2005-02-24  Owen Taylor  <otaylor@redhat.com>
 
1014
 
 
1015
        * pango/pangocairo-win32.h pango/pangocairo-win32font.c 
 
1016
        pango/pangocairo-win32fontmap.c pango/Makefile.am:
 
1017
        PangoCairoFontMap for win32 fonts.
 
1018
 
 
1019
        * pango/pangocairo-fontmap.c: Use PangoCairoWin32FontMap
 
1020
        when available.
 
1021
 
 
1022
        * pango/pangowin32.h pango/pangowin32-fontmap.h pango/pangowin32.c: 
 
1023
        Add virtual pango_win32_font_select_font()
 
1024
        to prepare a DC for use with a PangoWin32Font, and to release,
 
1025
        pango_win32_font_scale_font() to get logical unit => Pango units scale,
 
1026
        pango_win32_font_done_font() to release resources.
 
1027
 
 
1028
        * pango/pangowin32-fontmap.[ch]: Add a find_font() virtual method
 
1029
        to allow subclasses that change how PangoFont lookup and
 
1030
        creation happens.
 
1031
 
 
1032
        * pango/pangowin32-fontmap.c: Move initialization into 
 
1033
        pango_win32_font_map_init() to facilitate derivation.
 
1034
        
 
1035
        * pango/pangowin2.c pango/pangowin32-fontmap.c 
 
1036
        pango/pangowin32-private.h: Move PangoWin32Font/PangoWin32FontMap 
 
1037
        definitions into pangowin32-private.h to allow derivation for 
 
1038
        PangoCairoWin32Font.
 
1039
 
 
1040
        * modules/basic/basic-win32.c: Use pango_win32_font_select_font()
 
1041
        and friends.
 
1042
 
 
1043
        * modules/basic/basic-win32.c: Use g_utf8_to_utf16 instead
 
1044
        of g_convert for simplicity and speed.
 
1045
 
 
1046
        * pango/fonts.c (pango_font_get_font_map) pango/pango-font.h
 
1047
        pango/pangofc-font.c pango/pangowin32.c pango/pango.c pango/pango.def
 
1048
        docs/pango-sections.txt: Add a virtual function to get the fontmap 
 
1049
        for a font.
 
1050
 
 
1051
        * pango/pangocairo-render.c: Use pango_font_get_font_map()
 
1052
        rather than PangoFcFontMap hack.
 
1053
 
 
1054
        * pango/pango-types.h: Move the declaration of PangoFontMap here
 
1055
        to avoid interactions between pango-font.h and pango-fontmap.h.
 
1056
 
 
1057
        * pango/pangocairo.h: Remove accidental include 
 
1058
        of pangofc-fontmap.h.
 
1059
 
 
1060
2005-02-21  Owen Taylor  <otaylor@redhat.com>
 
1061
 
 
1062
        * pango/fonts.c (pango_font_get_glyph_extents): 
 
1063
        * pango/shape.c (pango_shape): Minor doc fixes.
 
1064
        (#167922, #167924, Billy Biggs)
 
1065
 
 
1066
2005-02-06  Owen Taylor  <otaylor@redhat.com>
 
1067
 
 
1068
        * pango/pangocairo.h pango/pangocairo-render.c docs/pango-sections.txt:
 
1069
        Rename pango_cairo_show_glyphs() to pango_cairo_show_glyph_string().
 
1070
        Add pango_cairo_{glyph_string,layout_line,layout}_path()
 
1071
 
 
1072
        * docs/Makefile.am (INCLUDES): Add CAIRO_CFLAGS.
 
1073
 
 
1074
2005-02-06  Hans Breuer  <hans@breuer.org>
 
1075
 
 
1076
        * pango/makefile.msc pango/*.def pango/pangocairo.def : updated to
 
1077
        build with the new Cairo dependency
 
1078
        * pango/Makefile.am : added pangocairo.def to EXTRA_DIST
 
1079
 
 
1080
Thu Feb  3 19:00:17 2005  Manish Singh  <yosh@gimp.org>
 
1081
 
 
1082
        * pango/pangocairo-fc.h: spell _pango_cairo_fc_get_render_key
 
1083
        correctly.
 
1084
 
 
1085
        * pango/pangocairo-fcfont.c: #include cairo-ft.h
 
1086
 
 
1087
Thu Feb  3 18:23:27 2005  Manish Singh  <yosh@gimp.org>
 
1088
 
 
1089
        * configure.in: use CAIRO_LIBS for all libcairo checks, and disable
 
1090
        the cairo backend if we don't have Win32 nor FreeType support in
 
1091
        cairo.
 
1092
 
 
1093
2005-02-03  Owen Taylor  <otaylor@redhat.com>
 
1094
 
 
1095
        * pango/pangofc-font.c (pango_fc_font_real_get_glyph): Fix unpaired
 
1096
        lock/unlock_face().
 
1097
 
 
1098
2005-02-03  Owen Taylor  <otaylor@redhat.com>
 
1099
 
 
1100
        * configure.in: Bump to 1.9.0.
 
1101
 
 
1102
        * pango/pangofc-fontmap.h: Document PangoFcFontMap.create_font()
 
1103
 
 
1104
2005-02-03  Owen Taylor  <otaylor@redhat.com>
 
1105
 
 
1106
        * examples/cairosimple.c: Open the file with mode "wb", include
 
1107
        cairo-png.h. 
 
1108
 
 
1109
        * examples/xftview.c examples/cairoview.c: Set WM_NORMAL_HINTS to avoid 
 
1110
        triggering a metacity bug.
 
1111
 
 
1112
        * examples/cairoview.c: Include cairo-xlib.h.
 
1113
 
 
1114
        * configure.in: Add checks for the Win32 Cairo backend. (not committing
 
1115
        the code yet).
 
1116
 
 
1117
        * examples/Makefile.am pango/Makefile.am: add CAIRO_CFLAGS.
 
1118
 
 
1119
        * pango/pangocairo-fc.h pango/pangocairo-fcfont.c
 
1120
        pango/pangocairo-fcfontmap.c pango/pangofc-fontmap.[ch]: Rework
 
1121
        Cairo/Fontconfig backend to use the current Cairo API. Make
 
1122
        some PangoFcFontMap changes to enable that.
 
1123
 
 
1124
        * pango/pango/pangocairo-private.h pango/pangocairo-render.c:
 
1125
        Update for cairo_font_t changes.
 
1126
 
 
1127
2005-01-31  Matthias Clasen  <mclasen@redhat.com>
 
1128
 
 
1129
        * modules/hebrew/hebrew-fc.c (get_cluster_glyphs): Show
 
1130
        unknown glyphs; this may lead to overlapping boxes when
 
1131
        accents are involved, but it is better than text vanishing
 
1132
        without any traces.
 
1133
 
 
1134
2005-01-29  Tor Lillqvist  <tml@novell.com>
 
1135
 
 
1136
        * pango/pango.def: Add missing pango_render_part_get_type. 
 
1137
        (#165287, Cedric Gustin)
 
1138
 
 
1139
2005-01-25  Tor Lillqvist  <tml@novell.com>
 
1140
 
 
1141
        * pango/pango.def: Add a missing entry point.
 
1142
 
 
1143
        * modules/basic/Makefile.am (usp10.h): Don't use -p option to cp,
 
1144
        can cause "failed to preserve ownership" errors.
 
1145
 
 
1146
        * modules/*/Makefile.am (INCLUDES): Remove extraneous slash here,
 
1147
        too.
 
1148
 
 
1149
2005-01-11  Owen Taylor  <otaylor@redhat.com>
 
1150
 
 
1151
        * modules/basic/Makefile.am (INCLUDES): Remove an extraneous
 
1152
        / that was confusing gcc on Win32.
 
1153
 
 
1154
2005-01-10  Owen Taylor  <otaylor@redhat.com>
 
1155
 
 
1156
        * Makefile.am (EXTRA_DIST): Add missing ChangeLog.pre*
 
1157
 
 
1158
Sat Jan  8 19:28:17 2005  Owen Taylor  <otaylor@redhat.com>
 
1159
 
 
1160
        * Makefile.am configure.in pangocairo.pc.in 
 
1161
        pangocairo-uninstalled.pc.in: Add a .pc file for
 
1162
        pangocairo.
 
1163
 
 
1164
2005-01-08  Matthias Clasen  <mclasen@redhat.com>
 
1165
 
 
1166
        * pango.pc.in: Require gmodule-no-export-2.0 instead
 
1167
        of gmodule-2.0
 
1168
 
 
1169
Sat Jan  8 16:46:37 2005  Owen Taylor  <otaylor@redhat.com>
 
1170
 
 
1171
        * configure.in: Add checks for Cairo
 
1172
 
 
1173
        * pango/Makefile.am: Add libpangocairo.
 
1174
 
 
1175
        * pango/pangocairo-font.c pango/pangocairo-fontmap.c
 
1176
        pango/pangocairo.h pango/pangocairo-private.h 
 
1177
        pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap.c
 
1178
        pango/pangocairo-fc.h: Start of a Cairo/FreeType backend.
 
1179
 
 
1180
        * pango/pangofc-fontmap.[ch]: Add a "get_render_key" 
 
1181
        virtual function to allow subclasses to specialize the
 
1182
        details of how caching works. Add a default implementation
 
1183
        that's a little more sophisticated than what was there
 
1184
        before.
 
1185
 
 
1186
        * pango/pangoft2-private.h pangofc-font.c pangoft2.c:
 
1187
        Move default implementations of has_char(), get_glyph()
 
1188
        to the base class.
 
1189
 
 
1190
        * pango/pangofc-private.h pango/pangoft2-private.h:
 
1191
        Move PANGO_UNITS_26_6 and friends to pango/pangofc-private.h.
 
1192
 
 
1193
        * examples/renderdemo.[ch] examples/pangoft2topgm.c 
 
1194
        examples/xftview.c: Allow passing in a custom function
 
1195
        to transform drawing.
 
1196
 
 
1197
        * examples/Makefile.am examples/cairoview.c: Add a
 
1198
        Cairo/Xlib example program.
 
1199
 
 
1200
        * examples/cairosimple.c: Simple Cairo example with
 
1201
        output to a PNG.
 
1202
 
 
1203
        * pango/pango-layout.c (pango_layout_line_get_extents): Fix
 
1204
        bug where line ink rect was always including 0, 0.
 
1205
 
 
1206
Thu Jan  6 12:29:31 2005  Owen Taylor  <otaylor@redhat.com>
 
1207
 
 
1208
        * pango/pango-attributes.c (pango_attr_iterator_get_font): 
 
1209
        Fix reversed test on attr->absolute that was causing 
 
1210
        pixels sizes to be used inappropriately. (#163105, 
 
1211
        Ross Burton)
 
1212
 
 
1213
Tue Jan  4 14:14:28 2005  Owen Taylor  <otaylor@redhat.com>
 
1214
 
 
1215
        * pango/break.c (enum): Fix trailing comma in enum (#162618)
 
1216
 
 
1217
Tue Jan  4 14:11:43 2005  Owen Taylor  <otaylor@redhat.com>
 
1218
 
 
1219
        * pango/pango-attributes.c (pango_attr_list_splice): Fix
 
1220
        doc sentences to parse. (#161812, Morten Welinder)
 
1221
 
 
1222
Tue Jan  4 14:05:13 2005  Owen Taylor  <otaylor@redhat.com>
 
1223
 
 
1224
        * pango/pango-renderer.c (pango_renderer_draw_trapezoid): Rename
 
1225
        y1 parameters to y1_ to avoid conflicts with the math.h Bessel
 
1226
        function. (#161969)
 
1227
 
 
1228
Fri Dec 31 10:20:55 2004  Owen Taylor  <otaylor@redhat.com>
 
1229
 
 
1230
        * pango/pangofc-fontmap.c (pango_fc_convert_weight_to_pango): 
 
1231
        Fix problem where MEDIUM was getting grouped with SEMIBOLD
 
1232
        rather than NORMAL. 
 
1233
        (http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143832)
 
1234
 
 
1235
Wed Dec 22 13:21:01 2004  Owen Taylor  <otaylor@redhat.com>
 
1236
 
 
1237
        * pango/pango-script.c pango/pango-types.h: Fix a couple
 
1238
        of documentation typos (#161647, Torsten Schoenfeld)
 
1239
 
 
1240
2004-12-18  Tor Lillqvist  <tml@iki.fi>
 
1241
 
 
1242
        * pango/pangowin32-private.h
 
1243
        * pango/pangowin32.c (pango_win32_font_get_metrics): Cache metrics
 
1244
        by language, like the other backends do. Don't try to get the
 
1245
        width of the 0..9 digit string if the font doesn't cover digits.
 
1246
 
 
1247
2004-12-17  Tor Lillqvist  <tml@iki.fi>
 
1248
 
 
1249
        * pango/Makefile.am: Make the .la files depend on the
 
1250
        corresponding .def files.
 
1251
 
 
1252
        * pango/pango.def: Add a couple of missing functions.
 
1253
 
 
1254
Fri Dec 17 14:37:49 2004  Owen Taylor  <otaylor@redhat.com>
 
1255
 
 
1256
        * pango/pangofc-fontmap.c (pango_fc_convert_weight_to_fc): Use
 
1257
        FC_WEIGHT_MEDIUM, not FC_WEIGHT_NORMAL in old-fontconfig
 
1258
        case. (#161568, Vincent Noel)
 
1259
 
 
1260
Fri Dec 17 12:44:10 2004  Owen Taylor  <otaylor@redhat.com>
 
1261
 
 
1262
        * configure.in: Fix a couple of typos in the handling of
 
1263
        tibetan for --with-included-modules. (#161501, Sebastien Bacher)
 
1264
 
 
1265
Fri Dec 17 12:28:56 2004  Owen Taylor  <otaylor@redhat.com>
 
1266
 
 
1267
        * pango/pango-layout.c (pango_layout_get_extents_internal): Fix 
 
1268
        bug in computing logical_rect.x when layout->width == -1.
 
1269
        (#161510, Morten Welinder)
 
1270
 
 
1271
Thu Dec 16 14:03:32 2004  Owen Taylor  <otaylor@redhat.com>
 
1272
 
 
1273
        * docs/tmpl/pango-renderer.sgml: Add short and long descriptions.
 
1274