test release infrastructure
[profile/ivi/pango.git] / ChangeLog.pre-1-2
1 Fri Dec 20 12:18:43 2002  Owen Taylor  <otaylor@redhat.com>
2
3         * === Released 1.2.0 ===
4
5         * configure.in: Version 1.2.0, interface age 0.
6
7         * NEWS: Updated
8
9 Fri Dec 20 11:59:22 2002  Owen Taylor  <otaylor@redhat.com>
10
11         Some unit fixups (#96335)
12
13         * pango/pango-layout.c pango/pango-mapping.c:
14         Fix occurrences of "in thousandths of a device
15         unit" to say "in #PangoGlyphUnit" which will
16         give a link to the PangoGlyphUnit docs.
17
18         * docs/tmpl/text-attributes.sgml: Change 1000 to PANGO_SCALE.
19
20         * docs/tmpl/glyphs.sgml: Fix docs for PangoGlyphUnit,
21         fix mention of value of PANGO_SCALE from 1000 to 1024.
22
23         * pango/pango-layout.c (pango_layout_line_get_x_ranges): 
24         Fix the docs for @ranges so it doesn't sound like the
25         coordinates are in pixels.
26
27 Fri Dec 20 11:49:33 2002  Owen Taylor  <otaylor@redhat.com>
28
29         * README: Add a note about fonts.conf.
30
31 Mon Dec 16 21:16:31 2002  Owen Taylor  <otaylor@redhat.com>
32
33         * === Released 1.1.6 ===
34
35         * NEWS: Updated.
36
37         * configure.in: Version 1.1.6, interface age 2.
38
39         * configure.in: Bump PANGO_MODULE_VERSION to 1.2.0.
40
41 Mon Dec 16 19:28:18 2002  Owen Taylor  <otaylor@redhat.com>
42
43         * modules/hangul/hangul-xft.c (render_isolated_tone):
44         When we get an isolated tone in isolation, do something
45         reasonable rather than just return no glyphs and 
46         causing an assertion failure. (#100625)
47
48         * pango/pangofc-fontmap.cI (_pango_fc_font_map_get_coverage):
49         Add a hack to force Hangul marks to be be rendered
50         in the same font as base Hangul glyphs.
51
52 Mon Dec 16 18:10:46 2002  Owen Taylor  <otaylor@redhat.com>
53
54         * modules/basic/basic-xft.c: Add some extra ranges
55         as "*" to match basic-x.c. (#101083, Jungshik Shin)
56         Remove some extraneous "" ranges since we have
57         { 0x0000, 0xffff, "" } anyways.
58
59 Thu Dec 12 13:59:43 2002  Owen Taylor  <otaylor@redhat.com>
60
61         * configure.in: Require autoconf-2.53.
62
63 2002-12-11  Matthias Clasen  <maclas@gmx.de>
64
65         * docs/tmpl/text-attributes.sgml: 
66         * docs/tmpl/glyphs.sgml: 
67         * docs/tmpl/engines.sgml: 
68         * docs/tmpl/main.sgml: 
69         * docs/tmpl/pango-indic.sgml: 
70         * docs/tmpl/coverage-maps.sgml: 
71         * docs/tmpl/fonts.sgml:
72         * docs/pango_markup.sgml: Cosmetic changes to short descriptions.
73
74         * docs/tmpl/tab-stops.sgml: 
75         * docs/tmpl/modules.sgml: 
76         * docs/tmpl/opentype.sgml: 
77         * docs/tmpl/xft-fonts.sgml: 
78         * docs/tmpl/freetype-fonts.sgml: 
79         * docs/tmpl/win32-fonts.sgml: Add short descriptions.
80
81         * docs/pango-docs.sgml: Move "OpenType Font Handling" to
82         "Low Level Functionality".
83
84         * docs/pango-sections.txt: Combine the "X Fonts" and 
85         "X Rendering" sections.
86
87 Tue Dec 10 18:37:19 2002  Owen Taylor  <otaylor@redhat.com>
88
89         * === Released 1.1.5 ===
90
91         *  pango/pango-attributes.h pango/pango-font.h
92         pango/pango-fontset.h pango/pango-fontmap.h: Add
93         explicit /*< public >*/ /*< private *>/ guards.
94         (See #95398 for gtk-doc changes making this necessary)
95
96 Tue Dec 10 14:51:01 2002  Owen Taylor  <otaylor@redhat.com>
97
98         * configure.in: Version 1.1.5, interface age 1.
99
100         * NEWS: Update.
101
102 Sun Dec  8 22:57:55 2002  Owen Taylor  <otaylor@redhat.com>
103
104         * pango/pangox.c: Draw the unknown glyph box with
105         X primitives rather than hoping that some font has an 
106         actualpainting unknown glyph... that code was 
107         apparently still working badly. Use "en" not
108         NULL as the language tags for getting the metrics
109         for the return glyph and the unknown character
110         glyph... NULL gives too large results. (#98245,
111         Based on a patch from Morten Welinder.)
112
113 Sun Dec  8 15:22:10 2002  Owen Taylor  <otaylor@redhat.com>
114
115         * pango/pango-glyph-item.c (pango_glyph_item_apply_attrs): 
116         Free the iter. (Fix from Kjartan Maraas, #100672)
117
118 2002-12-08  Matthias Clasen  <maclas@gmx.de>
119
120         * docs/tmpl/pango-indic.sgml: Document PangoIndicScript.
121
122 2002-12-07  Matthias Clasen  <maclas@gmx.de>
123
124         * pango/pangowin32.c (pango_win32_get_dc): Document.
125
126 Sat Dec  7 01:05:25 2002  Owen Taylor  <otaylor@redhat.com>
127
128         * pango/pangofc-fontmap.cI (pango_fc_font_map_get_patterns):
129         Print out an informative error message and exit(1) if
130         no fonts are found. (#98672)
131
132         * pango/pangoft2.c (pango_ft2_font_get_face): Fix some
133         bugs in the last commit.
134
135 Sat Dec  7 00:10:02 2002  Owen Taylor  <otaylor@redhat.com>
136
137         * pango/pangoft2.c (pango_ft2_font_get_face): Don't
138         use face->generic.data to hold the size the face is
139         currently set to; we don't need it currently and
140         it interferes with the use of face->generic.data for
141         OpenType data. (#93822, frequently reported bug)
142
143 Fri Dec  6 23:07:58 2002  Owen Taylor  <otaylor@redhat.com>
144
145         * pango/pangoxft-font.c (pango_xft_real_render)
146           pango/pangox.c (pango_x_render): Roughly clip glyphs
147         into the X coordinate area to avoid wrap-around. (#73119)
148
149 Fri Dec  6 19:42:33 2002  Owen Taylor  <otaylor@redhat.com>
150
151         * pango/modules.c (map_get_submap): Dynamically allocate
152         submap arrays so we aren't constrained to the BMP.
153         (#100307, Federic Zhang)
154
155 Fri Dec  6 18:58:25 2002  Owen Taylor  <otaylor@redhat.com>
156
157         * pango/pango-utils.lo: Use octal escapes rather than
158         hex to avoid the problem over having hex digits 
159         immediately after the hex escape.
160
161 Fri Dec  6 18:30:36 2002  Owen Taylor  <otaylor@redhat.com>
162
163         * pango/pango-utils.c: Convert literal UTF-8 to octal
164         escapes. (#92050, Arnaud Charlet)
165
166         * pango/testfonts.c: Convert literal ISO-8859-1
167         to UTF-8 hex escapes. (Don't know how passing
168         ISO-8859-1 to pango_shape() was working...)
169
170 Fri Dec  6 18:07:48 2002  Owen Taylor  <otaylor@redhat.com>
171
172         * modules/indic/devanagari-x.c, pango/modules.c
173         pango/pango-utils.c pango/pangoft2.c pango/querymodules.c:
174         Convert [sf]printf to g_[sf]printf, or, where
175         appropriate g_printerr(). (Based on patch from
176         Matthias Clasen, #99321)
177
178         * configure.in: Require glib-2.1.3.
179
180 Fri Dec  6 17:56:32 2002  Owen Taylor  <otaylor@redhat.com>
181
182         * configure.in: Add missing thai-xft to thai-modules.
183         (#99883, Tony Graham)
184         
185 Mon Dec  2 17:22:34 2002  Owen Taylor  <otaylor@redhat.com>
186
187         * === Released 1.1.4 ===
188
189         * configure.in: Up version to 1.1.4, interface age 0.
190
191         * NEWS: Updated.
192
193         * pango/pangoxft-fontmap.c (pango_fc_do_finalize)
194         * pango/pangoft2-fontmap.c (pango_fc_do_finalize): Fix
195         leaks of fontmap->substitute_data. (#99850)
196
197         * pango/Makefile.am (INCLUDES): Fix accidental reference
198         to pango-script-table.h.
199
200 Sun Nov 17 23:28:26 2002  Owen Taylor  <otaylor@redhat.com>
201
202         * pango/pango-glyph-item.[ch] pango/pango-layout.h:
203         Rename PangoLayoutRun to PangoGlyphItem (with a
204         typedef for compat), add pango_glyph_item_split(),
205         pango_glyph_item_apply_attrs().
206
207         * pango/pango-attributes.[ch]: Add
208         pango_attr_list_filter(), pango_attr_iterator_get_attrs().
209
210         * pango/pango-layout.c: Remove attributes that don't
211         affect shaping before shaping, shape and then add
212         them back. Fixes the infamous "underscores break
213         arabic shaping" bug (#83058)
214
215         * pango/pango-item.h: Remove an extraneous include.
216
217         * pango/pango-layout.c (imposed_shape): Fix bytes/chars
218         problem for glyph->log_clusters.
219
220         * pango/pango-layout.c (cluster_end_index)
221         * pango/pango-layout.c (pango_layout_iter_next_cluster): Fix 
222         confusion between global indices and run-relative indices.
223
224         * docs/tmpl/glyphs.sgml: Improve docs for log_clusters.
225
226         * docs/*: Document new API and PangoOTRuleset
227
228 2002-11-29  Matthias Clasen  <maclas@gmx.de>
229
230         * docs/tmpl/xft-fonts.sgml: 
231         * docs/tmpl/freetype-fonts.sgml: Add docs.
232
233         * pango/pangoxft-fontmap.c (pango_xft_substitute_changed): 
234         * pango/pangoft2-fontmap.c
235         (pango_ft2_font_map_set_default_substitute):
236         Fix doc typos.
237
238 2002-11-28  Matthias Clasen  <maclas@gmx.de>
239
240         * pango/pangoxft-fontmap.c: 
241         * pango/pangoxft-font.c: 
242         * pango/pangowin32.c: 
243         * pango/pangoft2-fontmap.c: Mark 1.2 API additions, fix some
244         doc comments.
245         
246         * pango/pangoft2-fontmap.c
247         (pango_ft2_font_map_set_default_substitute): Implement this
248         function.  (#99850)
249
250 2002-11-26  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
251
252         * configure.in: Do not add GLIB_CFLAGS to CFLAGS.
253
254         * docs/Makefile.am, examples/Makefile.am,
255         modules/arabic/Makefile.am, modules/basic/Makefile.am,
256         modules/hangul/Makefile.am, modules/hebrew/Makefile.am,
257         modules/indic/Makefile.am, modules/tamil/Makefile.am,
258         modules/thai/Makefile.am, pango/Makefile.am,
259         pango/mini-fribidi/Makefile.am, pango/opentype/Makefile.am:
260         Instead add $(GLIB_CFLAGS) directly to INCLUDES (GTKDOC_CFLAGS for
261         docs/Makefile.am). Also some cosmetic line wrapping and
262         reindentation. (#77981)
263
264 Mon Nov 25 20:25:23 2002  Owen Taylor  <otaylor@redhat.com>
265
266         * pango/glyphstring.c (pango_glyph_string_extents_range): 
267         Clarify the meaning of the @end parameter. (#96843,
268         Jungshik Shin)
269
270 Mon Nov 25 19:57:02 2002  Owen Taylor  <otaylor@redhat.com>
271
272         * pango/fonts.c (pango_font_description_free): Remove
273         some confusing left over verbiage in API docs about what 
274         font descriptions could be freed. (#96558, 
275         Michael R. Walton.)
276
277 Mon Nov 25 19:24:29 2002  Owen Taylor  <otaylor@redhat.com>
278
279         * pango/mini-fribidi/fribidi_get_type.c (_pango_fribidi_get_type): 
280         Fix off-by-one in check for non-BMP characters.
281         (#91834, He Qiangqiang)
282
283 Mon Nov 25 11:58:30 2002  Owen Taylor  <otaylor@redhat.com>
284
285         * examples/viewer-qt.cc (readFile): Fix missing argument
286         (#99380, Dagfinn I. MannsÃ¥ker)
287
288 2002-11-23  Matthias Clasen  <maclas@gmx.de>
289
290         * docs/version.xml.in: New file to let configure dump the version in.
291
292         * docs/pango-docs.sgml: Add version information.
293
294         * docs/Makefile.am (extra_files): Add version.xml.in.
295         (content_files): Add version.xml.
296
297         * configure.in: Generate docs/version.xml.
298
299 Thu Nov 21 17:35:08 2002  Owen Taylor  <otaylor@redhat.com>
300
301         * modules/basic/basic-ft2.c: Remove duplicate
302         include of basic-common.h (#97667, Tony Graham)
303
304 Thu Nov 21 00:26:40 2002  Owen Taylor  <otaylor@redhat.com>
305
306         * configure.in: Use some shell magic rather than 
307         perl to check for the right gtk-doc version to
308         avoid having to worry about finding Perl. 
309         Make checks handle 0.10 > 0.9. (#99120, Dan Mills)
310         Check for 0.10, since we need that for 
311         --output-format=xml.
312
313 2002-11-12  Tor Lillqvist  <tml@iki.fi>
314
315         * pango/pangowin32-fontcache.c (free_cache_entry,
316         cache_entry_unref, pango_win32_font_cache_load): Add more
317         debugging output.
318
319         * modules/basic/basic-win32.c (uniscribe_shape): Plug memory leak:
320         Free return value from pango_win32_font_logfont(). Call
321         pango_win32_font_cache_unload() for the hfont returned from
322         pango_win32_font_cache_load() after using it.
323
324 Fri Nov  8 20:02:09 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
325
326         * docs/tmpl/coverage-maps.sgml:
327         * docs/tmpl/glyphs.sgml:
328         * docs/tmpl/layout.sgml:
329         * docs/tmpl/x-fonts.sgml:
330         * pango/mapping.c:
331         * pango/pango-coverage.c:
332         * pango/pango-coverage.h:
333         * pango/pango-glyph.h:
334         * pango/pango-layout.c:
335         * pango/pango-layout.h:
336         * pango/pangox.h:
337
338         Trivial s/foo/foo_/ fixes to make pango.h includable with -Wshadow
339         (#91680).
340
341 2002-11-09  Changwoo Ryu  <cwryu@debian.org>
342
343         * modules/hangul/hangul-x.c (render_syllable_with_ksx1001johab):
344         Renamed from render_syllable_with_ksx1005 (#95800).
345
346 Thu Nov  7 10:05:28 2002  HideToshi Tajima  <hidetoshi.tajima@sun.com>
347
348         * modules/basic/basic-x.c: 
349         Fix #96781: changes for basic X shaper's code range for
350         compatibility Ideographs characters (0xFA0C - 0xFA2D)
351         (by federic.zhang@sun.com)
352
353 2002-11-06  Changwoo Ryu  <cwryu@debian.org>
354
355         * modules/hangul/hangul-x.c (hangul_engine_shape): Applied some of
356         the hangul-xft changes into hangul-x; it takes precomposed
357         syllables as same as L+V or L+V+S jamo sequences.
358
359 2002-11-04  Changwoo Ryu  <cwryu@debian.org>
360
361         * modules/hangul/hangul-defs.h (IS_S): Fixed wrong syllable
362         check.
363
364         * modules/hangul/hangul-defs.h: 
365         * modules/hangul/hangul-x.c: No more use of TFILL, the internal
366         trailing consonant filler.
367         (render_syllable_with_*): Appended empty syllable
368         (ex. LFILL+VFILL) rendering case (#96175).
369         (render_syllable_with_ksx1005): Fixed wrong fallback glyphs
370         indices (from #95800 by Jungshik Shin).
371
372 Fri Nov  1 21:08:42 2002  Owen Taylor  <otaylor@redhat.com>
373
374         * === Released 1.1.3 ===
375
376         * configure.in: Version 1.1.3
377
378         * NEWS: Updated.
379
380         * pango/pangofc-fontmap.cI (pango_fc_font_set_free): 
381         Free font_set->patterns. (Found by Sven Neumann, 
382         #91698)
383
384 2002-11-03  Changwoo Ryu  <cwryu@debian.org>
385
386         * modules/basic/basic-xft.c: Removed hangul syllables and hangul
387         tonemarks ranges.  Now hangul-xft is responsible for these ranges.
388
389 2002-11-01  Changwoo Ryu  <cwryu@debian.org>
390
391         * modules/hangul/hangul-defs.h modules/hangul/hangul-xft.c:
392         Added Hangul Tone Marks rendering by Jungshik Shin (#96299).
393
394 2002-10-31  Changwoo Ryu  <cwryu@debian.org>
395
396         * modules/hangul/hangul-xft.c (hangul_engine_get_coverage):
397         Added U+AC00- coverage
398         (hangul_engine_shape): Renders U+AC00 Hangul Syllables.
399
400 2002-10-24  Tor Lillqvist  <tml@iki.fi>
401
402         * modules/basic/basic-win32.c: Update the non-Uniscribe ranges to
403         cover some more simple scripts.
404
405         (itemize_shape_and_place): Handle unknown glyphs.
406
407         (script_engine_list): Only return the "everything" range if
408         Uniscribe is available. It would be nice to build up a more
409         specific range list based on the information ScriptGetProperties()
410         returns. That function lists information about each script the
411         Uniscribe version used can handle. Unfortunately, though, the
412         information is severely limited. It doesn't tell what Unicode
413         blocks a script covers. It only gives one language that uses
414         that script, and sometimes an charset number, but for most scripts
415         just the totally useless DEFAULT_CHARSET.
416
417 2002-10-23  Alexander Larsson  <alexl@redhat.com>
418
419         * pango/pango-layout.c (can_break_in):
420         Don't break at the first char in the first item on a line.
421         Fixes regression in linebreaking (#95900).
422
423 2002-10-22  Tor Lillqvist  <tml@iki.fi>
424
425         * configure.in: Add --with-usp10 flag to indicate where to find
426         the usp10.h header, for using Uniscribe on Win32. Set USP10_H
427         autoconf variable, HAVE_USP10_H config.h macro and HAVE_USP10_H
428         automake conditional.
429
430         * acconfig.h: Add HAVE_USP10_H.
431
432         * pango/pangowin32-private.h (PANGO_WIN32_DEBUGGING): Change
433         semantics of this flag. If defined, also need to set env var
434         PANGO_WIN32_DEBUG to get the copious debugging output. 
435         Change PING() macro accordingly. Add variable pango_win32_debug.
436
437         * pango/pangowin32.c (pango_win32_get_dc): New function. Code
438         factored out from pango_win32_font_class_init() and
439         pango_win32_font_map_class_init().
440         (pango_win32_get_debug_flag): New function.
441         (pango_win32_render): Handle y offsets, too. Potentially need to
442         call ExtTextOutW several times, one for each run of sequential
443         glyphs with the same y offset.
444                 
445         * pango/pangowin32.h: Declare above new functions, in the part
446         only for shaper engine use.
447
448         * pango/pangowin32.def: Export above new functions.
449
450         * pango/pangowin32-fontmap.c (pango_win32_font_map_class_init):
451         Call pango_win32_get_dc() as mentioned above.
452
453         * modules/basic/Makefile.am: If HAVE_USP10_H, let basic-win32.lo
454         depend on usp10.h.
455
456         * modules/basic/basic-win32.c: If HAVE_USP10_H, and the Uniscribe
457         DLL usp10.dll is present, use Uniscribe.
458         (uniscribe_shape, itemize_shape_and_place,
459         set_up_pango_log_clusters, convert_log_clusters_to_byte_offsets,
460         make_langid, init_uniscribe): New functions.
461         (dump_glyphs_and_log_clusters, lang_name, charset_name): Debugging
462         functions.
463
464 2002-10-20  Matthias Clasen  <maclas@gmx.de>
465
466         * docs/Makefile.am (SCANOBJ_FILES): Add $(DOC_MODULE).prerequisites.
467
468 2002-10-15  Changwoo Ryu  <cwryu@debian.org>
469
470         * modules/hangul/hangul-xft.c (hangul_engine_shape): 
471         * modules/hangul/hangul-x.c (hangul_engine_shape): Added missing
472         memcpy() from the static jamo buffer to allocated jamo buffer
473         (#95569).  Thanks to Jungshik Shin.
474
475 Mon Oct 14 15:39:41 2002  Manish Singh  <yosh@gimp.org>
476
477         * pango/pango-context.c pango/pango-layout.c pango/pangoft2.c
478         pango/pangowin32-fontmap.c pango/pangowin32.c pango/pangox-fontmap.c
479         pango/pangox.c pango/pangoxft-font.c pango/pangoxft-fontmap.c
480         pango/testfonts.c pango/opentype/pango-ot-ruleset.c:
481         Get rid of unnecessary casts for g_object_{ref,unref}
482
483 2002-10-15  Matthias Clasen  <maclas@gmx.de>
484
485         * docs/Makefile.am: Dist the xml/*.xml, not
486         sgml/*.sgml.  (#95678, Owen Taylor)
487
488 2002-10-14  Matthias Clasen  <maclas@gmx.de>
489
490         * docs/Makefile.am (SCANOBJ_FILES): Add $(DOC_MODULE).interfaces.
491
492 Sun Oct 13 12:35:14 2002  Owen Taylor  <otaylor@redhat.com>
493
494         * === Released 1.1.2 ===
495
496         * configure.in: Version 1.1.2, interface age 0.
497
498         * NEWS: Updates.
499
500 2002-10-04  Alexander Larsson  <alexl@redhat.com>
501
502         * pango/pango-layout.[ch]:
503         * docs/tmpl/layout.sgml:
504         Add, implement and document PANGO_WRAP_WORD_CHAR
505
506 Sun Sep 29 14:55:36 2002  Owen Taylor  <otaylor@redhat.com>
507
508         * pango/opentype/ftxgpos.c: ligatures can be also used in 
509         MarkBasePos lookups. (2001-03-17  Werner Lemberg)
510
511 Sun Sep 29 14:51:25 2002  Owen Taylor  <otaylor@redhat.com>
512
513         Start of merges from freetype1 of OpenType fixes.
514
515         * pango/opentype/ftxgdef.c pango/opentype/ftxgpos.c pango/opentype/ftxgsub.c:
516         More fixes for special marks. (2001-03-17  Werner Lemberg)
517
518 2002-09-28  Tor Lillqvist  <tml@iki.fi>
519
520         * pango/pangowin32-fontmap.c (pango_win32_insert_font): Revert
521         change from 2002-09-21: Don't bypass the code that automatically
522         adds fonts to the families "monospace", "serif" and "sans". I
523         thought it would be unnecessary if you have a pango.aliases that
524         sets up aliases for these family names, but apparently
525         not. Without this code, pango_layout_line_get_empty_extents()
526         thinks empty lines have zero height, as it tries to use a font
527         called "sans" for instance, and no aliases get used.
528
529 Fri Sep 27 17:50:51 2002  Owen Taylor  <otaylor@redhat.com>
530
531         (Based on GTK+ patch by J. Ali Harlow in #87774)
532
533         * configure.in: Add CROSS_COMPILING conditional.
534
535         * modules/Makefile.am (install-data-local): Don't
536         generate pango.modules when installing into a DESTDIR
537         or cross-compiling.
538
539         * examples/Makefile.am (all-local): Don't generate
540         pango.modules when cross-compiling.
541
542 Fri Sep 27 13:10:25 2002  HideToshi Tajima  <hidetoshi.tajima@sun.com>
543
544         * modules/basic/tables-big.i: make charset ordering of
545         chinese character sets differently for chinese locales -
546         e.g., GB18030 is used first in zh-cn locales.
547         (#89937 James Su, Brian Yuan.)
548
549 2002-09-25  Tor Lillqvist  <tml@iki.fi>
550
551         * pango/Makefile.am: INCLUDED_WIN32_MODULES was missing from a
552         couple of places. (#93372)
553
554 2002-09-24  Tor Lillqvist  <tml@iki.fi>
555
556         * pango/pangowin32.c: Use PANGO_PIXELS macro throughout instead of
557         dividing by PANGO_SCALE.
558         (pango_win32_render): New try. This time handle both glyphs at
559         code point 0, specifically put there by PangoLayout to indicate
560         spacing (for tab handling), and actual invalid glyphs noticed by
561         the shaper. Invalid glyphs are indicated by the flag
562         PANGO_WIN32_UNKNOWN_FLAG. (Idea taken frompangoxft-font.c)
563         (pango_win32_get_unknown_glyph): Take also the char as parameter,
564         return the same char with the above flag ORed in.
565         (pango_win32_font_get_glyph_extents): If the glyph is flagged as
566         invalid, look for glyph 0 instead. Use g_win32_error_message() in
567         warning message instead of numeric error code.
568
569         * pango/pangowin32.h: Add the new parameter to the
570         pango_win32_get_unknown_glyph() declaration. Surround the API used
571         by shape engines with #ifdef PANGO_ENABLE_ENGINE.
572
573         * modules/basic/basic-win32.c: Change call accordingly.
574
575 2002-09-24  Tor Lillqvist  <tml@iki.fi>
576
577         * pango/opentype/pango-ot.def: Remove. Not used. (A static library
578         is built here. Exported entries are in ../pangoft2.def.)
579
580         * pango/opentype/Makefile.am (EXTRA_DIST): Remove from here, too.
581
582 2002-09-23  Matthias Clasen  <maclas@gmx.de>
583
584         * pango/pango-color.c (pango_color_parse): Make color parsing
585         more robust and correct. (#93804)
586
587         * tests/testcolor.c: Tests for pango_color_parse.
588
589         * tests/Makefile.am: Build testcolor.
590
591         * tests/runtests.sh: Run testcolor. 
592
593 2002-09-23  Tor Lillqvist  <tml@iki.fi>
594
595         * pango/makefile.mingw.in
596         * pango/mini-fribidi/makefile.mingw
597         * pango/opentype/makefile.mingw.in
598         * examples/makefile.mingw.in
599         * modules/basic/makefile.mingw.in: Remove. Not maintained.
600
601         * pango/Makefile.am (EXTRA_DIST)
602         * pango/mini-fribidi/Makefile.am (EXTRA_DIST)
603         * pango/opentype/Makefile.am (EXTRA_DIST)
604         * examples/Makefile.am (EXTRA_DIST)
605         * modules/basic/Makefile.am (EXTRA_DIST): Remove
606         makefile.mingw(.in) from here, too.
607
608         * configure.in (AC_OUTPUT): Don't try to output above removed
609         files.
610
611         * examples/pangowin32.aliases: Remove. Not used.
612
613         * modules/basic/basic-win32.c: Minor spacing fixes, comment the
614         Unicode ranges covered.
615
616         * pango/makefile.msc
617         * pango/module-defs-win32.c.win32: Change according to change
618         below so that build also with the manually written makefile for
619         MSVC, which always uses included modules, still works.
620
621         * pango-zip.sh.in: Distribute specifically pango.aliases and
622         pango.modules, not the whole etc/pango which might contain editor
623         backup files.
624         
625 Mon Sep 16 12:03:54  2002  Arnaud Charlet <charlet@gnat.com>
626
627         * modules/basic/basic-win32.c: Check for correct macro, use
628         correct module entry name, so that --with-included-modules works
629         with autoconfiscated build for Windows. (#93372)
630
631 2002-09-21  Tor Lillqvist  <tml@iki.fi>
632
633         * pango/pangowin32-private.h
634         * pango/pangowin32*.c: Rename DEBUGGING to PANGO_WIN32_DEBUGGING.
635         Use plain printf instrad of g_print in the PING macro for
636         debugging output (to avoid UTF-8 requirement).
637
638         * pango/pangowin32.h: Guard against redefinition of _WIN32_WINNT.
639
640         * pango/pangowin32-private.h: Remove the FS_VIETNAMESE define, not
641         needed. Rename PangoWin32Font::face to win32face. Add enum
642         PangoWin32CoverageLanguageClass, used to classify PangoLanguages
643         that might have locale-specific coverage of fonts (i.e. CJKV).
644         Change PangoWin32Face::coverage into an array, coverages. Move
645         some TrueType macro and struct defines from pangowin32.c
646         here. Rename them a bit to match the names used in the specs
647         better. Add declarations for new functions (see below).
648
649         * pango/pangowin32.c (pango_win32_get_hfont): Convert
650         LOGFONT::lfFaceName to UTF-8 before printing.
651
652         (pango_win32_render): Revert the change from
653         2002-09-05. Characters not in a font are supposed to show up at
654         this stage as invalid glyphs (usually a box). It's up to the
655         higher layers to filter out TABs and other characters that
656         shouldn't be visible.
657
658         (pango_win32_get_name_header, pango_win32_get_name_record): New
659         functions, to read the name table header and records from a
660         TrueType font.
661
662         (font_name_in): New function, checks if a font has a name in one
663         of the spoecial-case languages, or actually locales (zh_TW, zh_CN,
664         ja, ko, vi). Checks the TrueType name table.
665
666         (pango_win32_font_calc_coverage): Take a PangoLanguage parameter,
667         too.  Use it to decide whether to hide the Unified CJKV Ideographs
668         block in case the font is not for the specified locale. If so, the
669         coverage for these characters is set to PANGO_COVERAGE_APPROXIMATE.
670
671         * pango/pangowin32-fontmap.c: Remove PangoWin32FontMap::faces,
672         unused. Remove dead _WE_WANT_GLOBAL_ALIASES_ code. Rename
673         parent_class to font_map_parent_class to match pangox-fontmap.c.
674
675         (get_family_name, get_family_name_lowercase): New functions.
676         Search for an English name for a TrueType font, in case the font
677         name in LOGFONT::lfFaceName is non-ASCII. (Can one assume that if
678         it is ASCII, it is the English name? Do some TrueType fonts have
679         different names in French, German, etc, and does the system return
680         these if the locale is set to use French, German, etc?)
681
682         (pango_win32_insert_font): Don't store LOGFONTs that differ only
683         in charset. What charset we specify when calling
684         CreateFontIndirect() is irrelevant, as we are going to use
685         ExtTextOutW() anyway, i.e. Unicode. Use the English family name
686         from get_family_name_lowercase(), not the one returned in the
687         LOGFONT from font enumeration.
688
689         Bypass the code that sets up the mapping for monospace, serif and
690         sans, and the recignition of plain "courier" for "courier new". We
691         need a pango.aliases anyhow, so let it handle that.
692
693         (pango_win32_coverage_language_classify): New function.
694
695         (pango_win32_font_entry_set_coverage,
696         pango_win32_font_entry_get_coverage): Take also a PangoLanguage
697         parameter, use the corresponding entry in the
698         PangoWin32Face::coverages array.
699         
700         * pango/pango-utils.c (pango_get_lib_subdirectory,
701         pango_get_sysconf_subdirectory): Fix doc comment on Win32
702         behaviour.
703
704 Thu Sep 19 15:12:21 2002  Owen Taylor  <otaylor@redhat.com>
705
706         * pango/pango-utils.c (pango_scan_int): Fix problem
707         where position wasn't updated properly.
708
709 Mon Sep 9 11:09:18 Eric Mader   <mader@jtcsv.com>
710         
711         * pango/pango/opentype/pango-to-ruleset.c: correctly handle back,
712         new_advance.
713
714 Fri Sep 6 15:41:28 Eric Mader   <mader@jtcsv.com>
715         
716         * pango/pango/opentype/ftxopen.c:
717         * pango/pango/opentype/ftxopen.h: don't fail on an empty script
718         
719 2002-09-05  jacob berkman  <jacob@ximian.com>
720
721         * autogen.sh: copy version with automake-1.4 fixes from -1-0 branch
722
723 2002-09-05  Tor Lillqvist  <tml@iki.fi>
724
725         * pango/pangowin32.c (pango_win32_render): Render only valid
726         glyphs. Fix by Florent Duguet. Don't know if this is quite the
727         correct way to fix the problem of default glyphs (ugly boxes)
728         showing up, maybe invalid glyphs never should get this far, but be
729         noticed earlier?
730
731 2002-09-04  Tor Lillqvist  <tml@iki.fi>
732
733         * pango/pango-utils.c: G_WIN32_DLLMAIN_FOR_DLL_NAME not needed on
734         Cygwin, surround with #ifdef G_OS_WIN32. (91785, Masahiro Sakai)
735
736 Wed Aug 28 15:22:14 2002  Eric Mader   <mader@jtcsv.com>
737         
738         * pango/modules/indic/indic-ot.h:
739         * pango/modules/indic/indic-ot.c:
740         * pango/modules/indic/indic-ot-class-tables.c:
741         Change Punjabi script ('punj') to Gurmukhi ('guru')
742         
743 Tue Aug 20 17:31:39 2002  Owen Taylor  <otaylor@redhat.com>
744
745         * Released 1.1.1.
746
747         * configure.in: Update versions numbers.
748
749         * NEWS: Updated.
750
751         * docs/pango-sections.txt: Updated.
752
753         * pango/pangoxft-font.c (pango_xft_font_[un]lock_face): 
754         Fix docs.
755
756 Tue Aug 20 17:14:13 2002  Owen Taylor  <otaylor@redhat.com>
757
758         * pango/pangofc-fontmap.cI: conditionalize 
759         FC_PATTERN usage on #ifdef FC_PATTERN, since
760         it only existed in fontconfig for a brief amount 
761         of time.
762
763 Tue Aug 20 16:06:36 2002  Owen Taylor  <otaylor@redhat.com>
764
765         * configure.in: Make the test for VARARGS macros
766         more robust, fixing problem with misbehaving
767         IRIX compiler that doesn't error on #error.
768         (#90267)
769
770 Tue Aug 20 15:42:33 2002  Owen Taylor  <otaylor@redhat.com>
771
772         * modules/indic/indic-xft.c (maybe_add_SUB_feature): 
773           modules/indic/indic-xft.c (maybe_add_GPOS_feature): 
774           modules/indic/indic-ot.c (getOutputIndex)
775           modules/hebrew/hebrew-x.c (get_glyph_num)
776           modules/basic/basic-x.c (find_char): Fix missing
777          statics.
778
779         * modules/thai/{thai-shaper.[ch] thai-xft.c thai-x.c}:
780         Namespace the "abstract functions" that thai-xft/thai-x.c
781         export to thai-shaper.c.
782
783         * modules/arabic/arabic-{ot.[ch],ft2.c,xft.c}: 
784         Rename Assign_Arabic_Properties to Arabic_Assign_Properties.
785
786 Tue Aug 20 15:06:50 2002  Owen Taylor  <otaylor@redhat.com>
787  
788         * modules/arabic/arabic-xft.c modules/arabic/arabic-ft2.c
789         modules/basic/tables-big.i modules/basic/tables-small.i
790         modules/hebrew/hebrew-ft2.c modules/hebrew/hebrew-xft.c:
791         Patch from Nils Nordman to add various missing 'static'
792         (#90353)
793  
794 Mon Aug 19 14:07:02 2002  Owen Taylor  <otaylor@redhat.com>
795
796         * pango/pangofc-fontmap.cI (pango_fc_font_map_get_patterns):
797         Delete the FC_PATTERN out of the result of FcFontRenderPrepare(),
798         because it makes identical fonts look like not identical fonts.
799
800         * pango/pangofc-fontmap.cI (uniquify_pattern): pango/pangoft-fontmap.c
801         pango/pangoxft-fontmap.c: Use a hash table to uniquify the patterns
802         we cache to save memory and speed lookups.
803
804         * pango/pangoxft-font.c (pango_xft_font_get_font): Split into
805         a public wrappper (with g_return_if_fail()) around a static
806         internal function (without check).
807
808         * pango/pangoxft-fontmap.c (_pango_xft_font_map_get_info): Remove
809         checked cast, since it was showing up high on profiles.
810
811 Fri Aug 16 17:49:38 2002  Owen Taylor  <otaylor@redhat.com>
812
813         * pango/pangofc-fontmap.cI pango/pangoxft-fontmap.c 
814         pango/pangoft2-fontmap.c pango/pangoxft-private.h 
815         pango/pangoft2-private.h pango/pangoxft-font.c 
816         pango/pangoft2.h: Move the common code between PangoXftFontmap
817         and PangoFT2Fontmap into a new file that is included from both
818         with appropriate #defines. This provides most of the
819         recent Xft backend improvements for the FT2 backend
820         as well.
821
822 Tue Aug 13 16:38:19 2002  Owen Taylor  <otaylor@redhat.com>
823
824         * pango/pangoxft-fontmap.c (pango_xft_font_map_get_patterns): 
825         Keep a separate description => fontset hash for each
826         language tag. Pass language tags through to Xft.
827
828 Tue Aug 13 00:20:14 2002  Owen Taylor  <otaylor@redhat.com>
829
830         * Released 1.1.0
831
832 Thu Aug  8 23:14:27 2002  Owen Taylor  <otaylor@redhat.com>
833
834         * pango/pangox-fontmap.c pango/pangoxft-fontmap.c:
835         use XAddExtension() magic to automatically clean
836         up our information when XCloseDisplay() is called.
837
838         * NEWS: Some updates for 1.1.x features.
839
840         * README: Update a bit.
841
842         * configure.in: Print Xft for the Xft backend, not Xft2
843         when printing summary.
844
845 Thu Aug  8 21:37:48 2002  Owen Taylor  <otaylor@redhat.com>
846
847          Some fixes from #90267
848         
849         * configure.in: Fix case where freetype2 is not in
850         default include path. Quiet some warnings if
851         /usr/lib/qt* doesn't exist.
852  
853         * examples/Makefile.am: Fix problem where if no
854         Qt was found, -I /include was in the CFLAGS.
855  
856 Thu Aug  8 19:34:03 2002  Owen Taylor  <otaylor@redhat.com>
857
858         * configure.in: Remove the HAVE_FONTCONFIG conditional;
859         instead make the HAVE_FREETYPE conditional
860         be $have_freetype && $have_fontconfig.
861
862         * pango/Makefile.am: Use the HAVE_FREETYPE conditional
863         for checking whether we are building the FT2 backend,
864         as we do everywhere else.
865
866 Thu Aug  8 19:14:09 2002  Owen Taylor  <otaylor@redhat.com>
867
868         * pango/pangoxft-font.c (load_fallback_font): Fix
869         accidentally exported set_unicode_charmap() and
870         load_fallback_face/font(). (Jacob Berkman, #90245)
871
872         * configure.in: Up PANGO_MODULE_VERSION to 1.1.0.
873
874 Thu Aug  8 19:00:49 2002  Owen Taylor  <otaylor@redhat.com>
875
876         * pango/pangoxft-fontmap.c: Up MAX_FREED_FONTS to 128
877
878         * pango/pangoxft-fontmap.c (pango_xft_pattern_equal):
879         Short-circuit pattern1 == pattern2.
880
881         * pango/pangoxft-fontmap.c (pango_xft_font_map_get_patterns):
882         Patch from Keith Packard to use PangoFontSetSort rather
883         than our previous substitute-and-split-the-substitution
884         hack; this means that if any font on the system has the 
885         character, it will be used.
886
887         * pango/pangoxft-fontmap.c (_pango_xft_font_map_cache_add):
888         Reorder so that it works with MAX_FREED_FONTS == 0.
889
890 Thu Aug  8 18:55:21 2002  Owen Taylor  <otaylor@redhat.com>
891
892         * examples/Makefile.am (INCLUDES): Add FONTCONFIG_CFLAGS
893         to INCLUDES. (Joe Yandle.)
894
895 2002-08-08  jacob berkman  <jacob@ximian.com>
896
897         * modules/hangul/Makefile.am (EXTRA_DIST): add tables-jamos.i
898         (xft_sources): add hangul-defs.h so it gets disted
899
900 Wed Aug  7 14:35:13 2002  Owen Taylor  <otaylor@redhat.com>
901
902         * configure.in: Fix missing trailing newline in file.
903
904 Wed Aug  7 09:14:00 2002  Michael Meeks  <michael@ximian.com>
905
906         * configure.in: echo status at end.
907
908 Wed Aug  7 12:32:39 2002  Owen Taylor  <otaylor@redhat.com>
909
910         * pango/opentype/ftxgsub.c (TT_Load_GSUB_Table):
911         Offset to MarkAttachClassDef is offset to table,
912         not offset to offset to table.
913
914         * pango/opentype/ftxopen.c (Get_Device): Handle
915         NULL device tables which we represent with
916         d->DeltaValue == NULL.
917
918 Wed Aug  7 11:07:10 2002  Owen Taylor  <otaylor@redhat.com>
919
920         * modules/hangul/hangul-xft.c (hangul_engine_shape): Get
921         rid of direct access to FT_Face.
922
923 Wed Aug  7 10:57:49 2002  Owen Taylor  <otaylor@redhat.com>
924
925         * modules/hangul/Makefile.am modules/thai/Makefile.am:
926         Add missing XFT_CFLAGS to INCLUDES. (Joe Yandle)
927
928 Mon Aug  5 23:57:59 2002  Owen Taylor  <otaylor@redhat.com>
929          
930         * pango/pangoxft-fontmap.c (pango_xft_pattern_hash): Use
931         FcPatternHash instead of rolling our own. (Slight speed
932         decrease) (Keith Packard)
933
934         * pango/pangoxft-fontmap.c (pango_xft_get_font_map):
935         Remove accidentally deleted call to init_fontset_hash().
936
937 Mon Aug  5 23:12:13 2002  Owen Taylor  <otaylor@redhat.com>
938
939         Patch from Keith Packard:
940
941         * pango/pangoxft-private.h (struct _PangoXftFont): Add
942         some comments.
943
944         * pango/pangoxft-private.h pango/pangoxft-font.c
945         pango/pangoxft-fontmap.c: Identify coverage by a 
946         pair of filename and index within the filename instead
947         of just a filename, to handle TrueType Collection (TTC)
948         fonts.
949
950         * pango/pangoxft-fontmap.c (pango_xft_make_pattern):
951         Remove some leftover comments.
952
953 Mon Aug  5 21:54:21 2002  Owen Taylor  <otaylor@redhat.com>
954
955         * pango/pangoxft-fontmap.c (pango_xft_get_font_map): Export.
956
957         * pango/pango-context.[ch]: Add pango_context_get_fontmap(),
958         allow fontmap = NULL for pango_context_set_fontmap().
959
960         * pango/pangoxft-font.c pango/pangoxft-fontmap.c
961         (pango_xft_font_get_metrics): More work on allowing
962         displays to be shut down, while leaving basically
963         working fonts behind.
964
965 Fri Aug  2 12:12:34 2002  Owen Taylor  <otaylor@redhat.com>
966
967         * pango/pangoxft.h pango/pangoxft-fontmap.c
968         (pango_xft_shutdown_display): New function allowing us to shut
969         down a display.
970
971 Thu Aug  1 10:41:26 2002  Owen Taylor  <otaylor@redhat.com>
972  
973         * configure.in: Fix check for having any backend
974         HAVE_XFT => have_xft, etc. (Problem reported
975         by Andreas J Guelzow)
976  
977 2002-08-01  Changwoo Ryu  <cwryu@debian.org>
978
979         * modules/hangul/hangul-x.c (render_syllable_with_ksx1005):
980         Renders the prefix of uncomposable Hangul syllable in the way of
981         other font encoding code.
982
983 Wed Jul 31 16:00:20 2002  Owen Taylor  <otaylor@redhat.com>
984
985         * modules/thai/thai-xft.c (make_glyph): Minor tweak
986         to last patch to clarify index passed to unknown_glyph().
987
988 Wed Jul 31 15:43:39 2002  Owen Taylor  <otaylor@redhat.com>
989
990         * modules/thai/{thai-shaper.h,thai-x.c,thai-xft.c}:
991         Argument to make_glyph() shouldn't have been
992         unsigned char, since we pass unicode through it.
993
994         * modules/thai/thai-xft.c (make_glyph): Handle 
995         THAI_FONT_ISO10646 correctly. If a character isn't
996         found, return the correct unknown glyph.
997
998 Sat Jul 27 18:18:20 2002  Owen Taylor  <otaylor@redhat.com>
999
1000         Patch from Changwoo Ryu  <cwryu@debian.org> (#86591)
1001
1002         * configure.in, modules/hangul/Makefile.am: : Added hangul-xft
1003         module.
1004
1005         * modules/hangul/hangul-xft.c: New file, shaping Hangul Jamos
1006         (U+1100-U+11FF) with Xft.
1007
1008         * modules/hangul/hangul-x.c (JOHAB_COMMON): Render any prefix of
1009         uncommposable Hangul syllable as a syllable, and render remains as
1010         uncomposed form.  This looks better than completely uncomposed
1011         jamo glyphs.
1012         (render_syllable_with_iso10646): Likewise.
1013         (render_syllable_with_ksc5601): Likewise.
1014         (hangul_engine_shape): Fixed memory leak on shaping a syllable
1015         with >= 6 jamos.
1016
1017         * modules/hangul/tables-jamos.i, modules/hangul/tables-ksc5601.i:
1018         Separated Hangul Jamo mapping table from ksx1001 <=> unicode
1019         table.
1020
1021         * modules/hangul/hangul-defs.h: New file with some common defines
1022         and macros.
1023
1024         * modules/hangul/hangul-x.c (render_syllable_with_johabs): Fixed
1025         wrong font index around fallback display with johabs.
1026         (find_subfont): Uses "johabsh-1" (johabs-1 font with Hanja) in the
1027         same way with "johabs-1".
1028
1029 Wed Jul 31 14:41:07 2002  Owen Taylor  <otaylor@redhat.com>
1030
1031         * pango/pangox.c (pango_x_list_subfonts): Make charset
1032         ordering more important than ordering in the font
1033         specfication, and document the previously undocumented
1034         ordering. (#88562, Brian Yuan.)
1035
1036 Wed Jul 31 12:38:36 2002  Owen Taylor  <otaylor@redhat.com>
1037
1038         * pango/querymodules.c (string_needs_escape): Avoid
1039         using g_strescape(), since it mangles UTF-8.
1040         (#89479, Yao Zhang)
1041
1042 Tue Jul 30 23:10:14 2002  Owen Taylor  <otaylor@redhat.com>
1043
1044         * pango/shape.c (pango_shape): Set is_cluster_start
1045         attributes based on the log_clusters[] set by the shape
1046         engine. (Fix for #84307, Reported by Alex Larsson, others.)
1047
1048 Sat Jul 27 09:46:51 2002  Owen Taylor  <otaylor@redhat.com>
1049
1050         * modules/thai/{thai-shaper.[ch],thai-x.c,thai-xft.c}
1051         (make_unknown_glyph): Fix problem where 
1052         pango_xft_get_unknown_glyph() was being used for X
1053         fonts. (reported by Jacob Berkman)
1054
1055 Fri Jul 26 19:46:45 2002  Owen Taylor  <otaylor@redhat.com>
1056
1057         * modules/basic/basic-x.c modules/basic/tables-big.i:
1058         Patch fromm Qingjiang (Brian) Yuan adding support
1059         for GB-18030, BIG5-HKSCS, CNS-11643 and GBK encodings.
1060         Also fix wrong encoding for Big5 fonts and look
1061         for big5-1 as well as big5-0 for the encoding name.
1062         
1063 Fri Jul 26 19:23:58 2002  Owen Taylor  <otaylor@redhat.com>
1064
1065         * modules/hangul/hangul-x.c modules/hangul/tables-ksc5601.1:
1066         Patch from Qingjiang (Brian) Yuan and Changwoo Ryu
1067         to add support for ksc5601.1992-3 fonts.
1068
1069 Fri Jul 26 18:48:49 2002  Owen Taylor  <otaylor@redhat.com>
1070
1071         * configure.in modules/thai/Makefile.am 
1072           modules/thai/thai-shaper.[ch]
1073           modules/thai/thai-xft.c modules/thai/thai-x.c:
1074         Patch from Theppitak Karoonboonyanan that factors
1075         out common code from thai-x.c and adds a new 
1076         Xft shaper for Thai. (#78346)
1077
1078         * pango/pangoxft.h pango/pangoxft-font.c: Add
1079         pango_xft_font_has_char()
1080         to optimize for cases where we don't actually need 
1081         to load the font.
1082
1083         * pango/pangoxft.h: Document pango_xft_font_get_glyph().
1084
1085         * modules/basic/basic-xft.c (basic_engine_shape): Clean
1086         up an unused variable warning.
1087
1088 Fri Jul 26 18:11:56 2002  Owen Taylor  <otaylor@redhat.com>
1089
1090         * Add back non-spurious \$ removed in last commit.
1091
1092 Fri Jul 26 18:11:56 2002  Owen Taylor  <otaylor@redhat.com>
1093
1094         * Fix a leftover spurious \$ from the last commit.
1095
1096 Fri Jul 26 17:59:06 2002  Owen Taylor  <otaylor@redhat.com>
1097
1098         * configure.in: Replace uses of grep \(A\|B\) ... with
1099         egrep (A|B). (#84872, Arnaud Charlet)
1100
1101 Thu Jul 25 11:42:17 2002  Owen Taylor  <otaylor@redhat.com>
1102
1103         * pango/pangoft2-fontmap.c (pango_ft2_shutdown_display)
1104         * pango/pangowin32-fontmap.c (pango_win32_shutdown_display):
1105         Handle checking for fontmap == NULL and setting
1106         it to NULL after unrefing properly. (#87915, 
1107         Sven Neumann)
1108
1109 Wed Jul 24 23:07:43 2002  Owen Taylor  <otaylor@redhat.com>
1110  
1111         * pango/pango-layout.c: Fix wrong assertion that was
1112         dying on lines separated by PS (U+2029). (#88824,
1113         Choe Hwangjin)
1114  
1115 2002-07-22  Sven Neumann  <sven@gimp.org>
1116
1117         * pango/pangoft2.c (pango_ft2_font_get_face): don't access the old
1118         (invalid) face pointer after loading a fallback face because we
1119         couldn't set the unicode charmap.
1120
1121 Mon Jul 15 20:22:46 2002  Owen Taylor  <otaylor@redhat.com>
1122
1123         * pango/pangoxft-font.c: Fix trivial typo that was
1124         causing the charcode hex boxes to be misrendered.
1125
1126 Mon Jul 15 14:56:34 2002  Owen Taylor  <otaylor@redhat.com>
1127
1128         * pango/pangoft2.c (pango_ft2_font_get_face): Move
1129         setting of load_flags before we do any checks for the 
1130         font so they apply to the fallback font as well.
1131
1132         * pango/pangoft2.c (pango_ft2_font_get_face): Supply
1133         FT_LOAD_NO_BITMAP as temporary workaround for problems
1134         with embedded bitmaps, since we can't render bitmap fonts 
1135         at the moment.
1136
1137 Wed Jul  3 18:54:14 2002  Owen Taylor  <otaylor@redhat.com>
1138
1139         * pango/pangoft2.c: Fix some typos.
1140
1141 Wed Jul  3 18:39:45 2002  Owen Taylor  <otaylor@redhat.com>
1142
1143         * pango/pangoft2.c pango/pangoxft-font.c: Be more
1144         robust when trying to set the unicode character
1145         map on the font.
1146
1147         * pango/pangoft2.c pango/pangoft2-private.h: 
1148         Obey FC_HINTING, FC_AUTOHINT.
1149
1150 Mon Jul  1 19:45:10 2002  Owen Taylor  <otaylor@redhat.com>
1151
1152         * pango/pangoxft-fontmap.c (pango_xft_set_default_substitute): 
1153         New function to allow tweaking of FcPattern default
1154         substitution (for XSETTINGS support.)
1155
1156         * pango/pangoft2-fontmap.c pango/pangoft2.[ch]
1157         pango/pangoft2-private.h: Rationalize DPI and
1158         context creation by adding:
1159
1160         pango_ft2_font_map_new()
1161         pango_ft2_font_map_set_resolution()
1162         pango_ft2_font_map_set_default_substitute()
1163         pango_ft2_font_map_create_context() 
1164
1165 2002-07-02  Matthias Warkus  <mawarkus@gnome.org>
1166
1167         * pango/pango-markup.c (span_parse_func): Fixed typo that was
1168         causing markup with <span rise="..."> attributes to
1169         segfault. Permission to commit to HEAD and stable branch granted
1170         by Owen Taylor.
1171
1172 Sat Jun 15 23:26:41 2002  Owen Taylor  <otaylor@redhat.com>
1173
1174         * modules/arabic/arabic-ot.c: Support new Arabic
1175         characters in Unicode 3.2. (Patch from Roozbeh
1176         Pournader.)
1177
1178 Thu Jun 13 16:39:01 2002  Owen Taylor  <otaylor@redhat.com>
1179
1180         * pango/pango-markup.c (pango_parse_markup):
1181         Fix problem with attr_list == NULL. (#85079,
1182         Andreas J. Guelzow)
1183
1184 Wed Jun 12 11:19:08 2002  Owen Taylor  <otaylor@redhat.com>
1185
1186         * modules/tamil/tamil-x.c: Use unsigned char for
1187         bitfield array. (#83257, David L. Cooper II)
1188
1189         * tests/gen-all-unicode.c (main): Used char,
1190         not guchar for array of characters. (#83258,
1191         David L. Cooper II.)
1192
1193 -Wed Jun 12 11:08:35 2002  Owen Taylor  <otaylor@redhat.com>
1194
1195         * modules/arabic/langboxfont.[ch] modules/arabic/naqshfont.[ch]:
1196         Change @glyph2 parameter of arabic_*_recode() to be a gunichar*
1197         like @glyph. (Fixes warning with Solaris 8 compiler;
1198         #83256, David L. Cooper II)
1199
1200 Wed Jun 12 11:02:04 2002  Owen Taylor  <otaylor@redhat.com>
1201
1202         * examples/Makefile.am (EXTRA_DIST) examples/pangoft2.aliases:
1203         Remove pangoft2.aliases from CVS/distribution; it is
1204         no longer used. (#82736, Sven Neumann.)
1205
1206 2002-06-10  Matthias Clasen  <maclas@gmx.de>
1207
1208         * pango/pango-fontset.c (pango_fontset_real_get_metrics): Don't
1209         leak raw_metrics and don't copy refcounts.  (#84533)
1210
1211 Thu Jun  6 15:01:48 2002  Owen Taylor  <otaylor@redhat.com>
1212
1213         * pangoft2.pc.in (Cflags): Add @FREETYPE_CFLAGS@
1214
1215         * tests/Makefile.am (INCLUDES): Add XFT_CFLAGS.
1216           gtk/Makefile.am (INCLUDES): Add back FREETYPE_CFLAGS.
1217
1218 Thu Jun  6 08:54:26 2002  Owen Taylor  <otaylor@redhat.com>
1219
1220         * configure.in: Update the versioning to reflect '1.1.x'
1221         (Use the 100 * minor + micro convention.)
1222
1223 Thu Jun  6 08:42:32 2002  Owen Taylor  <otaylor@redhat.com>
1224
1225         * configure.in: Provide : as the fourth argument
1226         whne checking for fontconfig, xft, so we don't error out 
1227         if they aren't found. (#84333, HideToshi Tajima)
1228
1229 Tue Jun  4 11:52:10 2002  Owen Taylor  <otaylor@redhat.com>
1230
1231         * pangoxft.pc.in (Cflags): Fix to have @XFT_CFLAGS@
1232
1233 Mon Jun  3 22:16:35 2002  Owen Taylor  <otaylor@redhat.com>
1234
1235         * pango/pangoxft-font.c (pango_xft_font_get_coverage): 
1236         Don't open the font unecessarily, we already have 
1237         the FcCharSet.
1238
1239 Mon Jun  3 18:56:09 2002  Owen Taylor  <otaylor@redhat.com>
1240
1241         Xft2 and fontconfig conversion, based largely on a patch
1242         from Keith Packard.
1243
1244         * configure.in acconfig.h: Add checks for fontconfig, switch
1245         Xft checks to switch for Xft2 using pkg-config.
1246
1247         * pangoxft.pc.in pangoxft.pc.in 
1248         modules/{arabic,basic,hebrew,indic,tamil}/Makefile.am
1249         pango/Makefile.am: Reflect new Xft/fontconfig dependencies.
1250
1251         * pango/pangoxft-private.h pango/pangoxft-fontmap.c 
1252         modules/arabic/arabic-xft.c modules/indic/indic-xft.c: 
1253         Switch over to using Xft2 and fontconfig.
1254
1255         * pango/pangoft2.c pango/pangoft2-fontmap.c pango/pangoft2-private.h 
1256         pango/pango/Makefile.am: Remove usage of mini-xft in 
1257         favor of fontconfig.
1258
1259         * pango/pango-ot.h pango/opentype/pango-ot-info.c pango/pangoxft.h
1260         modules/arabic/arabic-{xft,ft2}.c modules/indic/indic-xft.c:
1261         Attach OpenType information directly to the FT_Face
1262         structure using FT_Generic.
1263
1264         * modules/tamil/Makefile.am modules/tamil/tamil-xft.c 
1265         configure.in: Remove this module, no longer needed.
1266
1267         * pango/pangoxft-font.c (pango_xft_real_render): Coalesce
1268         calls to Xft rendering functions.
1269
1270 2002-06-03  Matthias Clasen  <maclas@gmx.de>
1271
1272         * pango/fonts.c (pango_font_description_better_match): Typo fix.
1273
1274         * pango/pango-color.c (pango_color_parse): 
1275         * docs/pango-docs.sgml: Replace homegrown "nbsp", "hash"
1276         and "mdash" entities by standard ISO entities "nbsp", "num" and
1277         "mdash". 
1278
1279 2002-06-03  Sven Neumann  <sven@gimp.org>
1280
1281         * pango/pangoft2-fontmap.c (pango_ft2_font_map_list_families): set
1282         n_families, fixes bug #83746.
1283
1284 2002-05-28  Matthias Clasen  <maclas@gmx.de>
1285
1286         * docs/*: Produce XML, not SGML.
1287
1288         * pango/fonts.c (pango_font_family_list_faces): Docs typo fix.
1289
1290         * pango/pango-color.c (pango_color_parse): Fix markup to reduce
1291         spurious <link>s.
1292
1293 2002-05-26  Tor Lillqvist  <tml@iki.fi>
1294
1295         * pango-zip.sh.in: Use complete PANGO_VERSION in zip file
1296         names.
1297
1298         * pango/Makefile.am: (Win32) Compile resource files and link with
1299         them.
1300
1301         * pango/pango.rc.in
1302         * pango/pangoft2.rc.in
1303         * pango/pangowin32.rc.in: Include also the micro version number.
1304
1305         * pango/pangowin32-fontcache.c (logfont_hash): Use absolute value
1306         of lfHeight.
1307
1308         * pango/pangowin32-fontmap.c (pango_win32_font_map_for_display):
1309         Instead of HORZSIZE which is Windows idea of physical monitor
1310         width (but which can be *very* wrong), use LOGPIXELSY (the
1311         "logical" dpi). This can be set by the user by choosing "small
1312         fonts", "large fonts", or a custom dpi in the Display Settings.
1313         Thanks to Joaquin Cuenca Abela.
1314
1315         (pango_win32_make_matching_logfont): Set lfHeight to the negative
1316         of the requested size. Positive lfHeight indicates "cell height",
1317         negative "character height" (?), which is closer to what we want,
1318         says Joaquin Cuenca Abela.
1319
1320 Tue May 21 15:27:41 2002  Owen Taylor  <otaylor@redhat.com>
1321
1322         * modules/basic/tables-big.i: Fix C++ comment.
1323         (#82035, David L. Cooper II)
1324
1325 Tue May 14 12:02:13 2002  Owen Taylor  <otaylor@redhat.com>
1326
1327         * pango/pangoxft-fontmap.c pango/pangoft2-fontmap.c:
1328         Report standard aliases as uppercase, fix 
1329         pango_*_face_describe() for aliases.
1330
1331 Mon May 13 15:56:29 2002  Owen Taylor  <otaylor@redhat.com>
1332
1333         * pango/pangoxft-fontmap.c: Fake sans,serif,monospace
1334         in the list of fonts.
1335
1336         * pango/pangoft2-fontmap.c: Fake aliases here as well.
1337
1338         (#78714, Xavier Cho.)
1339
1340 Mon May 13 14:58:12 2002  Owen Taylor  <otaylor@redhat.com>
1341  
1342         * pango/pangox.c configure.in: Add a implementation
1343         of strtok_r (copied from glibc) for machines that don't
1344         have it. (#79472, Jacob Berkman.)
1345  
1346         * pango/querymodules.c: Use printf() rather than
1347         g_print, since we don't want encoding conversion.
1348         (#77341)
1349  
1350 Fri May 10 14:41:27 2002  Owen Taylor  <otaylor@redhat.com>
1351
1352         * pango/opentype/ftxgdef.c (TT_Load_GDEF_Table): Fix acess
1353         outside of a loaded frame and some memory leaks
1354         on failure.
1355
1356 Tue May  7 19:20:05 2002  Owen Taylor  <otaylor@redhat.com>
1357
1358         * modules/tamil/Makefile.am (EXTRA_LTLIBRARIES): Temporarily
1359         remove tamil-xft from the build until we figure out
1360         what to do with it. (Obscures the OpenType Tamil engine.)
1361
1362         * examples/HELLO.utf8: Fix spelling of Punjabi, removing
1363         stray vowel.
1364         
1365 Mon May 06 15:07:39 2002 Eric Mader <mader@jtcsv.com>
1366         * Add modules modules/indic/indic-xft.c, indic-ot.c, indic-ot.h, indic-ot-class-tables.c
1367
1368         * pango/opentype/ftxgdef.c: Compute full offset for mark attachment class table
1369
1370         * pango/opentype/ftxgpos.c: Only return TTO_Err_Not_Covered if nothing matches
1371
1372         * pango/opentype/pango-ot-ruleset.c: enable GPOS processing
1373         
1374 2002-05-02  Matthias Clasen  <maclas@gmx.de>
1375
1376         * docs/Makefile.am (GTKDOC_CFLAGS, GTKDOC_LIBS): Set these. 
1377
1378         * docs/pango.types: Add some types here.
1379
1380 Tue Apr 23 16:15:07 2002  Owen Taylor  <otaylor@redhat.com>
1381
1382         * pango/opentype/fterrcompat.h: Add compatibility 
1383         defines for changes in FreeType 2.1.0.
1384
1385 Tue Apr 23 15:21:34 2002  Owen Taylor  <otaylor@redhat.com>
1386
1387         * README: Fix typo. (#79574)
1388
1389 Wed Mar 27 19:30:35 2002  Owen Taylor  <otaylor@redhat.com>
1390
1391         * Released 1.0.1
1392
1393         * NEWS: Updates.
1394
1395         * configure.in: Version 1.0.1, interface, binary age 1.
1396
1397 Tue Mar 26 18:22:07 2002  Owen Taylor  <otaylor@redhat.com>
1398
1399         * modules/basic/basic-*.c modules/basic/basic-common.h: Move
1400         ZERO_WIDTH_CHAR() macro into a common header file, add
1401         ZERO WIDTH-NO BREAK SPACE (U+FEFF)
1402
1403         * modules/basic/Makefile.am (EXTRA_DIST): Add basic-common.h.
1404
1405 2002-03-26  Alex Larsson  <alexl@redhat.com>
1406
1407         * pango/pangoft2-fontmap.c (pango_ft2_font_map_load_font):
1408         Free pattern after using it.
1409
1410 2002-03-26  Sven Neumann  <sven@gimp.org>
1411
1412         * pango/pangoft2-private.h
1413         * pango/pangoft2.c (pango_ft2_font_get_metrics): calculate 
1414         average_char_width and average_digit_width by measuring sample layouts
1415         and cache font metrics per language just like PangoX does, #53425.
1416
1417         * pango/pangoxft-font.c
1418         * pango/pangoxft-private.h: the same approach for average_char_width
1419         and average_digit_width as in PangoFT2, #53425.
1420
1421 Mon Mar 25 15:53:17 2002  Owen Taylor  <otaylor@redhat.com>
1422
1423         * pango/modules.c (read_modules): Remove warning about
1424         opening modules file... in some cases (included modules)
1425         it isn't needed, and the warning about no modules that
1426         was added recently should let people know what is going
1427         on. (#73834, Arnaud Charlet)
1428
1429 Mon Mar 25 15:46:54 2002  Owen Taylor  <otaylor@redhat.com>
1430
1431         * modules/basic/basic-*.c: Convert U+00A0 (NON BREAK SPACE)
1432         to U+0020 (SPACE). (#73279, Mikael Hallendal)
1433
1434         * modules/basic/basic-xft.c (basic_engine_shape): Remove
1435         some dead code.
1436
1437 Mon Mar 25 15:31:17 2002  Owen Taylor  <otaylor@redhat.com>
1438
1439         * pango/pangowin32.c (pango_win32_font_get_metrics): Set
1440         the right font when computing the average digit width.
1441
1442 Mon Mar 25 14:52:29 2002  Owen Taylor  <otaylor@redhat.com>
1443
1444         * pango/pangox.c (pango_x_font_get_metrics): Rewrite
1445         average_digit_width computation to go through the same 
1446         shaping hack as the average_char_width code.
1447         (Part of #53425)
1448
1449         * pango/pangox.c (pango_x_font_describe): Implement
1450         except for results of pango_x_font_load().
1451
1452         * pango/pangox.c (pango_x_load_font): Document as
1453         "don't use".
1454
1455         * pango/pangox.[ch] (pango_x_load_font): Add missing const.
1456
1457 2002-03-25  Sven Neumann  <sven@gimp.org>
1458
1459         * pango/fonts.c (pango_font_description_from_string): this function
1460         may never return NULL, so we shouldn't say so in the comment.
1461
1462 Wed Mar 20 18:40:34 2002  Owen Taylor  <otaylor@redhat.com>
1463
1464         * pango/modules.c (build_map): Add an informative
1465         warning if no modules at all were found. (#74982,
1466         suggestion from Dan Winship.)
1467
1468 Wed Mar 20 15:22:54 2002  Owen Taylor  <otaylor@redhat.com>
1469
1470         * configure.in: Error out if no backends found. (#74880)
1471
1472 Wed Mar 20 15:14:15 2002  Owen Taylor  <otaylor@redhat.com>
1473
1474         * pango/pango-markup.c (text_handler): Dummy-initialize
1475         gsize variable to 0, not -1. (#73899, Erwann Chenede)
1476
1477 Wed Mar 20 14:57:48 2002  Owen Taylor  <otaylor@redhat.com>
1478
1479         * modules/basic/basic-x.c  modules/basic/tables-{big,small}.i: 
1480         When loading an iconv converter fails, recover gracefully
1481         and warn rather than aborting. (#73861, report about problems
1482         on IRIX from Soeren Sandmann)
1483
1484 2002-03-18  Changwoo Ryu  <cwryu@debian.org>
1485
1486         * modules/basic/tables-big.i: Enabled ksc5601 fonts for the Hangul
1487         compatibility jamos, the CJK unified ideographs, and the CJK
1488         compatibility ideographs areas.
1489
1490 2002-03-17  Tor Lillqvist  <tml@iki.fi>
1491
1492         * pango/pangowin32-private.h: Add pango_win32_os_version_info
1493         variable, an OSVERSIONINFO struct.
1494
1495         * pango/pangowin32.c: Initialise it.
1496
1497         * pango/pangowin32.h: Set _WIN32_WINNT to 0x0501 before including
1498         <windows.h> to get the ClearType-related macros defined (if recent
1499         enough headers are used).
1500
1501         * pango/pangowin32-fontcache.c (pango_win32_font_cache_load): Set
1502         desired font quality to CLEARTYPE_QUALITY if on XP (or later), and
1503         the system settings ask for ClearType.
1504
1505 2002-03-16  Sven Neumann  <sven@gimp.org>
1506
1507         * configure.in (GLIB_CFLAGS): use CFLAGS from gthread-2.0 to assure
1508         pango behaves correctly in a threaded environment.
1509
1510 Fri Mar 15 12:25:26 2002  Owen Taylor  <otaylor@redhat.com>
1511
1512         * modules/basic/tables-big.i: Prefer ksc5601 fonts to
1513         unicode fonts for "ko" locales.
1514
1515 Fri Mar 15 01:35:56 2002  Owen Taylor  <otaylor@redhat.com>
1516
1517         * pango/opentype/ftxgsub.c pango/opentype/ftxopen.c
1518         pango/opentype/ftxopenf.h: In Load_ChainContextSubst2,
1519         handle the case where an empty class definition
1520         is represented by an offset of 0.
1521
1522         * pango/opentype/ftxgpos.c: Same for Load_ChainContextPos2.
1523
1524         * pango/opentype/{ftxopen.c,ftxgpos.c,ftxgsub.c,ftgdef.c}:
1525         Fix pervasive bug where on cleanups on failure of loading
1526         an array element, all array elements were freed, not
1527         just the ones that had been succesfully loaded.
1528
1529 Thu Mar 14 23:05:18 2002  Owen Taylor  <otaylor@redhat.com>
1530
1531         * pango/opentype/ftxopen.c: Uncomment GPOS parts.
1532
1533         * pango/opentype/disasm.c: Start adding some GPOS
1534         dumping.
1535
1536 Thu Mar 14 20:28:59 2002  Owen Taylor  <otaylor@redhat.com>
1537
1538         * configure.in: Check for FT_Get_First_Char from
1539         FreeType-2.0.9.
1540
1541         * pango/pangoft2.c pango/pangoxft-font.c: Use
1542         FT_Get_First_Char/Get_Next_Char to accelerate coverage calculation.
1543
1544 Thu Mar 14 20:02:58 2002  Owen Taylor  <otaylor@redhat.com>
1545
1546         * examples/Makefile.am (EXTRA_DIST): Remove moc_view-qt.cc. (#74725)
1547
1548 Wed Mar 13 10:31:07 2002  Owen Taylor  <otaylor@redhat.com>
1549
1550         * pango/pango-coverage.c (pango_coverage_max): Fix typo
1551         when computing maximums of sub-byte fields. (Stefan Israelsson,
1552         #74518)
1553
1554 2002-03-12  Matthias Clasen  <maclas@gmx.de>
1555
1556         * pango/pangowin32-fontcache.c, pango/pangox-fontcache.c: Minor doc edits.
1557
1558         * docs/tmpl/win32-fonts.sgml: Document PangoWin32FontCache.
1559
1560         * docs/tmpl/x-fonts.sgml: Document PangoXFontCache.
1561
1562         * docs/tmpl/glyphs.sgml: Document PangoGlyphInfo.
1563
1564         * docs/tmpl/opentype.sgml: Document PangoOTInfo, PangoOTTag,
1565         PangoOTTableType.
1566
1567 Local Variables:
1568 coding: utf-8
1569 End:
1570 vim: encoding=utf-8: