Clean up spec file for packaging
[profile/ivi/pango.git] / ChangeLog.pre-1-0
1 Thu Mar  7 22:55:13 2002  Owen Taylor  <otaylor@redhat.com>
2
3         ===== Released 1.0.0 =====
4
5         * NEWS: Final updates for 1.0.0.
6
7         * README AUTHORS: Update.
8
9 2002-03-07  jacob berkman  <jacob@ximian.com>
10
11         * autogen.sh: pass --enable-gtk-doc to configure
12
13 2002-03-08  Tor Lillqvist  <tml@iki.fi>
14
15         * pango-zip.sh.in: Use PANGO_MODULE_VERSION in modules path.
16
17         * pango/pangoft2.def: Add the pango_ot_* symbols from the static
18         libpango-ot library.
19
20 Thu Mar  7 14:42:50 2002  Owen Taylor  <otaylor@redhat.com>
21
22         * configure.in: As we do in other modules, default to
23         --disable-gtk-doc, and run the check we used to do
24         for the default when the --enable-gtk-doc is specified.
25         (Alain Rouge)
26
27 Thu Mar  7 10:51:16 2002  Owen Taylor  <otaylor@redhat.com>
28
29         * configure.in: Fix some problems with setting 
30         library variables for --enable-explicit-deps. (Laszlo Peter,
31         #73851) 
32
33 Wed Mar  6 12:44:00 2002  Owen Taylor  <otaylor@redhat.com>
34
35         * Pango 1.0.0 rc2.
36
37 Wed Mar  6 12:12:21 2002  Owen Taylor  <otaylor@redhat.com>
38
39         * pango/fonts.c: Add some text names to weight map for
40         weights that were added to the PangoWeight enumeration
41         but not here. (#73728, Arnaud Charlet)
42
43 2002-03-06  Manish Singh  <yosh@gimp.org>
44
45         * pango/Makefile.am: install-exec-hook should always exist,
46         because the automake rules assume it to be there if it is
47         included anywhere in the Makefile.am. So put only the body
48         of it inside DISABLE_EXPLICIT_DEPS.
49
50 Wed Mar  6 11:43:46 2002  Owen Taylor  <otaylor@redhat.com>
51
52         * configure.in: Fix problem where == was used instead if =.
53         (#73694, Martin Gansser)
54
55         * modules/Makefile.am (install-data-local): Simplify
56         the rule to create the pango.modules file to avoid
57         problems with differing shared library suffixes.
58         pango-querymodules run without any arguments does the
59         right thing by default. (#73694, Martin Gansser)
60
61         * configure.in: Add a PANGO_MODULE_VERSION variable
62         defining the subdir in which modules are installed.
63
64         * pango/querymodules.c pango/modules.c modules/*/*.am: 
65         Install modules in lib/pango/MODULE_VERSION/modules
66
67         * pango.pc.in (pango_module_version): Export pango_module_version
68         variable so that 3rd parties can determine where to install 
69         libraries.
70
71 Wed Mar  6 11:40:45 2002  Owen Taylor  <otaylor@redhat.com>
72
73         * Pango 1.0.0 rc1.
74
75         * pango/Makefile.am: Use install-exec-hook not 
76         install-exec-local when running sanitize-la.sh.
77
78 2002-03-06  Tor Lillqvist  <tml@iki.fi>
79
80         * pango/Makefile.am (install-exec-local): Ignore return status
81         from for loop, in case the last test -f happens to fail. Handle
82         also the libpangowin32 .la file.
83
84         * pango/Makefile.am (libpangoft2_1_0_la_LDFLAGS): Use
85         pangoft2_export_symbols, not pangowin32_export_symbols.
86
87         * pango/pango.rc.in
88         * pango/pangowin32.rc.in
89         * pango/pangoft2.rc.in
90         * pango/Makefile.am
91         * pango-zip.sh.in: : Adapt to new shared library naming scheme,
92         also for Win32 import library names.
93
94 2002-03-05  Manish Singh  <yosh@gimp.org>
95
96         * configure.in: require GLIB 2.0.0 at minimum
97
98 2002-03-05  jacob berkman  <jacob@ximian.com>
99
100         * tests/Makefile.am (*boundaries_LDADD): more $(PANGO_API_VERSION)
101         fixing
102
103 Tue Mar  5 15:41:17 2002  Owen Taylor  <otaylor@redhat.com>
104
105         * modules/*/Makefile.am: Fix pangoxft-$(PANGO_API_VERSION).
106         (Reported by Manish Singh.)
107
108 Tue Mar  5 11:00:20 2002  Owen Taylor  <otaylor@redhat.com>
109
110         * configure.in **/Makefile.am *.pc.in: Switch over to 
111         GLib/GTK+ style library versioning. Update version numbers
112         to 1.0.0.
113
114 2002-03-03  jacob berkman  <jacob@ximian.com>
115
116         * Makefile.am (EXTRA_DIST): add sanitize-la.sh
117
118 Sat Mar  2 21:57:55 2002  Owen Taylor  <otaylor@redhat.com>
119
120         * examples/Makefile.am (pango.modules): Write 
121         examples/pango.modules in terms of .la files rather than
122         direct shared objects to avoid having to know soname
123         extension.
124
125         * pango/querymodules.c (main): Use G_MODULE_SUFFIX or
126         .la to compare with filenames when querying modules,
127         rather than hardcoded .so/.la.
128
129         * configure.in (USE_LA_MODULES): On aix, load .la files
130         since we can't guess the soname extension.
131
132 Fri Mar  1 00:46:49 2002  Owen Taylor  <otaylor@redhat.com>
133
134         * configure: Default to --disable-static.
135
136         * configure.in pangoft2.pc.in pangoxft2.pc.in pangox.pc.in:
137         Add a --enable-explicit-deps option to control whether dependency 
138         libraries are written into .la files and .pc files. 
139         Default is auto: if static libraries are off
140         and shlib dependencies are found, don't write deps.
141
142         * pango/Makefile.am sanitize-la.sh: Shell script used
143         to strip dependencies out of .la files.
144
145         * configure.in: Default to --disable-gtk-doc.
146
147         * Makefile.am: Add a slightly modified distcheck rule
148         that passes --enable-gtk-doc to the configure inside.
149         (So that 'make dist' succeeds inside.)
150
151 Fri Mar  1 14:37:47 2002  Owen Taylor  <otaylor@redhat.com>
152
153         * pango/pangoxft-font.c (pango_xft_font_get_glyph_extents):
154         Treat glyph 0 as an 0 size, non-drawn glyph consistent
155         with other backends. (#71931)
156
157 Fri Mar  1 14:25:22 2002  Owen Taylor  <otaylor@redhat.com>
158
159         * pango/modules.c: Don't crash on out-of-BMP values.
160
161         * pango/mini-fribidi/fribidi_get_type.c (_pango_fribidi_get_type):
162         Return FRIBIDI_TYPE_LTR for all non-BMP characters.
163
164 Fri Mar  1 12:11:50 2002  Owen Taylor  <otaylor@redhat.com>
165
166         * pango/pango-layout.c (pango_layout_line_get_vis2log_map):
167         Fix problem with positions at the ends of lines
168         (#63328, reported by Dov Grobgeld.)
169
170 2002-02-28  Sven Neumann  <sven@gimp.org>
171
172         * configure.in: align --help output.
173
174 2002-02-28  Alex Larsson  <alexl@redhat.com>
175
176         * pango/pangoft2.c (pango_ft2_font_get_face):
177         Check for errors when loading font face, fall back to sans,
178         exit with warning if no font found.
179
180 2002-02-28  Sven Neumann  <sven@gimp.org>
181
182         * modules/arabic/Makefile.am: don't link libpango-ot into the module.
183         * pango/Makefile.am: added libpango-ot.la to libpangoft2_la_LIBADD.
184         Should fix #72934, reported by Raymond Wan.
185
186 2002-02-28  Sven Neumann  <sven@gimp.org>
187
188         * configure.in: beautified configure --help output.
189
190 Wed Feb 27 11:10:07 2002  Owen Taylor  <otaylor@redhat.com>
191
192         * pango/Makefile.am (libpangoft2_la_LIBADD): Move .la
193         files to beginning of link line ... may prevent some
194         problems with linking to installed libraries.
195         (#61359, _)
196
197 Wed Feb 27 08:55:32 2002  Owen Taylor  <otaylor@redhat.com>
198
199         * pango/Makefile.am (pango_querymodules_LDADD): Add
200         $(X_EXTRA_LIBS) (reported Richard Warren)
201
202 Tue Feb 26 19:06:07 2002  Owen Taylor  <otaylor@redhat.com>
203
204         * pango/mini-xft/minixftint.h: Fix some C++ style
205         comments. (David L. Cooper II)
206
207 Tue Feb 26 16:43:05 2002  Owen Taylor  <otaylor@redhat.com>
208
209         * pango/Makefile.am (pango-enum-types.c): Make
210         pango-enum-types.c depend on pango-enum-types.h
211
212 Tue Feb 26 15:50:35 2002  Owen Taylor  <otaylor@redhat.com>
213
214         * pango/pangoxft-font.c (pango_xft_font_get_font): Try
215         to load something (load sans) if we can't load a font
216         that Xft listed. (Workaround for #72299, reported
217         by Gediminas Paulauskas)
218
219 Mon Feb 25 16:36:47 2002  Owen Taylor  <otaylor@redhat.com>
220
221         * modules/hebrew/hebrew-x.c pango/mini-fribidi/fribidi-types.h:
222         Fix trailing , on enumerations.
223         (#72572, Miroslaw Dobrzanski-Neumann)
224
225 Sun Feb 24 13:40:55 2002  Owen Taylor  <otaylor@redhat.com>
226
227         * pango/pangoxft-fontmap.c (pango_xft_pattern_equal):
228         Rewrite to reduce the number of strcmps.
229
230         * pango/pangoxft-fontmap.c (pango_xft_font_map_load_font):
231         Compute the patterns as for load_fontset(), then just
232         return the first. This takes advantage of our caching
233         strategy.
234
235 Sun Feb 24 12:12:09 2002  Owen Taylor  <otaylor@redhat.com>
236
237         * pango/pangoxft-fontmap.c (pango_xft_font_map_new_font): 
238         Fix problem where we unref'ed before we ref'ed resulting
239         in entries in the cache that shouldn't have been there.
240
241         * pango/pangoft2-fontmap.c (pango_ft2_font_map_new_font): 
242         Same.
243
244 Sat Feb 23 21:40:27 2002  Owen Taylor  <otaylor@redhat.com>
245
246         * configure.in: Version 0.26
247
248         * NEWS: Updates.
249
250 Sat Feb 23 17:34:26 2002  Owen Taylor  <otaylor@redhat.com>
251
252         * modules/basic/basic-{ft2,x,xft}.c: Patch from Sven Neumann
253         to extend and make consistent the set of zero-width characters
254         that are not displayed. (#71931)
255
256 Sat Feb 23 13:07:02 2002  Owen Taylor  <otaylor@redhat.com>
257
258         * pango/pango-font.h pango/pango-fontmap.h pango/pango-fontset.h:
259         Add some class padding for future expansion.
260
261 Wed Feb 20 16:58:24 2002  Owen Taylor  <otaylor@redhat.com>
262
263         * modules/arabic/{naqshfont.[ch],mulefont.[ch],langboxfont.[ch]}:
264         Fix recode functions to take gunichar * since we pass that in.
265         (#72059, reported by Miroslaw Dobrzanski-Neumann)
266
267 Sun Feb 17 18:50:30 2002  Owen Taylor  <otaylor@redhat.com>
268
269         * configure.in: Version 0.25
270
271         * configure.in: Add X_EXTRA_LIBS to XFT_LIBS.
272
273         * NEWS: Updates
274
275         * pango/mini-xft/minixftdpy.c
276         * pango/mini-xft/minixftstr.c: Fix some problems
277         with signed arguments to to isupper()/tolower().
278         (#71705, Morten Welinder)
279
280 2002-02-15  Hans Breuer  <hans@breuer.org>
281
282         * examples/makefile.am pango/makefile.am : added
283         makefile.msc to EXTRA_DIST
284         
285 Thu Feb 14 14:46:26 2002  Owen Taylor  <otaylor@redhat.com>
286
287         * configure.in: Respect QTDIR if set. Look for qt3 as well as qt2.
288
289 2002-02-14  Sven Neumann  <sven@gimp.org>
290
291         * configure.in: updated the list of available modules (bug #71411).
292
293 2002-02-10  Hans Breuer  <hans@breuer.org>
294
295         * pango/makefile.msc : update version, 
296         use -FImsvc_recommended_pragmas.h and add $(DIRENT_LIBS) to
297         pangoft2 linking
298
299 2002-02-09  Darin Adler  <darin@bentspoon.com>
300
301         * pango/fonts.c: (getword): isspace -> g_ascii_isspace
302         (pango_font_description_from_string): isspace -> g_ascii_isspace
303         * pango/modules.c: Remove unneeded <ctype.h> include.
304         * pango/pango-markup.c: (xml_isspace): New.
305         (pango_parse_markup): isspace -> xml_isspace
306         (span_parse_func): isdigit -> g_ascii_isdigit
307         * pango/pango-utils.c: (pango_trim_string): isspace -> g_ascii_isspace
308         (pango_skip_space): isspace -> g_ascii_isspace
309         (pango_scan_word): isspace -> g_ascii_isspace
310         (pango_scan_string): isspace -> g_ascii_isspace
311         (pango_scan_int): isspace -> g_ascii_isspace
312         * pango/pangoft2-fontmap.c: Remove unneeded <ctype.h> include.
313         * pango/pangox-fontmap.c: Remove unneeded <ctype.h> include.
314
315 2002-02-07  Tor Lillqvist  <tml@iki.fi>
316
317         * examples/pangoft2topgm.c (main): Accept also outfile name on
318         command line, fopen it separately then. Needed on Windows where
319         stdout is in text mode.
320
321         * modules/arabic/Makefile.am
322         * modules/hebrew/Makefile.am: Use -no-undefined on Windows,
323         otherwise libtool won't produce DLLs, and there will be no such to
324         install
325
326 Sat Feb  2 18:27:38 2002  Owen Taylor  <otaylor@redhat.com>
327
328         * pango/Makefile.am (pango_querymodules_LDADD): Try removing
329         libpango.la from the link line since it will be pulled
330         in from the other libraries to avoid duplicate inclusion.
331         (#70400.)
332
333         * pangox.pc.in (Libs): Add @X_XTRA_LIBS@ (#70400)
334
335 2002-02-01  Havoc Pennington  <hp@redhat.com>
336
337         * pangoxft.pc.in (Description, Name): fix cut-and-paste mess
338         name/description
339
340 2002-02-01  Anders Carlsson  <andersca@gnu.org>
341
342         * pango/pangoxft-fontmap.c (pango_xft_get_font_map): 
343         move to next element in list.
344
345 Tue Jan 29 11:35:11 2002  Owen Taylor  <otaylor@redhat.com>
346
347         * configure.in: Version 0.24
348
349         * NEWS: Updates
350
351 Mon Jan 28 20:23:59 2002  Owen Taylor  <otaylor@redhat.com>
352
353         * pango/pango-markup.c (pango_parse_markup): Fix problem
354         with detected root node. (Based on patch from Matthias Clasen,
355         #69600)
356
357 Mon Jan 28 19:41:20 2002  Owen Taylor  <otaylor@redhat.com>
358
359         * pango/pango-context.c (pango_context_load_font[set]): Add some
360         return-if-fails to catch loading size 0 fonts.
361
362 Thu Jan 24 18:05:54 2002  Owen Taylor  <otaylor@redhat.com>
363
364         * pango/pango-layout.c (get_items_log_attrs): Fix problems with
365         computing the length of the paragraph delimiter. (Reported by Evan Martin)
366
367 2002-01-24  Sven Neumann  <sven@gimp.org>
368
369         * configure.in
370         * modules/arabic/Makefile.am
371         * modules/arabic/arabic-ft2.c: added arabic shaper for FT2 ported 
372         from arabic-xft.c by Andreas Bogk <andreas@convergence.de>.
373
374 Wed Jan 23 16:49:24 2002  Owen Taylor  <otaylor@redhat.com>
375
376         * examples/viewer-ft2.c: Remove this file; pangofttopgm
377         is the test case for the FT2 backend now.
378
379         * examples/Makefile.am: Don't dist moc_viewer-qt.cc.
380
381         * examples/Makefile.am: Build pangofttopgm if we have FT2.
382
383         * examples/pangoft2topgm.c (main): Warning fixes.
384
385 2002-01-21  Havoc Pennington  <hp@redhat.com>
386
387         * pango/pango-layout.c (pango_layout_set_markup_with_accel): fix
388         memory leak of "text", reported by Jason Tackaberry
389
390 2002-01-20  Alexander Larsson  <alla@lysator.liu.se>
391
392         * pango/pangoft2.c (pango_ft2_draw_hline):
393         Clean up underline drawing. Fixes segfaults.
394
395 Sat Jan 19 11:50:32 2002  Owen Taylor  <otaylor@redhat.com>
396
397         * configure.in: Add a AC_TRY_LINK() for qt, since broken setups
398         seem to be common.
399
400         * configure.in: Save ACLOCAL_FLAGS for --enable-maintainer-mode rebuilds.
401
402 2002-01-18  Alexander Larsson  <alla@lysator.liu.se>
403         
404         * pango/pangoft2-private.h:
405         Add glyph_cache_destroy to PangoFont. This is slightly ugly, we
406         should perhaps have it in the FontMap, but it was easy.
407         
408         Added cached_glyph to PangoFT2GlyphInfo. This can be used by
409         apps that want to have a glyph cache. Only one user per PangoContext
410         though. Right now it is only internally accessible.
411
412         Added pango_ft2_font_get_cache_glyph_data(), pango_ft2_font_set_cache_glyph_data() and
413         pango_ft2_font_set_glyph_cache_destroy() to access this functionallity
414         
415         * pango/pangoft2.c:
416         Implement glyph caching for pango_ft2_render_layout(). Unbounded
417         caching right now. We should probably limit this in order to not
418         use a lot of memory if the user displayed a lot of glyphs once,
419         and then doesn't use them anymore.
420
421 2002-01-17  jacob berkman  <jacob@ximian.com>
422
423         * modules/hebrew/Makefile.am (common_sources): include missing
424         header file
425
426 Wed Jan 16 14:45:23 2002  Owen Taylor  <otaylor@redhat.com>
427
428         * pango/pango-layout.c (pango_layout_check_lines): 
429         A string ending in a paragraph delimiter has an
430         empty line at the end. (#68079, Arjan J. Molenaar.)
431
432 Wed Jan 16 09:25:34 2002  Owen Taylor  <otaylor@redhat.com>
433
434         * pango/fonts.c (pango_font_description_from_string): Initialize
435         the static_family field. (Fix from Zack Rusin)
436
437 2002-01-14  Havoc Pennington  <hp@pobox.com>
438
439         * pango/pango-layout.c: slight correction to
440         pango_layout_get_extents(), docs still need to be clearer, but 
441         at least they aren't a cut-and-paste of glyph string docs now. 
442         
443         * docs/tmpl/glyphs.sgml: add note about special-case use of
444         PANGO_SCALE with font sizes
445
446         * pango/fonts.c: fix docs to be correct about PANGO_SCALE
447
448 2002-01-13  Havoc Pennington  <hp@pobox.com>
449
450         * pango/fonts.c: fix up docs to be clearer about PANGO_SCALE, 
451         as suggested by Dennis Bjorklund
452
453 2002-01-11  Havoc Pennington  <hp@pobox.com>
454
455         * docs/pango_markup.sgml: fix cross-references in here
456
457 2002-01-11  Havoc Pennington  <hp@redhat.com>
458
459         * pango/pango-layout.c (pango_layout_set_attributes): allow
460         setting attrs to NULL
461
462 2002-01-11  Havoc Pennington  <hp@redhat.com>
463
464         * pango/pango-layout.c (pango_layout_iter_get_index): docs tweak
465         (pango_layout_iter_next_cluster): update iter->index here
466
467 Fri Jan 11 15:01:13 2002  Owen Taylor  <otaylor@redhat.com>
468
469         * pango/pangoft2-fontmap.c (pango_ft2_make_pattern) 
470         pango/pangoxft-fontmap.c (pango_xft_make_pattern): 
471         Split comma separated family names and add them in
472         pieces, so they are all visible to Xft.
473
474         * pango/pangoxft-fontmap.c: Remove duplicate XFT_FAMILY
475         in call to XftListFonts.
476
477 Thu Jan 10 16:27:24 2002  Owen Taylor  <otaylor@redhat.com>
478
479         * pango/mini-fribidi/fribidi.c: Fix read of unitialized
480         memory (#66067, Hidetoshi Tajima)
481
482 Thu Jan 10 15:04:31 2002  Owen Taylor  <otaylor@redhat.com>
483
484         * pango/glyphstring.c (pango_glyph_string_extents_range): 
485         Don't offset the logical rect by y_offset - this generally
486         is not desired, since it means that the logical height
487         of a line could change if it included accented characters.
488         (#67921, Dov Grobgeld)
489
490 2002-01-09  Alex Larsson  <alexl@redhat.com>
491
492         * pango/pangoxft-fontmap.c (pango_xft_font_map_load_fontset):
493         Add g_error if font match fails, referencing bug #68030, which
494         is the "libXrender is broken" bug.
495
496 Wed Jan  9 18:51:02 2002  Owen Taylor  <otaylor@redhat.com>
497
498         * pango/pango-context.c (pango_context_load_font): 
499         g_return_if_fail() if the desc's family is NULL.
500         (#67947, report from Darin Adler.)
501
502 Wed Jan  9 11:23:31 2002  Owen Taylor  <otaylor@redhat.com>
503
504         * pango/Makefile.am (s-enum-types-h): Include glib-object.h,
505         Add G_BEGIN_DECLS/END_DECLS to pango-enum-types.h. (#68325,
506         Mikael Hermansson)
507
508 Tue Jan  1 20:52:00 2002  Owen Taylor  <otaylor@redhat.com>
509
510         * pango/fonts.c (pango_font_description_merge[_static]):
511         Update the field mask in the merged description.
512
513 2002-01-02  Tor Lillqvist  <tml@iki.fi>
514
515         * pango/pangowin32.c (pango_win32_render_layout_line): Silence gcc
516         -Wall, initialise a couple of variables.
517
518         * pango/pangowin32-fontcache.c (pango_win32_font_cache_load): Set
519         lfCharSet to DEFAULT_CHARSET always. Conditional debugging output
520         with the PING() macro.
521
522         * pango/pangowin32-fontmap.c: Make the size_infos hash table
523         actually work like it is suppposed to, not that I know if it
524         matters. I think that it's useless to store all the different
525         charset vviews of the same actual ttf font in the list. Will have
526         to do more testing.
527         (logfont_nosize_hash): Lowercase face name before calculating
528         hash.
529         (logfont_nosize_equal): Compare face names ignoring case.
530         (pango_win32_insert_font): Store "courier new" also under the name
531         "courier", as that is what gtk-demo (and presumably often other
532         applications, too?) looks for.
533
534 Thu Dec 27 14:19:46 2001  Owen Taylor  <otaylor@redhat.com>
535
536         * modules/basic/basic-x.c: Mark as only an approximate
537         match for Hebrew, so the Hebrew shaper will be used
538         in preference. (#67557, Dov Grobgeld)
539
540 Wed Dec 26 11:52:28 2001  Owen Taylor  <otaylor@redhat.com>
541
542         * pango/pango-fontmap.c (pango_font_map_load_fontset) 
543         * pango/pango-context.c (pango_context_load_fontset): 
544         return_val_if_fail() if desc->family is not set.
545
546 Sat Dec 22 12:14:25 2001  Owen Taylor  <otaylor@redhat.com>
547
548         * configure.in: Version 0.23, require glib-1.3.12
549
550         * pango/makefile.msc (PANGO_VER): 0.23.
551
552         * NEWS: Updated.
553
554 Sat Dec 22 11:49:38 2001  Owen Taylor  <otaylor@redhat.com>
555
556         * modules/arabic/arabic-ot.c: Patch from Roozbeh
557         Pournader to update for shaping class changes
558         in Unicode 3.1.1.
559
560 Thu Dec 20 00:18:10 2001  Owen Taylor  <otaylor@redhat.com>
561
562         * pango/pangoxft-font.c (pango_xft_picture_render): Fix
563         doc comment.
564
565 Wed Dec 19 22:40:24 2001  Owen Taylor  <otaylor@redhat.com>
566
567         * pango/pango-layout.c (get_line_extents_layout_coords): 
568         Remove incorrect special casing of initial line.
569         (Reported by Darin Adler)
570
571 Tue Dec 18 12:33:03 2001  Owen Taylor  <otaylor@redhat.com>
572
573         * modules/indic/*-x.c (pango_engine_shape): Syllable
574         array needs to start at length 2, not 1. Also, some
575         cleanups. (Memory overrun reported by Joshua Pritikin
576         #66850)
577
578 2001-12-17  Darin Adler  <darin@bentspoon.com>
579
580         * pango/pangoft2.c: Fix doc comment.
581         * pango/pangoft2.h: Move include outside G_BEGIN_DECLS.
582         * pango/querymodules.c: (main): Add const to avoid warning.
583         * tests/dump-boundaries.c: (fail): Remove unused local.
584
585 2001-12-14  Sven Neumann  <sven@gimp.org>
586
587         * modules/hebrew/hebrew-x.c (hebrew_engine_get_coverage): use
588         (PangoLanguage *) instead of (const gchar *) to please the compiler.
589
590 2001-12-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
591
592         * examples/Makefile.am, modules/arabic/Makefile.am,
593         modules/basic/Makefile.am, modules/hangul/Makefile.am,
594         modules/hebrew/Makefile.am, modules/indic/Makefile.am,
595         modules/tamil/Makefile.am, modules/thai/Makefile.am,
596         pango/Makefile.am, pango/mini-fribidi/Makefile.am,
597         pango/opentype/Makefile.am, tests/Makefile.am: Compile with
598         -DG_DISABLE_DEPRECATED. See #52790.
599
600 2001-12-12  Sven Neumann  <sven@gimp.org>
601
602         * pango/mini-xft/minixftinit.c: include config.h so the definition 
603         of MINI_XFTCONFIG_DIR is actually used (spotted by Sebastian Klemke 
604         <packet@convergence.de>).
605
606 2001-12-12  Alexander Larsson  <alla@lysator.liu.se>
607
608         * pango/pangoft2-fontmap.c (pango_ft2_font_map_load_fontset):
609         Initialize MiniXft library before calling MiniXftConfigSubstitute.
610
611         * pango/mini-xft/minixftdir.c (MiniXftDirScan):
612         Changed back filename from MiniXftCache to XftCache for
613         compat with Xft.
614
615 2001-12-11  Alex Larsson  <alexl@redhat.com>
616
617         * pango/pangoft2.c (pango_ft2_render):
618         Fix the details in clipping to the bitmap size.
619
620 Mon Dec 10 14:22:22 2001  HideToshi Tajima  <hidetoshi.tajima@sun.com>
621
622         * modules/basic/tables-big.i: change "EUC-CN" to "GB2312" which
623         is the canonical name for gb2312.1980 charset used in libcharset.
624         (#66174)
625
626 Mon Dec 10 09:18:09 2001  Owen Taylor  <otaylor@redhat.com>
627
628         * pango/pango-layout.c (pango_layout_index_to_pos): 
629         Fix problem with returned width on lines other than
630         the first line (#66274).
631
632         * pango/pangox,ft2,win32.c (pango_*_render_layout):
633         Fix problem where indent wasn't honored (#66275). 
634         [ Note, however, there are remaining problems - see, #66626 ]
635
636 Thu Dec  6 19:07:31 2001  Owen Taylor  <otaylor@redhat.com>
637
638         * pango/pango-layout.c (get_items_log_attrs): Fix problem
639         where length passed in didn't get adjusted for paragraph
640         delimiters.
641
642 Thu Dec  6 12:10:53 2001  Owen Taylor  <otaylor@redhat.com>
643
644         * pango/break.c (pango_default_break): Simplify by
645         being lazy and calling g_utf8_strlen() (causes a
646         two passes over the array but shouldn't be a huge
647         performance loss). Fix bug where attributes weren't
648         set correctly for empty strings. Handle internal
649         NULLs consistently with other functions (truncate)
650         rather than dying with an assertion failure. (#65183)
651
652 Thu Dec  6 10:03:49 2001  HideToshi Tajima  <hidetoshi.tajima@sun.com>
653
654         * modules/basic/basic-x.c
655         (conv_eucjp): handle codeset1(right half of jisx0201.1976)
656         and codeset3(jisx0212.1990) of EUCJP
657         (conv_16bit): renamed from the old conv_euc - handle 16bit
658         character sets only.
659         * modules/basic/tables-big.i: add jisx0212, jisx0201 and big5.
660
661 2001-12-04  Manish Singh  <yosh@gimp.org>
662
663         * pango/modules.c
664         * pango/querymodules.c:  g_module_symbol takes a gpointer *, not just
665         a gpointer.
666
667 2001-12-03  Matthias Clasen  <matthiasc@poet.de>
668
669         * docs/pango-sections.txt, docs/tmpl/fonts.sgml, 
670         docs/tmpl/modules.sgml: Updates.
671
672         * pango/modules.c: Documentation fixes.
673
674 2001-12-04  Sven Neumann  <sven@gimp.org>
675
676         * pango/pangoft2-fontmap.c
677         (pango_ft2_font_map_init): set n_families to -1 (uninitialized).
678         (pango_ft2_font_map_list_families): set n_faces to -1 (uninitialized).
679         This makes list_families and list_faces work again for PangoFT2.
680
681 2001-12-01  Matthias Clasen  <matthiasc@poet.de>
682
683         * pango/pango-fontset.c: Documentation fixes.
684         
685 2001-11-29  Matthias Clasen  <matthiasc@poet.de>
686
687         * pango/pango-fontset.c: Documentation updates.
688
689 Thu Nov 29 11:40:51 2001  Owen Taylor  <otaylor@redhat.com>
690
691         * examples/viewer-qt.cc: Include qpainter.h - apparently
692         needed for Qt 3. (Patch from Dennis Dementiev)
693
694 2001-11-27  Alex Larsson  <alexl@redhat.com>
695
696         * pango/pangoft2-private.h
697         * pango/pangoft2-fontmap.c (_pango_ft2_font_desc_from_pattern):
698         Take extra parameter include_size that determines if the
699         descriptor includes the size.
700         
701         * pango/pangoft2.c (_pango_ft2_font_new):
702         Include size in ft2font->description.
703
704         * pango/pangoxft-private.h
705         * pango/pangoxft-fontmap.c (_pango_xft_font_desc_from_pattern):
706         Take extra parameter include_size that determines if the
707         descriptor includes the size.
708         
709         * pango/pangoxft-font.c:
710         Include size in xfont->description.
711
712 Mon Nov 26 19:24:21 2001  Owen Taylor  <otaylor@redhat.com>
713
714         * configure.in tests/Makefile.am tests/cxx-test.C: Add
715         a test program that includes all headers in a C++ program.
716         (#52606)
717
718 2001-11-26  Alex Larsson  <alexl@redhat.com>
719
720         * pango/pangoxft-font.c (pango_xft_font_get_coverage):
721         Don't leak filename copy.
722
723         * pango/pangoxft-fontmap.c (pango_xft_font_map_load_font):
724         Don't leak matched pattern
725
726 Mon Nov 26 18:17:00 2001  Owen Taylor  <otaylor@redhat.com>
727
728         * tests/Makefile.am tests/gen-all-unicode.c: Instead
729         of including all-unicode.txt in the distribution, include
730         a small program to generate it.
731
732         * modules/hangul/hangul-x.c (render_syllable_with_ksc5601): When 
733         falling back to uncomposed Jamos, if we can't render a Jamo
734         in any way, use the unknown glyph rather than nothing.
735
736         * modules/hangul/hangul-x.c (hangul_engine_shape): Prevent
737         overflows for invalid sequences which can be of arbitrary
738         length. (#50086)
739
740         * modules/arabic/arconv.c: New versions from Roozbeh Pournader.
741
742         - Replacing the tables with automatically-generated ones
743         - Using binary search instead of linear search for table lookup
744         - Updating all the names with Unicode names (eg Nun -> Noon)
745         - Fixed the Hamza mixup, using the Unicode rules
746         - Updating missed cases (eg Superscript Alef was missing from
747           arabic_isvowel)
748         - Removing too-intelligent cases which made the code non-compliant
749           (eg Alef with Hamza above+Kasra was changing to Alef with Hamza below)
750         - Removing 'connecttoleft' from 'charstruct' (replacing it with a macro)
751         - Indenting in the GNU style
752
753 2001-11-26  Matthias Clasen  <matthiasc@poet.de>
754
755         * pango/pangoft2.c (pango_ft2_font_get_coverage): Documentation.
756         
757         * modules/basic/basic-ft2.c (basic_engine_get_coverage): Use 
758         pango_font_get_coverage().
759
760 Mon Nov 26 11:31:01 2001  Owen Taylor  <otaylor@redhat.com>
761
762         * pango/Makefile.am: Workaround to work a little better with 
763         automake-1.5 - make $(libpango_la_OBJECTS) as well as $(OBJECTS)
764         depend on pango_built_headers.
765
766 Sun Nov 25 22:35:46 2001  Owen Taylor  <otaylor@redhat.com>
767
768         * configure.in (have_fribidi) README: Disable --with-fribidi; it offers
769         no advantages and until either fribidi is updated to use Glib-2.0
770         always, or the Glib dependecy is removed from fribidi entirely, there
771         will be problems with this option.
772
773         * pango/mini-fribidi/README: Update fribidi URL.
774
775 2001-11-24  Manish Singh  <yosh@gimp.org>
776
777         * acconfig.h
778         * configure.in: support for --with-xftconfig-dir= path to system
779         XftConfig file
780
781         * pango/pango-utils.c
782         * pango/pangox.c: include "config.h", not <config.h>
783
784         * pango/pangoxft-fontmap.c: this file is pangoxft-fontmap.c, not
785         pangoxft-fontmap.h :)
786
787         * pango/mini-xft/minixftint.h
788         * pango/mini-xft/minixftinit.c: add code for searching common
789         locations for the XftConfig file. We search MINI_XFTCONFIG_DIR
790         if configure defines it for us (as above), then $sysconfdir,
791         then (only on !_WIN32) /etc/X11 and /usr/X11R6/lib/X11.
792         
793
794 Sat Nov 24 13:44:21 2001  Kristian Rietveld  <kristian@planet.nl>
795
796         * pango/pango-fontmap.c (pango_font_map_real_load_fontset):
797         free the font description when we don't need it anymore
798
799 2001-11-23  Padraig O'Briain  <padraig.obriain@sun.com>
800
801         * pango/break.c (pango_default_break):
802         Fix for bug 65183; i.e. do not call g_utf8_next_char(next) when
803         next is end.
804         
805 2001-11-23  Hans Breuer  <hans@breuer.org>
806
807         * testfonts.c : removed the arbitrary limit to 10 fonts. 
808         Instead make the command line params useful again and reduce
809         the default result bitmap size by decreasing the default 
810         font size.      
811
812         * pango/pangowin32-fontcache.c (pango_win32_font_cache_load):
813         Don't always turn on anti-aliasing. Respect the users settings 
814         from 'Properties of Display/Effects'.
815
816         * pango/makefile.msc : updated, version 0.22
817         * pango/pango.def : updated externals
818
819         * pango/font.c pango/pango-coverage.c pango-utils.c
820           pango/pangowin32.c pango/shape.c :
821         coding style and static correctness
822
823 2001-11-22  Matthias Clasen  <matthiasc@poet.de>
824
825         * docs/pango-sections.txt: Remove duplicates. 
826         
827         * docs/tmpl/fonts.sgml: Document PANGO_TYPE_FONTSET
828         and PANGO_TYPE_FONTSET_SIMPLE.
829
830         * pango/pangoxft-font.c: Fix typos in some doc comments.
831
832 Thu Nov 22 14:23:07 2001  Owen Taylor  <otaylor@redhat.com>
833
834         * Version 0.22
835
836         * configure.in (GLIB_REQUIRED_VERSION): Require
837         GLib-1.3.11
838
839 Wed Nov 21 12:54:39 2001  Owen Taylor  <otaylor@redhat.com>
840
841         * configure.in (PANGO_MINOR_VERSION): Version 0.22.
842
843         * NEWS: Updated
844
845         * docs/pango-sections.txt Makefile.am: Update.
846
847         * pango/pango-layout.c (process_item): Don't look
848         like a doc comment.
849
850 2001-11-22  Tor Lillqvist  <tml@iki.fi>
851
852         * pango/pangowin32-fontcache.c (pango_win32_font_cache_load):
853         Always turn on anti-aliasing.
854
855 2001-11-21  Tor Lillqvist  <tml@iki.fi>
856
857         * pango/testfonts.c: Fix a couple of bugs, update for current
858         Pango API. It's not completely clear to me what the program is
859         supposed to do with the command line args. It does load a matching
860         font, but does nothing with it. It then always lists *all* font
861         families, and renders a string in each. This causes a huge image
862         with associated swapping to death if you have lots of fonts... I
863         added a restriction, only the first 10 fonts are rendered.
864
865 2001-11-20  Alex Larsson  <alexl@redhat.com>
866
867         * pango/pangoxft-font.c (pango_xft_font_finalize):
868         Don't free font_pattern if we opened the XftFont, since the
869         XftFont claims ownership of it.
870
871 2001-11-20  Tor Lillqvist  <tml@iki.fi>
872
873         * pango/pangowin32-fontmap.c (pango_win32_font_map_load_font): Fix
874         typo.
875
876 2001-11-18  Alex Larsson  <alexl@redhat.com>
877
878         * pango/pangoft2.[ch] (pango_ft2_get_context):
879         Take both dpi_x and dpi_y as arguments. Doesn't currently handle
880         dpi_x correctly, but at least the API is in.
881         
882 2001-11-18  Alex Larsson  <alexl@redhat.com>
883
884         * pango/pango-context.[ch]:
885         Add new function pango_context_load_fontset() to wrap
886         pango_font_map_load_fontset().
887         Add PangoContext arguments to load_font and load_fontset.
888
889         * pango/pango-fontmap.[ch]:
890         * pango/pangoft2-fontmap.c:
891         * pango/pangowin32-fontmap.c:
892         * pango/pangox-fontmap.c:
893         * pango/pangoxft-font.c:
894         * pango/pangoxft-fontmap.c
895         Add PangoContext arguments to load_font and load_fontset.
896
897 2001-11-19  Tor Lillqvist  <tml@iki.fi>
898
899         * pango-zip.sh.in: Suffix package names with datestamp. Add
900         the Pango modules.
901
902         * pango/pango.def: pango_context_add_font_map ->
903         pango_context_set_font_map. Add pango_fontset_*.
904
905         * pango/pangoft2.def: Reflect Alexander's changes.
906
907         * pango/mini-xft/minixftinit.c (get_xft_default_path): New
908         function. Use pango_get_sysconf_subdirectory () to construct a
909         suitable path.
910
911         * pango/mini-xft/minixftint.h: On Win32, don't use the hardcoded
912         /usr/X11R6/lib/X11/XftConfig path (or any other hardcoded path),
913         but instead the function get_xft_default_path().
914
915         * pango/mini-xft/minixftcache.c (MiniXftFileCacheSave): On Win32,
916         don't use link() and unlink() for the lock file. Instead, use a
917         lock directory.
918
919 2001-11-18  Alexander Larsson  <alla@lysator.liu.se>
920
921         * pango/pangoxft-fontmap.c:
922         Add XFT_MATRIX and XFT_MINSPACE macro definitions if missing.
923
924 2001-11-17  Alexander Larsson  <alla@lysator.liu.se>
925
926         * configure.in:
927         Check for LEX and YACC. This will be made optional later,
928         with the build sources checked in to cvs.
929         Generate pango/mini-xft/Makefile
930
931         * modules/basic/basic-ft2.c:
932         Use the new pangoft2 API.
933
934         * pango/Makefile.am:
935         Build mini-xft.
936         Add new files.
937
938         * pango/pango-context.[ch]:
939         Support only one fontmap per context.
940         Use pango_font_map_load_fontset() and PangoFontset instead
941         of internal fontset.
942
943         * pango/pango-fontmap.[ch]:
944         New virtual function pango_font_map_load_fontset() and
945         default implementation that uses pango_font_map_load_font().
946
947         * pango/pango-utils.[ch] (pango_lookup_aliases):
948         Utility function for looking up aliases. This can be
949         used by backend that has no backend specific aliases.
950
951         * pango/pangoft2-fontcache.c:
952         Removed file.
953
954         * pango/pangoft2-fontmap.c:
955         * pango/pangoft2-private.h:
956         * pango/pangoft2.c:
957         * pango/pangoft2.h:
958         Major rewrite. Doesn't handle fontsets. Uses mini-xft so that
959         it will always match the PangoXft backend. Simplified the
960         public API.
961
962         * pango/pangowin32.c:
963         * pango/pangox.c:
964         pango_context_add_font_map -> pango_context_set_font_map 
965
966         * pango/pangoxft-font.c:
967         * pango/pangoxft-fontmap.c:
968         * pango/pangoxft-private.h:
969         New code to handle fontsets.
970
971         * pango/mini-xft/*:
972         Mini version of libXft from XFree86 in order to have
973         the pangoFT2 and pangXft backends have same config files and
974         generate the same fonts.
975         
976 2001-11-14  Matthias Clasen  <matthiasc@poet.de>
977         
978         * docs/Makefile.am (MKDB_OPTIONS): Add --sgml-mode.
979
980 2001-11-11  Matthias Clasen  <matthiasc@poet.de>
981         
982         * docs/Makefile.am (IGNORE_HFILES): Add pangoxft-private.h.
983
984         * pango/pango-utils.c (pango_language_from_string): Fix typo in 
985         documentation.
986
987         * docs/tmpl/text-attributes.sgml: Document PangoColor, PangoLanguage,
988         PangoAttrLanguage, PangoAttrFloat and PangoAttrShape.
989
990         * docs/tmpl/layout.sgml: Document PangoWrapMode and PangoLayoutIter.
991
992         * docs/tmpl/tab-stops.sgml: Document PangoTabAlign and PangoTabArray.
993
994         * docs/tmpl/fonts.sgml: Document PangoFontMask.
995
996         * pango/fonts.c (pango_font_description_unset_fields): Fix typo in 
997         documentation. 
998
999         * docs/tmpl/opentype.sgml: Remove documentation templates of the 
1000         unimplemented functions pango_ot_ruleset_set_glyph_loader and
1001         pango_ot_ruleset_set_alternate_func and the related typedefs
1002         PangoOTGlyphLoader and PangoOTAlternateFunc.
1003
1004         * docs/tmpl/x-rendering.sgml: Document PangoGetGCFunc and
1005         PangoFreeGCFunc typedefs.
1006
1007 2001-11-08  Tor Lillqvist  <tml@iki.fi>
1008
1009         * pango-zip.sh.in: Build separate developer package.
1010
1011         * pango/pango.def: Add pango_color_parse.
1012
1013 Mon Nov  5 12:23:07 2001  Owen Taylor  <otaylor@redhat.com>
1014
1015         * pango/pangoxft.h pango/pangoxft-font.c: Add a function
1016         pango_xft_picture_render() to render onto an Xft picture
1017         directly linstead of using the XftDraw wrapper object.
1018
1019 2001-11-03  Hans Breuer  <hans@breuer.org>
1020
1021         * pango/modules.c : don't bother with module dir
1022         recalculation if LIBDIR isn't defined
1023
1024         * pango/pangowin32-fontmap.c : make it compile again
1025         after the g_ascii_* change below. Use EnumFontFamiliesExA
1026         to ensure to use the ascii version, though defining
1027         UNICODE for G_OS_WIN32 will break at other place anyway.
1028
1029         * pango/makefile.msc : use (hopefully temporary) DIRENT_CFLAGS
1030         and DIRENT_LIBS (see #63667)
1031
1032 Fri Nov  2 13:56:58 2001  Owen Taylor  <otaylor@redhat.com>
1033
1034         * pango/pango-layout.c: Patch from Alex Larsson to improve
1035         line breaking algorithm so that it doesn't do O(n^2) --
1036         each character is shaped at most twice - once to get the
1037         widths, and once if the run is broken. Also, quite a
1038         bit of cleanup to consistently use the ParaBreakState
1039         object to keep track of the state of the line-break
1040         process. (#62014)
1041
1042 Fri Nov  2 08:50:16 2001  Owen Taylor  <otaylor@redhat.com>
1043
1044         * pango/{fonts.c,pango-color.c,pango-utils.c,
1045                  pangoft2-fontmap.c,pangowin32-fontcache.c,
1046                  pangowin32-fontmap.c, pangox-fontmap.c}:
1047         Patch from Darin Adler, with updates, to use 
1048         g_ascii_* instead of locale-dependent variants
1049         (#55833).
1050
1051         * pango/fonts.c: Use g_ascii_dtostr, g_ascii_strtod().
1052
1053 2001-10-31  Tor Lillqvist  <tml@iki.fi>
1054
1055         * pango/modules.c (process_module_file): Neat Win32 feature: A
1056         prebuilt Pango package can be installed in a random location
1057         (i.e., not the same used when configuring and building the
1058         software). The pango.modules file provided with the package
1059         contains paths on the packager's system, not the end-users. We
1060         notice this, and replace with the corresponding path in the
1061         installation directory on the end-user's machine.
1062
1063         * pango/pango-utils.c: Use G_WIN32_DLLMAIN_FOR_DLL_NAME.
1064         (pango_get_sysconf_subdirectory,pango_get_lib_subdirectory): No
1065         need to call g_path_get_basename on the DLL name, DllMain already
1066         does it.
1067
1068 Wed Oct 31 11:00:55 2001  Owen Taylor  <otaylor@redhat.com>
1069
1070         * modules/tamil/tamil-{xft,x}.c: Make a number of functions
1071         static to avoid symbol clashes when both tamil-x.c and
1072         tamil-xft.c are linked statically into the same library.
1073         (#63436, Raymond Wan)
1074
1075 2001-10-30  Matthias Clasen  <matthiasc@poet.de>
1076
1077         * docs/pango-sections.txt, pango/pango-ot.h: Remove declarations
1078         of unimplemented functions pango_ot_ruleset_set_glyph_loader and
1079         pango_ot_ruleset_set_alternate_func and the related typedefs 
1080         PangoOTGlyphLoader and PangoOTAlternateFunc.
1081
1082         * pango/opentype/pango-ot-info.c, 
1083         pango/opentype/pango-ot-ruleset.c: Documentation updates.
1084
1085 2001-10-30  Sven Neumann  <sven@gimp.org>
1086
1087         * tests/Makefile.am: don't link against pangox at all. 
1088
1089         Please keep in mind that building on UNIX does not necessarily mean 
1090         that X11 is available.
1091
1092 Mon Oct 29 11:54:06 2001  Owen Taylor  <otaylor@redhat.com>
1093
1094         * pangox.pc.in (Cflags): Add @X_CFLAGS@ (#63095, Dan Winship)
1095
1096 2001-10-29  Tor Lillqvist  <tml@iki.fi>
1097
1098         * pango-zip.sh.in: New file, used to build distribution package
1099         for Windows.
1100
1101         * Makefile.am (EXTRA_DIST): Add pango-zip.sh.
1102
1103         * configure.in: Check for lib.exe, set MS_LIB_AVAILABLE. Generate
1104         pango-zip.sh.
1105
1106         * README.win32: Mention the ways to build Pango on Windows.
1107
1108         * modules/Makefile.am
1109         * examples/Makefile.am: Se SOSUFFIX to so on Unix, dll on Windows.
1110
1111         * pango/Makefile.am: Add rules to create MSVC import library if
1112         MS_LIB_AVAILABLE. Add rules to install and uninstall mingw and
1113         MSVC import libraries.
1114
1115         * tests/Makefile.am: Link with libpangox.la only on Unix. 
1116
1117 2001-10-27  Matthias Clasen  <matthiasc@poet.de>
1118
1119         * pango/modules.c: Typo fix.
1120
1121         * docs/tmpl/text-attributes.sgml, docs/tmpl/freetype-fonts.sgml,
1122         docs/tmpl/xft-fonts.sgml, docs/tmpl/win32-fonts.sgml,
1123         docs/tmpl/glyphs.sgml, docs/tmpl/x-rendering.sgml,
1124         docs/tmpl/pango-indic.sgml: Updates.
1125
1126 2001-10-26  Matthias Clasen  <matthiasc@poet.de>
1127
1128         * pango/fonts.c, pango/pangoft2.c, pango/pangowin32.c,
1129         pango/pango-fontmap.c, pango/pangoxft-font.c, pango/pangox-fontmap.c, 
1130         pango/pangoft2-fontmap.c, pango/pangoxft-fontmap.c,
1131         pango/pangowin32-fontmap.c, docs/pango-sections.txt,
1132         docs/tmpl/coverage-maps.sgml, docs/tmpl/fonts.sgml,
1133         docs/tmpl/freetype-fonts.sgml, docs/tmpl/glyphs.sgml,
1134         docs/tmpl/layout.sgml, docs/tmpl/main.sgml, docs/tmpl/modules.sgml,
1135         docs/tmpl/tab-stops.sgml, docs/tmpl/text-attributes.sgml, 
1136         docs/tmpl/win32-fonts.sgml: Documentation updates.
1137
1138 Thu Oct 25 11:06:54 2001  Owen Taylor  <otaylor@redhat.com>
1139
1140         * configure.in: Version 0.21, require GLib-1.3.6
1141
1142         * NEWS: Updates.
1143
1144 Fri Oct 26 12:32:25 2001  Owen Taylor  <otaylor@redhat.com>
1145
1146         * configure.in: Don't use AC_CHECK_LIB to check for
1147         win32, since that causes problems with autoconf-2.13.
1148
1149         * docs/Makefile.am: Fix to install images.
1150
1151 Thu Oct 25 11:05:01 2001  Owen Taylor  <otaylor@redhat.com>
1152
1153         * pango/pango-layout.c (pango_layout_run_get_extents): Allow
1154         NULL run_logical. (#63014, Tony Graham)
1155
1156 Thu Oct 18 15:48:14 2001  Owen Taylor  <otaylor@redhat.com>
1157
1158         * pango/pango-utils.h: Remove the rest of the 
1159         silly pango file-reading code from PANGO_ENABLE_BACKEND,
1160         so I can use it in gtkimmodule.c. It's nothing
1161         that should be in Pango longterm, but it's not
1162         enough code to worry about removing before Pango-2.0.
1163         (#61602, Sven Neumann)
1164
1165 Thu Oct 18 14:40:04 2001  Owen Taylor  <otaylor@redhat.com>
1166
1167         (Fixes from Frank Belew, #58905)
1168
1169         * pango/pangox.c (pango_x_apply_ligatures): Fix label
1170         at end of block.
1171
1172         * pango/mini-fribidi/fribidi.c pango/mini-fribidi/fribid.patch:
1173         Use g_alloca() instead of mix of MSVC specific and GCC specific
1174         stuff.
1175
1176 2001-10-15  Matthias Clasen  <matthiasc@poet.de>
1177
1178         * pango/tmpl/x-fonts.sgml
1179         * pango/break.c
1180         * pango/fonts.c: small documentation fixes.
1181
1182 2001-10-15  Sven Neumann  <sven@gimp.org>
1183
1184         * pango/pangoxft-font.c: another missing comment end marker and some
1185         fixes in gtk-doc comments.
1186
1187         * pango/break.c
1188         * pango/pango-layout.c
1189         * pango/pangoft2.c
1190         * docs/pango-sections.txt
1191         * docs/tmpl/fonts.sgml
1192         * docs/tmpl/x-fonts.sgml: documentation updates.
1193
1194 Sun Oct 14 18:42:56 2001  Manish Singh  <yosh@gimp.org>
1195         
1196         * pango/pangox.c: add missing comment end marker to make it compile
1197
1198 2001-10-14  Matthias Clasen  <matthiasc@poet.de>
1199
1200         * pango/pangox.c, pango/pangoxft-font.c, pango/pangoxft-fontmap.c,
1201         docs/pango-sections.txt, docs/tmpl/fonts.sgml: Documentation updates.  
1202
1203 2001-10-13  Matthias Clasen  <matthiasc@poet.de>
1204
1205         * pango/pango-utils.c, pango/pangoxft-font.c: Documentation updates.
1206
1207 2001-10-10  Tor Lillqvist  <tml@iki.fi>
1208
1209         * pango/.cvsignore: Add module-defs-win32.c.
1210
1211         * pango/Makefile.am (pangoinclude_HEADERS): Include also
1212         WIN32_HFILES.
1213
1214 2001-10-09  Matt Wilson  <msw@redhat.com>
1215
1216         * pango/pangox.c (get_font_metrics_from_string): protect from
1217         indexing off the end of the embedding_levels array by only doing
1218         so if we're not finished.
1219
1220 2001-10-04  Havoc Pennington  <hp@pobox.com>
1221
1222         * pango/break.c (pango_default_break): fix wrong 
1223         check for incorrect attrs_len
1224
1225 2001-10-04  Sven Neumann  <sven@gimp.org>
1226
1227         * pango/pangoft2-fontmap.c (pango_ft2_font_map_read_alias_file): 
1228         use g_object_new() instead of g_new() to create a PangoFT2Face.
1229         Fixes bug #61603.
1230
1231 2001-10-04  Tor Lillqvist  <tml@iki.fi>
1232
1233         * configure.in: Retract my change to Xrender+Xft+Xft+FreeType.h
1234         checks from yesterday, instead enclose nested AC_CHECK_* calls in
1235         brackets.
1236
1237 2001-10-03  Havoc Pennington  <hp@redhat.com>
1238
1239         * pango/break.c (MAYBE_START_NEW_SENTENCE): remove assertion I
1240         shouldn't have put in there
1241
1242 2001-10-03  Havoc Pennington  <hp@redhat.com>
1243
1244         * pango/break.c (pango_default_break): try to fix up the sentence
1245         breaking a bit, specifically for sentences that started at the end
1246         of a previous sentence we were messing things up.
1247
1248         * tests/dump-boundaries.c: new program to dump logical attrs to stdout
1249
1250         * tests/testboundaries.c (check_invariants): oops, fix for 
1251         pango_get_log_attrs() change
1252
1253 2001-10-03  Havoc Pennington  <hp@redhat.com>
1254
1255         * pango/break.c (pango_break)
1256         (pango_default_break) (pango_get_log_attrs): require one more 
1257         log attr in the buffer passed in, to account for the end position
1258         (pango_default_break): allow length of -1
1259
1260         * pango/pango-engine.h (struct _PangoEngineLang): change
1261         script_break virtual function to match pango_break
1262
1263         * pango/pango-layout.c (get_items_log_attrs): update pango_break usage
1264         
1265 2001-10-03  Sven Neumann  <sven@gimp.org>
1266
1267         * pango/fonts.c (pango_font_description_to_string): don't include
1268         family name if PANGO_FONT_MASK_FAMILY is not set.
1269
1270         * pango/pangoft2-fontmap.c: make it compile with DEBUGGING being
1271         defined.
1272
1273 2001-10-03  Tor Lillqvist  <tml@iki.fi>
1274
1275         Add the Win32 GDI Pango backend to autoconfiguration:
1276
1277         * configure.in: Call AC_LIBTOOL_WIN32_DLL. Check for native Win32
1278         or Cygwin, set automake conditional PLATFORM_WIN32. Check for
1279         native Win32, set OS_WIN32. Refactor the
1280         Xrender+Xft+Xft+FreeType.h checks not to use AC_CHECK_LIBs inside
1281         eachother, autoconf 2.52e on Cygwin generated bad shell code for
1282         that. Check for gdi32 library, set automake conditional
1283         HAVE_WIN32. Add the basic-win32 module, add INCLUDED_WIN32_MODULES
1284         and INCLUDE_BASIC_WIN32. Write pango/module-defs-win32.c. Generate
1285         pangowin32*.pc.
1286
1287         * pangowin32.pc.in
1288         * pangowin32-uninstalled.pc.in: New files.
1289
1290         * Makefile.am: Add pangowin32*.pc.in.
1291
1292         * .cvsignore: Add pangowin32*.pc.
1293
1294         * modules/basic/Makefile.am: Add the basic-win32 backend. Use
1295         -no-undefined on PLATFORM_WIN32.
1296
1297         * pango/Makefile.am: Add the Win32 backend. Use -no-undefined on
1298         PLATFORM_WIN32. Use the .def files on OS_WIN32. Link libpangoft2
1299         with GLIB_LIBS.
1300
1301         * pango/pango-utils.c: (DllMain): New function, on
1302         G_OS_WIN32. Used to get the actual DLL name, which is tucked away.
1303         (pango_get_sysconf_subdirectory, pango_get_lib_subdirectory):
1304         (Win32): Append VERSION to the registry key passed to
1305         g_win32_get_package_installation_subdirectory(). Use the real DLL
1306         name from above instead of assuming the DLL has a certain name.
1307
1308         Other Win32 backend fixes:
1309
1310         * pango/pangowin32-fontmap.c: (free_coverages_foreach): Remove, unused.
1311
1312         * pango/pangowin32.c: Remove unused variables.
1313
1314         * pango/pangowin32.def: Add pango_win32_font_get_glyph_index.
1315
1316         * pango/pangowin32.h: Remove pango_win32_font_get_coverage, which
1317         is static.
1318
1319 Mon Oct  1 16:02:54 2001  Owen Taylor  <otaylor@redhat.com>
1320
1321         * pango/fonts.c: g_string_printfa => g_string_append_printf.
1322
1323 Sat Sep 29 12:21:44 2001  Manish Singh  <yosh@gimp.org>
1324
1325         * pango/pangoft2-fontmap.c (pango_ft2_font_map_for_display):
1326         Typo fix: s/pang/pango/ in warning message
1327
1328 Fri Sep 28 11:27:57 2001  Owen Taylor  <otaylor@redhat.com>
1329
1330         * pango/pango-attributes.c (pango_attr_iterator_get_font): Use
1331         PANGO_FONT_MASK_* not PANGO_ATTR_* when manipulating the
1332         mask. Add fields to mask for PANGO_ATTR_FONT_DESC so
1333         it won't be overwritten by later attributes.
1334         (Fixes from Tony Graham, #61297)
1335         
1336 Thu Sep 27 12:08:23 2001  Owen Taylor  <otaylor@redhat.com>
1337
1338         * pango/pango-utils.c (pango_log2vis_get_embedding_levels): 
1339         Fix wrapper version to have boolean result. (#61248,
1340         Eric Lemings.)
1341
1342 Tue Sep 25 11:54:03 2001  Owen Taylor  <otaylor@redhat.com>
1343
1344         * configure.in: Version 0.20
1345
1346         * NEWS: Updated
1347
1348         * configure.in (GLIB_REQUIRED_VERSION): Require GLib 1.3.9
1349
1350         * examples/Makefile.am (EXTRA_DIST): Add the viewer-qt
1351         in case someone (say Tim) makes dist without qt installed.
1352         (reported by Tony Graham)
1353
1354         * examples/Makefile.am (pango.modules): Don't use
1355         grep -q (reported by Tony Graham)
1356
1357         * docs/pango-sections.txt: Fix small typo.
1358
1359 Tue Sep 25 11:18:24 2001  Owen Taylor  <otaylor@redhat.com>
1360
1361         * pango/fonts.c (pango_font_description_unset_fields): Change
1362         things so that when you unset fields, the old values are
1363         kept around persistantly. I don't like this much, but it
1364         makes some hacks using PangoFontDescription easier. (In
1365         particular, with GtkCellRendererText, being able to
1366         toggle on-and-off a setting with a boolean.)
1367
1368         * pango/{pangoft2-fontmap.c, pangowin32-fontmap.c, pangox-fontmap.c}:
1369         Fix for changed signature of g_ascii_strup/strdown.
1370
1371 Mon Sep 24 19:18:48 2001  Owen Taylor  <otaylor@redhat.com>
1372
1373         Patch from Alex Larsson
1374
1375         * pango/pango-layout.c (pango_layout_index_to_line_and_extents,
1376         pango_layout_index_to_line): Extract out some code portions
1377         into separate functions and fix problems with cursor motion
1378         in multi-paragraph layouts.
1379
1380         * pango/pango-layout.c (pango_layout_index_to_pos): Fix
1381         for multi-paragraph layouts.
1382
1383         * pango/pango-layout.c (pango_layout_move_cursor_visually): Fix
1384         for multi-paragraph layouts.
1385         
1386 Mon Sep 24 18:19:22 2001  Owen Taylor  <otaylor@redhat.com>
1387
1388         * pango/pango-layout.c (pango_layout_index_to_pos): Fix
1389         handling of the last index in a paragraph.
1390         (#60630, fix based on patch from Padraig O'Briain.)
1391
1392         * pango/pango-layout.c (update_run): Take the start
1393         index of the run as an argument since we don't have
1394         sufficient information to compute it when 
1395         iter->run == NULL.
1396
1397 Fri Sep 21 18:55:18 2001  Owen Taylor  <otaylor@redhat.com>
1398
1399         * pango/fonts.c (pango_font_description_from_string): Set 
1400         PANGO_FONT_MASK_FAMILY. (#60888, reported by Mario Motta)
1401
1402 2001-09-21  Matthias Clasen  <matthiasc@poet.de>
1403
1404         * pango/fonts.c (append_field, pango_font_description_to_string):
1405         replace g_string_sprintfa by g_string_printfa. 
1406
1407 2001-09-21  Hans Breuer  <hans@breuer.org>
1408
1409         * pango/pango.def : updated externals
1410
1411         * pango/makefile.msc : build ft2 backend too.
1412
1413         * pango/pangowin32-fontmap.c 
1414          - Convert PangoWin32FamilyEntry into PangoWin32Family deriving
1415            from PangoFontFamily.
1416          - Convert PangoWin32FontEntry into PangoWin32Face deriving
1417            from PangoFontFace.
1418          - Change the list_families() method of the PangoWin32FontMap
1419            to list PangoFontFamily * rather than names.
1420
1421         * pango/pangowin32.c : reflect PangoFontDescription api change
1422
1423         * pango/pangowin32.h : don't include pango.h but only the
1424         required headers
1425
1426         * modules/basic/basic-win32.c : #include "pango-engine.h"
1427
1428         * pango/testfonts.c : reflect recent pango api changes
1429
1430 2001-09-20  Sven Neumann  <sven@gimp.org>
1431
1432         * pango/fonts.c (pango_font_description_set_family,
1433         pango_font_description_copy): unset the static_family flag so the
1434         family_name gets freed on the next call.
1435
1436 2001-09-20  James Henstridge  <james@daa.com.au>
1437
1438         * pango/Makefile.am (s-enum-types-c): fix rule so that flags get
1439         registered as flags and rather than enums (enums still get
1440         registered as enums).
1441
1442         * pango/pango-font.h: add get_type routine to header.
1443
1444         * pango/fonts.c (pango_font_metrics_get_type): add get_type()
1445         routine.
1446
1447 Wed Sep 19 19:28:52 2001  Owen Taylor  <otaylor@redhat.com>
1448
1449         * pango/pango-fontmap.c: Remove pango_font_map_free_families,
1450         which was no longer in the headers, no longer needed, and
1451         no longer working.
1452
1453         * pango/pango-fontmap.c (pango_font_map_list_families)
1454         * pango/pango-context.c (pango_context_list_families): Remove
1455         references to pango_font_map_free_families.
1456
1457 2001-09-19  Havoc Pennington  <hp@redhat.com>
1458
1459         * pango/opentype/fterrcompat.h: header to abstract the difference
1460         between FreeType 2.0.3 and 2.0.4 error codes, based on the
1461         configure check.        
1462
1463         * configure.in: check for the tterrors.h header in FreeType 2.0.3,
1464         and define HAVE_FREETYPE_2_0_3 if we have it
1465
1466 Wed Sep 19 10:48:04 2001  Tim Janik  <timj@gtk.org>
1467
1468         * Released 0.19.
1469
1470 Tue Sep 18 23:27:52 2001  Tim Janik  <timj@gtk.org>
1471
1472         * configure.in (GLIB_REQUIRED_VERSION): require glib 1.3.8.
1473
1474 Tue Sep 18 17:29:20 2001  Owen Taylor  <otaylor@redhat.com>
1475
1476         * pango/pangoft2-fontmap.c pango/pangoft2-private.h: Include
1477         parent_instance structures.
1478
1479         * pango/fonts.c (pango_font_family_get_type): Pass in right
1480         class structure.
1481
1482 Tue Sep 18 15:47:08 2001  Owen Taylor  <otaylor@redhat.com>
1483
1484         * configure.in (PANGO_MINOR_VERSION): Up to 0.19.
1485
1486         * pango/pango-font.h pango/pango-fontmap.[ch] pango/fonts.c
1487         pango/pangoxft-fontmap.c pango/pangoft-fontmap.c pango/pango-context.[ch]
1488         pango/pangox-fontmap.c: Add new PangoFontFace and PangoFontFamily
1489         object types, and change the font listing API to list faces and
1490         families, instead of face names and font descriptions.
1491
1492         * pango/pango-font.h pango/fonts.c: Make PangoFontDescription
1493         an opaque heap-allocated structure, add accessors and
1494         convenience functions.
1495
1496         * pango/pango-font.h pango/pango-private.h: Make PangoFontMetrics
1497         heap allocated, protect the structure definition with
1498         #ifdef PANGO_ENABLE_BACKEND, and add getters for the fields.
1499
1500         * pango/pango-attributes.[ch] ( pango_attr_iterator_get_font):
1501         instead of providing a base font description and one to fill
1502         in, provide a single font description to modify based on
1503         the attributes.
1504
1505         * pango/pango-attributes.[ch]: Fix PangoAttrFontDesc to have
1506         a PangoFontDescription by reference, not by value.
1507
1508         * pango/pango-utils.[ch]: make pango_parse_style() and friends
1509         take pointers to individual enumerations instead of to a
1510         PangoFontDescription structure.
1511
1512         * pango/*.c: Fix for the PangoFontDescription and PangoFontMetrics
1513         changes.
1514
1515         * pango/pango-{break,engine,indic,ot,xft}.h pango/Makefile.am
1516         pango/opentype/Makefile.am: Protect portions with
1517         PANGO_ENABLE_ENGINE to shrink the public API.
1518
1519         * modules/*/Makefile.am: -DPANGO_ENABLE_ENGINE.
1520
1521         * pango/{pangox.h,pangox-private.h} modules/basic/basic-x.c: Move
1522         pango_x_font_get_unknown_glyph() into public header since it is
1523         used from modules.
1524
1525         * pango/pango-{context,font,fontmap,modules.utils}.h pango/Makefile.am:
1526         Protect portions with PANGO_ENABLE_BACKEND to shrink the public API.
1527
1528         * pango/*.h: Use G_BEGIN/END_DECLS
1529
1530         * examples/viewer-qt.[cc,h]: Fix for changes to font listing API,
1531         PangoFontDescription.
1532
1533         * pango/pango-indic.h modules/indic/*: Since we install this
1534         header fix it up to Pango conventions, namespece
1535         ZERO_WIDTH_JOINER, ZERO_WIDTH_NON_JOINER.
1536
1537         * docs/pango-sections.txt: Updated.
1538
1539 2001-09-18  Matt Wilson  <msw@redhat.com>
1540
1541         * modules/basic/Makefile.am (basic_xft_libadd): add
1542         $(pangoxftlibs) so we get proper dependencies noted in the module.
1543         
1544 Tue Sep 11 11:31:53 2001  Owen Taylor  <otaylor@redhat.com>
1545
1546         * pango/pangoft2-fontmap.c pango/modules.c
1547           pango/pango-utils.c pango/querymodules.c: Use 
1548         g_build_filename() where appropriate.
1549
1550 Thu Sep  6 21:13:56 2001  Owen Taylor  <otaylor@redhat.com>
1551
1552         * pango/pango-color.c: Fix problem with green/blue 
1553         confusion.
1554
1555 2001-09-10  Alex Larsson  <alexl@redhat.com>
1556
1557         * pango/fonts.c:
1558         * pango/glyphstring.c:
1559         * pango/pango-attributes.c:
1560         * pango/pango-color.c:
1561         * pango/pango-tabs.c:
1562         * pango/pango-utils.c:
1563         Update to the new g_boxed_type_register_static API.
1564         
1565 Mon Sep  3 19:37:02 2001  Owen Taylor  <otaylor@redhat.com>
1566
1567         * configure.in: Version 0.18
1568
1569         * NEWS: Updated.
1570
1571         * pango/pangoxft-font.c (pango_xft_font_finalize): Actually
1572         free the XftFont (and description). Lack of such pointed out
1573         by David Turner.
1574
1575 Sun Sep  2 12:08:15 2001  Owen Taylor  <otaylor@redhat.com>
1576
1577         * pango/pango-layout.c pango/pango-utils.c: Make 
1578         a couple of functions static.
1579
1580         * pango/mini-fribidi/{fribidi_tables.i,fribidi.patch}: 
1581         Make data arrays static.
1582
1583 Thu Aug 30 17:34:52 2001  Owen Taylor  <otaylor@redhat.com>
1584
1585         * pango/pango-color.c: New file, move color handling
1586         here.
1587
1588         * pango/pango-attributes.[ch] pango/pango-markup.c
1589         pango/pango-color.c: Export pango_color_parse, change
1590         it to take a PangoColor as its argument.
1591
1592 Fri Aug 24 12:21:50 2001  Owen Taylor  <otaylor@redhat.com>
1593
1594         * pango/pango-layout.c (pango_layout_set_text): Handle
1595         text == NULL, length == 0 again.
1596
1597 Thu Aug 23 19:44:34 2001  Tim Janik  <timj@gtk.org>
1598
1599         * pango/pango-layout.c (pango_layout_check_lines): pass ""
1600         as default text into pango_layout_set_text() as NULL isn't
1601         allowed anymore.
1602
1603 Wed Aug 22 19:52:18 2001  Owen Taylor  <otaylor@redhat.com>
1604
1605         * pango/pango-layout.c (pango_layout_set_text): Simply
1606         use g_utf8_validate() to validate the text, avoiding
1607         problem where layout was left in hosed state for invalid
1608         UTF-8, and also a bug with reading one-past length.
1609
1610 2001-08-16  Alexander Larsson  <alexl@redhat.com>
1611
1612         * pango/pangowin32.c: 
1613         Fully convert the truetype unicode table to host endianness when reading it.
1614         Add a cache of one to find_segment since it showed up on a profile.
1615
1616 2001-08-15  Jens Finke <jens@gnome.org>
1617
1618         * pango.spec.in: Updated to match gpp standard.
1619
1620 2001-08-14  Sven Neumann  <sven@gimp.org>
1621
1622         * pango/pangoft2.c (pango_ft2_render): composite with "saturate"
1623         semantics instead of "over" so joining glyphs get drawn correctly.
1624
1625 2001-08-14  Sven Neumann  <sven@gimp.org>
1626
1627         * pango/pangoft2.c (pango_ft2_render): composite glyphs over the 
1628         buffer instead of simply copying into it so glyphs with overlapping 
1629         ink rectangles do not overwrite each other.
1630
1631 Sun Aug 12 10:33:02 2001  Owen Taylor  <otaylor@redhat.com>
1632
1633         * docs/Makefile.am pango/Makefile.am: Set GPATH to fix srcdir !=
1634         builddir problems with GNU make.
1635
1636 2001-08-10  Hans Breuer  <hans@breuer.org>
1637
1638         * pango/pangowin32.c (pango_win32_render) : restore
1639         the previously selected font into the device context.
1640
1641         (pango_win32_font_get_glyph_extents) : info->ink_rect.y needs
1642         to be negative to get underlines right
1643
1644         * pango/pangowin32-fontmap.c (pango_win32_font_map_list_fonts) :
1645         Don't g_assert_not_reached () on !family case. This is what
1646         the X version does as well. Testcase for win32: testfonts.c
1647
1648         * pango/testfonts.c : (new file) simple test program for win32
1649         which renders all or selected fonts into a bitmap
1650
1651         * pango/makefile.msc : re-enable testfonts compiling
1652
1653 2001-08-09  Matthias Clasen  <matthiasc@waldgeist.poet.de>
1654
1655         * pango/pango-layout.c (pango_layout_line_get_empty_extents): 
1656         Remove unneeded inc_rect parameter.
1657         (pango_layout_line_get_extents): Treat lines containing only
1658         tabs as empty lines. (#57051)
1659
1660 2001-08-09  Alexander Larsson <alexl@redhat.com>
1661
1662         * pango/pangowin32.h:
1663         * pango/pangowin32-private.h:
1664         * pango/pangowin32.c:
1665         * pango/pangowin32-fontmap.c:
1666         * modules/basic/basic-win32.c:
1667         * pango/pangowin32.def:
1668         Large rewrite of the win32 backend to use real glyph indexes
1669         instead of unicode codes. Also drops the subfont thing, thereby
1670         simplifying the code immensely. This looses some functionality, 
1671         but i will add that back soon using global (non backend-specific)
1672         aliases.
1673         This is the first cut, and is not perfect. It still has some issues
1674         and imperfections, but it so clearly better than the current 
1675         imlementation that I'm checking it in anyway.
1676
1677 2001-08-04  Alexander Larsson  <alexl@redhat.com>
1678
1679         * pango/makefile.msc:
1680         Don't build the non-existant testfont binary
1681         Use glib-mkenums instead of the old mkenums.pl
1682         copy module-defs-win32.c.win32 to module-defs-win32.c
1683
1684         * pango/module-defs-win32.c.win32:
1685         Include the built in basic-win32 stuff.
1686         
1687 2001-07-27  Darin Adler  <darin@bentspoon.com>
1688
1689         * modules/indic/gujarati-x.c: Remove unused prototype.
1690
1691 2001-07-20  Hans Breuer  <hans@breuer.org>
1692
1693         * pango/pango-layout.c (pango_layout_line_get_vis2log_map) : 
1694         make implementation static too.
1695
1696         * pango/pango.def pango/pangowin32.def : updated exports
1697
1698         * pango/pangowin32.c : correct PangoLanguage changes
1699
1700         * pango/mini-fribidi/fribidi.c : removed gccism for msvc build
1701
1702 Thu Jul 19 16:44:43 2001  Owen Taylor  <otaylor@redhat.com>
1703
1704         * pango/pango-context.c (font_set_load): Don't corrupt the
1705         font description passed in.
1706
1707 Fri Jul 13 14:24:59 2001  Owen Taylor  <otaylor@redhat.com>
1708
1709         * pango/Makefile.am (pango_querymodules_DEPENDENCIES): Fix dependencies
1710         to work without XFT.
1711
1712 Thu Jul 12 16:32:42 2001  Owen Taylor  <otaylor@redhat.com>
1713
1714         * pango/Makefile.am (pango_querymodules_DEPENDENCIES): Add
1715         an explicit dependency on libpangoxft.la, to fix
1716         parallel make problem (#56818)
1717
1718         * pango/Makefile.am (CLEANFILES): Fix problem where
1719         name of stamp files didn't match actual name.
1720
1721 2001-07-12  Darin Adler  <darin@bentspoon.com>
1722
1723         * modules/arabic/arabic-x.c: (arabic_engine_shape): Remove stray
1724         semicolon.
1725         
1726         * modules/arabic/arconv.h:
1727         * modules/arabic/arconv.c: (shape), (doublelig), (arabic_reshape):
1728         Use long* instead of int* for parameter to match what's passed in.
1729         
1730         * modules/indic/bengali-x.c: Add missing <string.h> include.
1731         (pango_indic_make_ligs): Use local variable that was added but not
1732         ever used.
1733         (pango_indic_engine_shape): Remove unused locals.
1734         
1735         * modules/indic/devanagari-x.c: Add missing <string.h> include.
1736         (pango_indic_engine_shape): Remove unused local.
1737         
1738         * modules/indic/gujarati-x.c: Add missing <string.h> include.
1739         (pango_indic_engine_shape): Remove unused local
1740         
1741         * modules/tamil/tamil-x.c: (tamil_engine_shape): Initialize a
1742         variable to quiet the compiler's unused warning.
1743         
1744         * pango/.cvsignore: Ignore more generated files.
1745         
1746         * pango/opentype/ftxgpos.c: (Get_Anchor): Add code to set up the
1747         ap variable. The old code would just use the uninitialized value.
1748         
1749         * pango/opentype/ftxopen.c: (Load_Coverage): Remove unused local.
1750         
1751         * pango/opentype/pango-ot-ruleset.c: (pango_ot_ruleset_shape):
1752         Remove unused local.
1753         
1754         * pango/pango-attributes.c: (pango_attr_list_get_type),
1755         (pango_color_get_type): Add needed function type casts (just
1756         warnings under gcc, but could be errors in other compilers).
1757         
1758         * pango/pangoxft-font.c: (pango_xft_font_get_metrics),
1759         (pango_xft_font_get_coverage), (pango_xft_get_shaper_map),
1760         (pango_xft_font_find_shaper): Switch from lang char* to
1761         PangoLanguage*. The code was still compiling, but would not have
1762         worked.
1763
1764 2001-07-02  James Henstridge  <james@daa.com.au>
1765
1766         * pango/glyphstring.c (pango_glyph_string_copy): copy function.
1767         (pango_glyph_string_get_type): implement get_type function.
1768
1769         * pango/pango-glyph.h (pango_glyph_string_get_type): get_type
1770         function prototype.
1771         (pango_glyph_string_copy): prototype for copy function.
1772
1773         * pango/pango-utils.c (pango_language_get_type): implementation.
1774
1775         * pango/pango-types.h (pango_language_get_type): get_type function.
1776
1777         * pango/pango-tabs.c (pango_tab_array_get_type): implementation.
1778
1779         * pango/pango-tabs.h (pango_tab_array_get_type): get_type function.
1780
1781         * pango/fonts.c (pango_font_description_get_type): implementation.
1782
1783         * pango/pango-font.h (pango_font_description_get_type): add
1784         get_type function for typecode.
1785
1786 Mon Jul  2 06:12:18 2001  Tim Janik  <timj@gtk.org>
1787
1788         * pango/pangoxft-font.c: 
1789         * pango/pangox.c: 
1790         * pango/pangowin32.c: 
1791         * pango/pangoft2.c: s/shutdown/dispose/ to adapt to
1792         GObject changes.
1793
1794 Sun Jul  1 22:59:02 2001  Owen Taylor  <otaylor@redhat.com>
1795
1796         * pango/pango-markup.c (text_handler): Use gssize,
1797         not size_t, gssize isn't defined here on all
1798         systems.
1799
1800 2001-06-29  Havoc Pennington  <hp@redhat.com>
1801
1802         * configure.in (QTDIR): don't get confused by qt3
1803
1804 Thu Jun 28 21:49:30 2001  Owen Taylor  <otaylor@redhat.com>
1805
1806         * configure.in (GLIB_REQUIRED_VERSION): Require GLib-1.3.7
1807
1808         * pango/pangoft2-fontmap.c pango/pangowin32-fontmap.c
1809           pango/pangox-fontmap.c pango/pangoxft-fontmap.c:
1810         Fix args to g_type_init().
1811
1812 Tue Jun 26 15:11:30 2001  Owen Taylor  <otaylor@redhat.com>
1813
1814         * pango/pango-context.c (font_set_get_font)
1815           pango/pango-context.c (add_engines): Couple of
1816         bug fixes for the last change.
1817
1818         * configure.in: Abort out when AM_PATH_GLIB fails.
1819
1820 Tue Jun 26 10:19:02 2001  Owen Taylor  <otaylor@redhat.com>
1821
1822         * pango/pango-utils.c (pango_language_matches): Handle
1823         language == NULL as matching nothing but '*'.
1824
1825         * pango/pango-context.[ch] (pango_context_get_metrics): Add a
1826         (slowish) function to get the metrics for a font description,
1827         including fallbacks as with pango_itemize(), rather than a single
1828         font.
1829
1830 Sat Jun 23 10:01:20 2001  Owen Taylor  <otaylor@redhat.com>
1831
1832         * pango/pangowin32-fontmap.c (pango_win32_font_entry_get_coverage): 
1833         * pango/pangoft2-fontmap.c (pango_ft2_font_entry_get_coverage):
1834           pango/pango-markup.c:
1835           modules/arabic/arabic-xft.c (arabic_engine_shape):
1836           modules/arabic/arabic-x.c (arabic_engine_shape):
1837           pango/pango-context.c (pango_itemize): 
1838           pango/pangox.c (get_font_metrics_from_string):
1839           pango/pangoft2.c (get_font_metrics_from_string):
1840         Adapt to 64-bit changes in glib.
1841
1842         * pango/Makefile.am: Modify generation rules to
1843         use glib-mkenums (ugh, loong command lines), and
1844         to reduce rebuilding by using stamp files.
1845
1846 2001-06-22  Hans Breuer  <hans@breuer.org>
1847
1848         * pango/makefile.msc : changed version to 0.17
1849
1850         * pango/pango.def : updated externals
1851
1852         * pango/pangowin32-fontmap.c :
1853         * pango/pangowin32-private.h :
1854         * pango/pangowin32.c : adapted to PangoLanguage usage
1855
1856 Sat Jun  9 17:36:09 2001  Owen Taylor  <otaylor@redhat.com>
1857
1858         * pango/pango-types.h pango/pango-utils.c: Add a new PangoLanguage
1859         type to represent language tags; these can efficiently be compared
1860         and don't need to be copied. Also add pango_language_matches()
1861         to match a language tag against a pattern.
1862
1863         * pango/pango-item.[ch] pango/pango-layout.c: Move extra_attrs
1864         from PangoItem to PangoAnalysis. Add a language tag field to
1865         PangoAnalysis. (#55894)
1866
1867         * pango/pango-attributes.[ch] (pango_attr_iterator_get_font): Return
1868         the language tag as well.
1869
1870         * pango/pango-attributes.[ch]: Rename PangoAttrLang to PangoAttrLanguage,
1871         and make it hold a PangoLanguage.
1872
1873         * pango/pango-context.[ch]: Rename pango_context_{get,set}_lang() to
1874         pango_context_{get,set}_language().
1875
1876         * **.[ch]: Adapt to PangoLanguage and s/lang/language/ changes.
1877
1878         * modules/basic/basic-x.c modules/basic/tables-big.i: Add support
1879         for ordering character sets differently for different language
1880         tags.
1881
1882         * pango/itemize.c: Remove old, unused file.
1883
1884         * pango/pango-context.c (pango_itemize): Reduce number of mallocs
1885         by allocating one array of PangoAnalysis instead of many arrays.
1886
1887 2001-06-12  Havoc Pennington  <hp@redhat.com>
1888
1889         * docs/Makefile.am (dist-hook): don't ignore errors from missing
1890         index.sgml
1891
1892         * NEWS: update
1893
1894         * configure.in: increment version to 0.17
1895
1896 Thu Jun  7 14:06:25 2001  Owen Taylor  <otaylor@redhat.com>
1897
1898         * pango/pango-layout.c (pango_layout_move_cursor_visually): 
1899         Add a 'strong' parameter to allow moving either the strong
1900         or the weak cursor visually, instead of the strong cursor.
1901
1902 2001-06-07  Havoc Pennington  <hp@redhat.com>
1903
1904         * pango/Makefile.am: add libpango.la to _DEPENDENCIES for the
1905         other libs
1906
1907         * configure.in: use AM_PATH_GLIB_2_0
1908
1909         * autogen.sh: support AUTOGEN_SUBDIR_MODE
1910
1911         * Makefile.am: dist the .pc.in files
1912
1913 Tue Jun  5 10:40:17 2001  Owen Taylor  <otaylor@redhat.com>
1914
1915         * docs/reference/tmpl/*.smgl: Patch from Matthias 
1916         Clasen fixing various typos. (#55744)
1917
1918 Thu May 31 19:35:27 2001  Owen Taylor  <otaylor@redhat.com>
1919
1920         * pango/pango-layout.c (pango_layout_line_x_to_index):
1921         Make the hack for avoiding the last index of the line more
1922         sophisticated in order to deal with newlines internal
1923         to the layout and the case where the second half of the 
1924         last character is specifically selected. (Fixes #51190)
1925
1926 Thu May 31 12:31:20 2001  Owen Taylor  <otaylor@redhat.com>
1927
1928         * pango/pangox-fontmap.c (pango_x_font_map_for_display):
1929         Actually advance through list. (Problem noticed 
1930         by Erwann Chenede)
1931
1932         * modules/Makefile.am (install-data-local): Move rule
1933         for generation of /etc/pango/pango.modules to here,
1934         since we are now built _after_ the library. (Problem
1935         noticed by KUSANO Takayuki)
1936
1937 Tue May 29 18:17:11 2001  Owen Taylor  <otaylor@redhat.com>
1938
1939         * autogen.sh (have_libtool): Fix GNU sedism
1940
1941 Tue May 29 17:41:44 2001  Owen Taylor  <otaylor@redhat.com>
1942
1943         * configure.in: Use $PKG_CONFIG, not pkg-config.
1944
1945 Mon May 28 18:15:55 2001  Owen Taylor  <otaylor@redhat.com>
1946
1947         * pango/pango-layout.c (pango_layout_move_cursor_visually): 
1948         Set *trailing properly at end of line.
1949
1950 Mon May 28 11:51:45 2001  Owen Taylor  <otaylor@redhat.com>
1951
1952         * pango/modules.c (map_add_engine): Fix problem with
1953         information loss when converting leaves to branches.
1954         (Problem found by Toshio MARUYAMA)
1955
1956 Wed May 23 12:59:26 2001  Owen Taylor  <otaylor@redhat.com>
1957
1958         * pango/pangox.c (pango_x_make_font_struct): Load the
1959         font struct for "fixed" in the case of a broken font list
1960         where fonts listed by XListFonts aren't loadable.
1961
1962 Fri May 18 16:44:25 2001  Owen Taylor  <otaylor@redhat.com>
1963
1964         * pango/pango-layout.c (ensure_tab_width): Use the font
1965         at the beginning of the paragraph, not the context's
1966         font.
1967
1968 Fri May 18 11:30:57 2001  Owen Taylor  <otaylor@redhat.com>
1969
1970         * pango/opentype/disasm.c: Use ISO C99 varargs when
1971         available.
1972
1973 Thu May 17 11:16:23 2001  Owen Taylor  <otaylor@redhat.com>
1974
1975         * pango/mapping.c: Fixup docs, remove some FIXMEs that are 
1976         no longer applicable.
1977
1978         * pango/pango-layout.c: Move by graphemes, not characters.
1979
1980         * pango/pango-layout.c (pango_layout_line_x_to_index): 
1981         Position at the closest grapheme boundary, not at character
1982         boundaries.
1983
1984         * pango/pango-layout.c (pango_layout_line_index_to_x): 
1985         Return positions of grapheme boundaries, not character 
1986         boundaries.
1987
1988 Tue May  1 16:03:48 2001  Owen Taylor  <otaylor@redhat.com>
1989
1990         * autogen.sh (libtool_version): Require libtool 1.4 when
1991         build out of CVS.
1992
1993         * **/Makefile.am: Add inter-library dependencies,
1994         especially for the modules. Many cleanups to the
1995         module makefiles.
1996         
1997         * configure.in modules/indic/Makefile.am: Remove 
1998         INCLUDE_ANY_INDIC conditional which doesn't seem to have
1999         any point and was definitely suspect as done.
2000
2001         * modules/tamil/tamil-xft.c (MODULE_ENTRY): Fix prefix
2002         to be _pango_tamil instead of _pango_basic.
2003
2004         * Makefile.am: Build modules/ after pango/ so we can
2005         make the modules depend on libpango/libpangox. 
2006
2007         * examples/Makefile.am: Remove spurious rule to rebuild
2008         makefile.mingw.
2009
2010 Mon May 14 19:10:11 2001  Owen Taylor  <otaylor@redhat.com>
2011
2012         * pango/pangoxft-font.c: Fix to correspond to extremely
2013         odd choice of sign convention in libXft. (#51476)
2014
2015 Wed May  9 10:11:06 2001  Owen Taylor  <otaylor@redhat.com>
2016
2017         * pango/Makefile.am (install-data-local): Get rid
2018         of grep -q (pointed out by Tony Graham).
2019
2020 2001-05-06  Alexander Larsson  <alla@lysator.liu.se>
2021
2022         * configure.in:
2023         Fix Xft detection by setting CPPFLAGS before trying
2024         the Xft/XftFreetyp.h header file.
2025         Use CPPFLAGS instead of CFLAGS.
2026
2027 2001-01-06  Hans Breuer  <hans@breuer.org>
2028
2029         * pango/makefile.msc : reflect new version number, removed
2030         external fribidi dependency from link step as well
2031
2032         * pango/pango.def : updated externals
2033
2034         * pango/pangowin32.c : initialize approximate_(digit|char)_width
2035          similar to what the other backends do
2036
2037 Fri May  4 11:07:04 2001  Owen Taylor  <otaylor@redhat.com>
2038
2039         * NEWS: Update for 0.16
2040
2041         * docs/pango-sections.txt: Update.
2042
2043         * configure.in (PANGO_MINOR_VERSION): 0.16
2044
2045 Wed May  2 11:57:45 2001  Owen Taylor  <otaylor@redhat.com>
2046
2047         * examples/Makefile.am (QT_LIBS): Remove space that
2048         was confusing libtool.
2049
2050 2001-05-04  Alex Larsson  <alla@lysator.liu.se>
2051
2052         * pango/pangoft2.c (get_font_metrics_from_subfonts):
2053         Set approximate_digit_width and approximate_char_width. The
2054         digit one could be done better (see bug 53425).
2055
2056 2001-05-03  Michael Natterer  <mitch@convergence.de>
2057
2058         * configure.in: also check for the the Xft header.
2059
2060 Wed May  2 11:35:16 2001  Owen Taylor  <otaylor@redhat.com>
2061
2062         * configure.in (have_freetype): Add check to make sure
2063         #include FT_ERRORS_H works. (#54043)
2064
2065 2001-05-02  Sven Neumann  <sven@convergence.de>
2066
2067         * configure.in: do not try to build modules using Xft if X is not
2068         available or was explicitely disabled.
2069
2070 Tue May  1 23:30:53 2001  Owen Taylor  <otaylor@redhat.com>
2071
2072         * modules/hangul/hangul-x.c (hangul_engine_shape): Fix numeric
2073         format in warning.
2074
2075         * pango/pangox.c (get_font_metrics_from_string): Fix assorted
2076         brokenness.
2077
2078 Tue May  1 19:27:00 2001  Owen Taylor  <otaylor@redhat.com>
2079
2080         * pango/pangox.c (pango_x_render): Rewrite the newline
2081         arrow drawing code to act a little better on a range
2082         of different sizes of fonts.
2083
2084 2001-04-27  Havoc Pennington  <hp@redhat.com>
2085
2086         * pango/pangox-fontmap.c: Move some fontmap stuff to
2087         pangox-private.h to access fontmap->resolution in pangox.c
2088
2089         * pango/pangox.c (get_font_metrics_from_subfonts): multiply
2090         avg. width by PANGO_SCALE, and consider that avg width from X is
2091         in decipoints
2092
2093         * modules/basic/basic-x.c: mark some chars unknown when shaping, 
2094         with a flag PANGO_X_UNKNOWN_FLAG
2095
2096         * pango/pangox.c (pango_x_font_get_metrics): use lookup_lang not
2097         lang when calling get_font_metrics_from_string
2098         (pango_x_render): render unknown chars
2099
2100         * pango/pango-layout.c:
2101         (pango_layout_set_single_paragraph_mode): add mode where we don't
2102         break on para separators, instead we shape them and display glyphs
2103         (pango_layout_get_single_paragraph_mode): getter for above
2104         (pango_layout_check_lines): handle single paragraph mode
2105
2106 Tue Apr 24 11:45:55 2001  Owen Taylor  <otaylor@redhat.com>
2107
2108         * pango/opentype/ftxgdef.c (TT_Load_GDEF_Table): Remove
2109         excess call to DONE_Stream left over from conversion
2110         from FT1. (reported by Michael Jansson)
2111
2112 2001-04-20  Alexander Larsson  <alexl@redhat.com>
2113
2114         * pango/pangoxft-font.c (pango_xft_font_get_metrics):
2115         Set approximate_digit_width and approximate_char_width to
2116         some cheesy value. Not good, but better than nothing.
2117
2118 Fri Apr 20 11:38:46 2001  Owen Taylor  <otaylor@redhat.com>
2119
2120         * pango/pango-markup.c (pango_parse_markup): Remove some 
2121         conditionalization on (md->text == NULL) that is no
2122         longer needed with the last change.
2123
2124 2001-04-20  Anders Carlsson  <andersca@codefactory.se>
2125
2126         * pango/pango-markup.c (pango_parse_markup): Discard the parsed text if
2127         the input variable text is NULL. This fixes a segfault.
2128
2129 Tue Apr 17 15:44:53 2001  Owen Taylor  <otaylor@redhat.com>
2130
2131         * Release 0.15
2132
2133         * tests/testboundaries.c: Look for files in $srcdir.
2134
2135         * Makefile.am (SUBDIRS): Add tests, remove fonts
2136
2137         * tests/Makefile.am (EXTRA_DIST): added missing stuff
2138
2139         * fonts/: Remove. Nothing in here is needed any more.
2140
2141 2001-04-16  Havoc Pennington  <hp@pobox.com>
2142
2143         * pango/pango-glyph.h: Removed pango_justify(), since it has no
2144         implementation that I can find. 
2145         
2146         * pango/pango-attributes.c: docs
2147
2148         * pango/pango-layout.c: docs
2149
2150 Mon Apr 16 19:20:12 2001  Owen Taylor  <otaylor@redhat.com>
2151
2152         * modules/tamil/tamil-x.c: Remove warning when using fallback
2153         shaping.
2154
2155 Mon Apr 16 19:14:00 2001  Owen Taylor  <otaylor@redhat.com>
2156
2157         [ Patches from Vikram Subramanian to update Tamil shapers ]
2158
2159         * configure.in modules/tamil/tamil-xft.c modules/tamil/Makefile.am:
2160         Xft/TT based Tamil rendering engine. Uses glyphs in the
2161         private-use-area instead of proper OpenType tables.
2162
2163         * examples/HELLO.utf8: Add Tamil line
2164         * examples/pangox.aliases: Add tamil fonts
2165
2166         * modules/tamil/tadefs.h modules/tamil/tamil-x.c: Update
2167         to use PANGO_LIGATURE_HACK ligatures from BDF files instead
2168         of a fixed encoding.
2169
2170 Mon Apr 16 18:12:06 2001  Owen Taylor  <otaylor@redhat.com>
2171
2172         * README: Small updates
2173
2174         * examples/HELLO.utf8: Insert a RLM on the Yiddish line
2175         to correct for fixes to the bidi algorithm.
2176
2177         * pango/mini-fribidi/*: Update to CVS fribidi which
2178         has various bug fixes.
2179
2180 Mon Apr 16 14:26:54 2001  Owen Taylor  <otaylor@redhat.com>
2181
2182         * docs/pango-sections.txt: Update.
2183
2184         * docs/Makefile.am (EXTRA_DIST): Update to the latest
2185         version.
2186         
2187 2001-04-14  Hans Breuer  <hans@breuer.org>
2188
2189         * pango/pangowin32-fontmap.c : instead of simply adding one
2190         matching font for the magic font names (sans, serif, monospace)
2191         stuff any mathing font in the respective family entries
2192         (pango_win32_font_map_load_font) : do the same approximation for
2193         oblique and italic as the X version does 
2194
2195         * pango/pangowin32.c (pango_win32_font_get_glyph_extents) :
2196         initialize ink_rect and logical_rect to some more appropriate values 
2197         (subfont_has_glyph) : implement glyph availability caching. IMO it
2198         needs to be done different to the other backends, because even the
2199         decision if a font has a specific glyph is increadeable slow on win32
2200         
2201 Fri Apr 13 14:55:20 2001  Owen Taylor  <otaylor@redhat.com>
2202
2203         * pango/mini-fribidi/{fribidi.c,fribidi_get_type.c,fribidi_tables.i}:
2204         Update to correspond to FriBidi-0.9.0 (with some small fixes)
2205
2206         * pango/mini-fribidi/fribidi-0.9.0.patch: Update patch for
2207         Fribidi-0.9.0.
2208
2209 2001-04-13  Havoc Pennington  <hp@redhat.com>
2210
2211         * pango/pango-font.h: Add macros for CSS font scale factors
2212
2213 2001-04-13  James Henstridge  <james@daa.com.au>
2214
2215         * configure.in: AC_INIT should be the first statement in the file.
2216         Also, use $PANGO_MAJOR_VERSION.$PANGO_MINOR_VERSION as the version
2217         passed to AM_INIT_AUTOMAKE.
2218
2219 Tue Apr  3 15:05:19 2001  Owen Taylor  <otaylor@redhat.com>
2220
2221         * Release 0.14
2222
2223         * NEWS: updated.
2224
2225         * pango/pango/opentype/Makefile.am: make dist fixes.
2226          
2227         * configure.in (PANGO_MINOR_VERSION): Up to 0.14
2228
2229 Mon Apr  2 12:01:03 2001  Owen Taylor  <otaylor@redhat.com>
2230
2231         * examples/viewer-qt.cc (main): Add the mystic 
2232          g_type_init ((GTypeDebugFlags) 0);.
2233
2234 2001-04-02  Alexander Larsson  <alexl@redhat.com>
2235
2236         * pango/pangoft2-fontmap.c:
2237         Add some initilaization failure warnings if no fonts found
2238         or no fontaliases files found.
2239
2240 2001-03-31  Fatih Demir <kabalak@gtranslator.org>
2241
2242         * .cvsignore: Extended the ignore list to be right
2243                 and make CVS quiet.
2244
2245 2001-03-18  Tor Lillqvist  <tml@iki.fi>
2246
2247         * pango/makefile.mingw.in
2248         * pango/pango.def: Update.
2249
2250         * pango/module-defs-win32.c.win32: New file.
2251
2252         * pango/Makefile.am (EXTRA_DIST): Add here.
2253
2254         * pango/mini-fribidi/makefile.mingw: New file.
2255
2256         * pango/mini-fribidi/makefile.mingw (EXTRA_DIST): Add here.
2257
2258 Fri Mar  9 11:57:46 2001  Owen Taylor  <otaylor@redhat.com>
2259
2260         * pango/pangox.c (pango_x_find_subfont): Remove a lot of 
2261         instances of "Error parsing ligature info" that somehow
2262         crept in.
2263
2264         * docs/*: Some makefile tweaks, structure updates.
2265
2266 2001-03-15  Sven Neumann  <sven@gimp.org>
2267
2268         * Makefile.am
2269         * configure.in
2270         * modules/*/Makefile.am
2271         * pango/Makefile.am: make it compile without X headers
2272
2273 2001-03-12  Sven Neumann  <sven@gimp.org>
2274
2275         * pango/pangoft2.c (pango_ft2_font_describe): set the size field
2276         
2277 2001-03-07  Havoc Pennington  <hp@redhat.com>
2278
2279         * pango/pangox.c (pango_x_font_get_metrics): fix a cheesy bug in
2280         setting approximate_digit_width
2281
2282 Wed Mar  7 09:21:14 2001  Tim Janik  <timj@gtk.org>
2283
2284         * pango/pango-attributes.c: fixed up g_boxed_type_register_static()
2285         since GLib signature changed.
2286         
2287         * got rid of bogus g_type_init() calls.
2288
2289 2001-02-28  Havoc Pennington  <hp@redhat.com>
2290
2291         * pango/pango-font.h (struct _PangoFontMetrics): add
2292         approximate_digit_width field
2293
2294         * pango/pangox.c (pango_x_font_get_metrics): make up an
2295         approximate digit width number
2296         
2297 2001-02-28  Havoc Pennington  <hp@redhat.com>
2298
2299         * pango/pango-font.h (struct _PangoFontMetrics): Add
2300         approximate_char_width field
2301
2302         * pango/pangox.c (get_font_metrics_from_subfonts): "compute" the
2303         approximate char width. Other backends need to add this.
2304         
2305 2001-02-28  Alexander Larsson  <alla@lysator.liu.se>
2306
2307         * pango/pango-attributes.[c]:
2308         Added pango_attr_list_get_type, and PANGO_TYPE_ATTR_LIST.
2309
2310 2001-02-20  Havoc Pennington  <hp@pobox.com>
2311
2312         Patch from Soeren Sandmann
2313
2314         * pango/pangox-fontcache.c (pango_x_font_cache_load): make xlfd
2315         arg const
2316
2317         * pango/pango-utils.c (pango_get_sysconf_subdirectory):
2318         G_CONST_RETURN
2319         (pango_get_lib_subdirectory): G_CONST_RETURN
2320
2321 2001-02-19  Hans Breuer <hans@breuer.org>
2322         * pango/modules.h, pango/pangowin32.c (pango_win32_get_context) : 
2323         added _pango_included_win32_modules[] to include modules with plain 
2324         win32 build as well.
2325
2326         * pango/pango.def : added new exported functions
2327
2328         * pango/pangowin32-fontmap.c : add unspecified fonts for Monospace,
2329         Sans and Serif to avoid crashes if no alias file is provided
2330
2331         * pango/*/makefile.msc : new files to build on windoze with msvc
2332
2333 2001-02-15  Havoc Pennington  <hp@redhat.com>
2334
2335         * pango/pango-layout.c (pango_layout_line_x_to_index): fix
2336         *trailing = FALSE to read *trailing = 0
2337
2338 2001-02-13  Havoc Pennington  <hp@redhat.com>
2339
2340         * pango/pango-layout.c (pango_layout_line_get_x_ranges): fix
2341         another "count line lengths to get line start" bug
2342
2343 2001-02-12  Havoc Pennington  <hp@redhat.com>
2344
2345         * pango/pango-attributes.c (pango_attr_list_insert_internal):
2346         properly update the tail of the list
2347         (pango_attr_list_change): flip order of tmp_list2 =
2348         tmp_list2->next and prev2 = tmp_list2 to avoid setting 
2349         prev2 and tmp_list2 to the same value thus creating a 
2350         mangled list.
2351  
2352         * pango/pango-layout.c (pango_layout_xy_to_index): When returning
2353         FALSE, set the index/trailing to the nearest location, instead 
2354         of setting them to 0.
2355         (pango_layout_line_x_to_index): Fix a bug where line->start_index
2356         wasn't used. Return boolean for whether we had to clamp the
2357         value to get an index.
2358
2359 Mon Feb 12 15:01:38 2001  Owen Taylor  <otaylor@redhat.com>
2360
2361         * configure.in (gtk_doc_min_version): Add check for
2362         gtk-doc version.
2363
2364 Mon Feb 12 12:45:16 2001  Owen Taylor  <otaylor@redhat.com>
2365
2366         * pango/Makefile.am: srcdir != build dir fix.
2367
2368         * docs/Makefile.am: Switching over to the new gtk-doc 
2369         Makefile.am.
2370
2371 2001-02-11  Havoc Pennington  <hp@pobox.com>
2372
2373         * pango/pangox.c (font_struct_get_ligatures): memory leak fix
2374
2375 2001-02-10  Tor Lillqvist  <tml@iki.fi>
2376
2377         * pango/pango-utils.c (pango_get_sysconf_subdirectory,
2378         pango_get_lib_subdirectory): (Win32): Use
2379         g_win32_get_package_installation_subdirectory(). Use the same
2380         directory structure as on Unix, etc\pango and lib\pango under the
2381         installation "prefix".
2382         
2383         * config.h.win32
2384         * pango/makefile.mingw.in: Use mini-fribidi instead of full
2385         FriBiDi.
2386
2387         * pango/pangowin32.c (pango_win32_render_layout_line): Adapt to
2388         changed PangoAttrColor.
2389
2390         * pango/querymodules.c: Include <io.h> for getcwd() prototype.
2391         (query_module): Handle modules with spaces in the path, and
2392         backslashes, use g_strescape() (for Windows).
2393
2394         * pango/mini-fribidi/makefile.mingw: New file
2395
2396 2001-02-05  Alexander Larsson  <alexl@redhat.com>
2397
2398         * pango/pangoft2.c (pango_ft2_render,
2399         pango_ft2_render_layout_line): Remove bogus MIN when rendering
2400         freetype text. Also draw full underlines.
2401
2402 Sun Feb  4 07:48:47 2001  Tim Janik  <timj@gtk.org>
2403
2404         * pango/pango-attributes.c (pango_color_get_type): pass 0 as
2405         first argument to g_type_init().
2406
2407         * pango/pangoxft-fontmap.c (pango_xft_get_font_map): 
2408         * pango/pangowin32-fontmap.c (pango_win32_font_map_for_display): 
2409         * pango/pangoft2-fontmap.c (pango_ft2_font_map_for_display): 
2410         * pango/pangox-fontmap.c (pango_x_font_map_for_display): 
2411         * pango/pango-context.c (pango_context_new):  likewise.
2412
2413         * i dare saying that i doubt the usefullness of all these
2414         g_type_init() calls though.
2415
2416 2001-01-26  Havoc Pennington  <hp@redhat.com>
2417
2418         * pango/pangox.h (PangoGetGCFunc): take a PangoColor not a
2419         PangoAttrColor
2420
2421         * pango/pango-attributes.h: add PangoColor, add PANGO_ATTR_INVALID
2422         as a placeholder for zero in the PangoAttrType enum, corresponds
2423         to G_TYPE_INVALID.      
2424
2425         * pango/pango-attributes.c: Add PangoColor type, use for
2426         PangoAttrColor
2427         (pango_color_get_type): new function
2428         (pango_color_copy): new function
2429         (pango_color_free): new function
2430
2431 Thu Jan 25 14:47:17 2001  Owen Taylor  <otaylor@redhat.com>
2432
2433         * pango/pango-sections.txt pango/pango-docs.sgml pango/tmpl/*:
2434         Updates for new functions.
2435
2436 2001-01-23  Havoc Pennington  <hp@redhat.com>
2437
2438         * pango/pango-layout.c (pango_layout_copy): New function
2439
2440 2001-01-23 Alex Larsson <alla@lysator.liu.se>
2441
2442         * pango/pango-item.c (pango_item_free):
2443         Free item->extra_attrs list.
2444
2445         * pango/pango-layout.c (process_item):
2446         Don't leak copy of item.
2447
2448         * pango/pango-utils.c (read_config_file):
2449         If the config file open fails, don't leak the
2450         temp buffers.
2451
2452 2001-01-23    <alla@lysator.liu.se>
2453
2454         * modules/basic/basic-ft2.c (basic_engine_get_coverage):
2455         Don't leak PangoCoverage.
2456         * pango/pangoft2-fontmap.c (pango_ft2_font_map_load_font):
2457         Move name free closer to allocation.
2458         (pango_ft2_font_map_read_alias_file): Don't leak faces.
2459         (pango_ft2_font_entry_get_coverage): Don't leak font as
2460         filename and cache_file_name.
2461
2462 2001-01-22  Havoc Pennington  <hp@redhat.com>
2463
2464         * tests/testboundaries.c (check_line_char): s/is_break/is_line_break/g;
2465
2466         * pango/pango-layout.c, pango/pango-layout.h: Add PangoWrapMode
2467         for PangoLayout
2468
2469         * pango/break.c (pango_default_break): implement char break log
2470         attr
2471
2472         * pango/pango-break.h (struct _PangoLogAttr): rename is_break 
2473         is_line_break, add is_char_break field
2474
2475 2001-01-18  Alex Larsson <alla@lysator.liu.se>
2476
2477         * pango/pangoft2.c (get_font_metrics_from_subfonts):
2478         Use correct font metrics information.
2479
2480 2001-01-07  Tor Lillqvist  <tml@iki.fi>
2481
2482         * pango/fonts.c (pango_font_description_to_filename): Allow '+' in
2483         the filename.
2484
2485         * pango/pangowin32.c (get_font_metrics_from_string): Adopt to new
2486         prototype for g_utf8_to_ucs4).
2487
2488         * pango/module-defs.c.win32: Removed.
2489
2490         * pango/module-defs-ft2.c.win32: New file, hand-written until GNU
2491         configure is used on Win32, too.
2492
2493         * pango/makefile.mingw.in
2494         * pango/Makefile.am (EXTRA_DIST): Corresponding changes.
2495
2496         * pango/pango.def: Update.
2497
2498 Sat Jan  6 20:23:54 2001  Owen Taylor  <otaylor@redhat.com>
2499
2500         * modules/arabic/arabic-x.c (arabic_engine_shape): Adapt
2501         to new g_utf8_to_ucs4() prototype.
2502
2503         * modules/basic/basic-ft2.c: Include pango-engine.h
2504
2505         * pango/pangoft2.h: Don't include pango.h, which would
2506         pull in pango-enums.h and thus break module building, 
2507         just include neeeded pango-layout.h
2508
2509 Fri Jan  5 16:12:37 2001  Owen Taylor  <otaylor@redhat.com>
2510
2511         * modules/arabic/{arabic-xft,arabic}.c pango/{pango-context.c,pangoft.c,pangox.c}:
2512         Adopt to new prototype for g_utf8_to_ucs4 (etc.).
2513
2514 2001-01-05  Alexander Larsson  <alla@lysator.liu.se>
2515
2516         * .cvsignore: Add pangoft2.pc
2517
2518         * Makefile.am:
2519         * configure.in:
2520         Build and install pangoft2.pc
2521
2522         * pangoft2.pc:
2523         New file.
2524
2525 2001-01-04  Havoc Pennington  <hp@redhat.com>
2526
2527         * modules/indic/Makefile.am (INCLUDES): add X_CFLAGS
2528
2529         * modules/hangul/Makefile.am (INCLUDES): add X_CFLAGS
2530
2531         * modules/tamil/Makefile.am (INCLUDES): add X_CFLAGS
2532
2533         * modules/thai/Makefile.am (INCLUDES): add X_CFLAGS
2534
2535 2001-01-04  Havoc Pennington  <hp@redhat.com>
2536
2537         * pango/Makefile.am (install-data-local): put creation of module
2538         file here. Fixes problem if you 'make install' with no preceding
2539         'make' reported by Michael Meeks.
2540
2541         * modules/Makefile.am (install-data-local): remove creation of module file
2542         from here
2543
2544         * Makefile.am (SUBDIRS): remove pango-config
2545
2546         * configure.in: use pkg-config to detect GLib cflags/libs
2547
2548         * pangoxft.pc (Description): fix name/description
2549
2550 2001-01-04  Alexander Larsson  <alla@lysator.liu.se>
2551
2552         * modules/arabic/arabic-x.c:
2553         * modules/arabic/arabic-xft.c:
2554         * modules/basic/basic-ft2.c:
2555         * modules/basic/basic-win32.c:
2556         * modules/basic/basic-x.c:
2557         * modules/hangul/hangul-x.c:
2558         * modules/indic/bengali-x.c:
2559         * modules/indic/devanagari-x.c:
2560         * modules/indic/gujarati-x.c:
2561         * modules/indic/gurmukhi-x.c:
2562         * modules/indic/myanmar-x.c:
2563         * modules/tamil/tamil-x.c:
2564         * modules/thai/thai-x.c:
2565         Change all modules to use a define to the script engine name. Also
2566         Fixes some errors in the names (they were different in the same module).
2567
2568         * pango/.cvsignore:
2569         add module-defs*.[ch]
2570
2571 2001-01-03  Alexander Larsson  <alexl@redhat.com>
2572
2573         * configure.in:
2574         * modules/arabic/Makefile.am:
2575         * modules/arabic/arabic-x.c:
2576         * modules/basic/Makefile.am:
2577         * modules/basic/basic-x.c:
2578         * modules/hangul/Makefile.am:
2579         * modules/hangul/hangul-x.c:
2580         * modules/indic/Makefile.am:
2581         * modules/indic/bengali-x.c:
2582         * modules/indic/devanagari-x.c:
2583         * modules/indic/gujarati-x.c:
2584         * modules/indic/gurmukhi-x.c:
2585         * modules/indic/myanmar-x.c:
2586         * modules/tamil/Makefile.am:
2587         * modules/tamil/tamil-x.c:
2588         * modules/thai/Makefile.am:
2589         * modules/thai/thai-x.c:
2590         Rename all x modules from abc to abc-x.
2591         
2592         * modules/arabic/arabic.c:
2593         * modules/basic/basic.c:
2594         * modules/hangul/hangul.c:
2595         * modules/indic/bengali.c:
2596         * modules/indic/devanagari.c:
2597         * modules/indic/gujarati.c:
2598         * modules/indic/gurmukhi.c:
2599         * modules/indic/myanmar.c:
2600         * modules/tamil/tamil.c:
2601         * modules/thai/thai.c:
2602         These were all copied to file-x.c and then removed.
2603
2604 2001-01-03  Alexander Larsson  <alexl@redhat.com>
2605
2606         * configure.in:
2607         Update the default list of included modules for
2608         --with-included-modules=yes to include all new modules.
2609         Split INCLUDED_MODULES and module-defs.c into per shaper
2610         engine type lists.
2611
2612         * modules/arabic/Makefile.am:
2613         Build libpango-arabic-xft.la if INCLUDE_ARABIC_XFT.
2614
2615         * modules/arabic/arabic-xft.c:
2616         Change module prefix to _pango_arabic_xft_
2617
2618         * modules/basic/Makefile.am:
2619         Build static libs for all included modules.
2620
2621         * modules/basic/basic-ft2.c:
2622         Change module prefix to _pango_basic_ft2_
2623
2624         * modules/basic/basic-xft.c:
2625         Change module prefix to _pango_basic_xft_
2626
2627         * pango/Makefile.am:
2628         Include correct module-defs-XXX in libs.
2629
2630         * pango/modules.h:
2631         Split _pango_included_modules[] into separate lists.
2632
2633         * pango/pangox.c:
2634         * pango/pangoft2.c:
2635         * pango/pangoxft-fontmap.c:
2636         Register built in modules.
2637
2638 2000-12-22  Alexander Larsson  <alla@lysator.liu.se>
2639
2640         * pango/pangoft2.c:
2641         Remove timing printfs.
2642
2643         * pango/pangoft2-private.h:
2644         Disable debug.
2645
2646 2000-12-21  Tor Lillqvist  <tml@iki.fi>
2647
2648         * modules/basic/basic-win32.c (script_engine_load): Only a script
2649         engine here.
2650
2651         * pango/makefile.mingw.in: Add the built pango-enum-types.[ch].
2652
2653         * pango/pango.def
2654         * pango/pangoft2.def: Update.
2655
2656         * pango/opentype/pango-ot.def
2657         * pango/opentype/makefile.mingw.in: New files.
2658
2659         * pango/opentype/Makefile.am (EXTRA_DIST): Add them.
2660
2661         * configure.in (included_modules): Generate
2662         pango/opentype/makefile.mingw.
2663
2664 2000-12-21  Alexander Larsson  <alexl@redhat.com>
2665
2666         * pango-config.in:
2667         Change usage to say pango-config instead of glib-config.
2668         Add support for pangoft2.
2669
2670         * modules/basic/Makefile.am:
2671         Compile and install pango-basic-ft2 if freetype was found.
2672
2673         * modules/basic/basic-ft2.c:
2674         Remove lang engine. Make the glyph from the glyph index instead
2675         of the unicode index. The id is really BasicScriptEngineFT2.
2676
2677         * pango/Makefile.am:
2678         Compile and install pangoft2 if freetype was found.
2679
2680         * pango/pangoft2-fontcache.c (pango_ft2_font_cache_load):
2681         Init face->generic.data to 0, since this field will be used
2682         to cache the current size of the face.
2683
2684         * pango/pangoft2-fontmap.c (pango_ft2_font_map_for_display):
2685         Use g_object_new instead of g_type_create_instance.
2686         (pango_ft2_font_entry_get_coverage): Use G_DIR_SEPARATOR_S
2687         instead of \\. (pango_ft2_font_entry_get_coverage): Init result
2688         to NULL. Don't write to file if open failed.
2689
2690         * pango/pangoft2-private.h:
2691         Add PangoFT2GlyphInfo.
2692         
2693         * pango/pangoft2.c (pango_ft2_get_face): Export function, and make
2694         sure it sets the correct face size. (pango_ft2_load_font,
2695         pango_ft2_get_per_char, pango_ft2_font_get_kerning):
2696         PANGO_FT2_GLYPH_INDEX stores the glyph index, not the unicode value.
2697         (pango_ft2_font_get_glyph_extents): Cache glyph extents.
2698         (pango_ft2_has_glyph): Remove function.
2699         (pango_ft2_font_finalize): Free glyph info cache.
2700
2701         * pango/pangoft2.h:
2702         Export pango_ft2_get_face, remove pango_ft2_has_glyph.
2703
2704 Wed Dec 20 19:53:09 2000  Owen Taylor  <otaylor@redhat.com>
2705
2706         * docs/Makefile.am (IGNORE_HFILES): Add opentype/.
2707
2708         * modules/{basic/basic,arabic/arabic}-xft.c: Include
2709         pango-engine.h.
2710
2711         * pango/pangoxft.h: Don't include pango.h to avoid
2712         getting pango-enum-types.h.
2713
2714         * pango/Makefile.am (pangoinclude_HEADERS): Move 
2715         XFT_HFILES out of pango_headers, since mkenums.pl
2716         shouldn't be run on it.
2717
2718 2000-12-20  Havoc Pennington  <hp@redhat.com>
2719
2720         * configure.in: fix freetype check a bit
2721
2722 Tue Dec 19 22:47:16 2000  Owen Taylor  <otaylor@redhat.com>
2723
2724         * configure.in pango-config.in pangoxft.pc.in
2725         modules/basic/Makefile.am: Since Xft may only be available
2726         statically without shlib deps, check for FreeType libs explicitly
2727         and include them when linking, otherwise things won't work. Also,
2728         define FREETYPE_CFLAGS from freetype-config --cflags.
2729
2730         * modules/basic/basic-xft.c pango/pangoxft-font{,map}.c: Fool
2731         Xft into not converting glyph indices by loading the
2732         face unencoded then calling FT_Set_Charmap ourselves.
2733
2734         * pango/Makefile.am pango/pango-ot.h pango/opentype/* :Add start
2735         of opentype handling - most of the actually meat of the code here
2736         is the OpenType layout code from FreeType 1 ported to freetype2
2737         and adapted slighlty for our purposes.  Also, includes a
2738         incomplete OpenType-table-dumping code useful for figuring
2739         out what is going on.
2740
2741         * pango/pangoxft.h pango/pangoxft-font.h: Add calls for
2742         getting FT_Face and PangoOTInfo from PangoXftFont.
2743         
2744         * modules/arabic/{Makefile.am,arabic-ot.[ch],arabic-xft.c}: 
2745         Initial support for rendering Arabic with OpenType fonts.
2746
2747 2000-12-18  Havoc Pennington  <hp@redhat.com> 
2748
2749         Fix build breakage, reported by Alex Larsson and Yasushi Shoji
2750         
2751         * pango/pangox.h: don't include pango.h, just individual headers
2752
2753         * configure.in: check for perl, add --disable-rebuilds configure
2754         option, automatically disable rebuilds if no perl
2755         
2756         * pango/Makefile.am: use located perl to run makeenums.pl, 
2757         and don't try to rebuild if we did --disable-rebuilds
2758         (EXTRA_DIST): add built headers
2759
2760         * modules/*/*.[hc]: don't include pango.h, include specific headers
2761         
2762 2000-12-15  Havoc Pennington  <hp@pobox.com>
2763
2764         * pango/pango-glyph.h: move pango_shape and pango_reorder_items in
2765         here.
2766
2767         * pango/pango-break.h: move most of pango.h in here, so that
2768         pango.h can be the only file that includes pango-enum-types.h, so
2769         that changing any header doesn't end up rebuilding all of pango
2770         due to a rebuild of pango-enum-types.h.
2771         
2772         * pango/makeenums.pl: script to generate pango-enum-types.[hc]
2773
2774         * pango/Makefile.am (pango_headers): built pango-enum-types.h,
2775         pango-enum-types.c that do enum type registration; add
2776         pango-break.h; do some assorted rearranging to handle the 
2777         built headers
2778
2779         * pango/pango.h: moved most of it to pango-break.h
2780         
2781         * pango/break.c: include individual headers, not pango.h
2782         
2783         * pango/shape.c: ditto
2784
2785         * pango/reorder-items.c: ditto
2786
2787         * pango/querymodules.c: ditto
2788
2789         * pango/pango-layout.c: ditto
2790
2791         * pango/pango-indic.c: ditto
2792
2793         * pango/mapping.c: ditto
2794
2795         * pango/itemize.c: ditto
2796
2797         * pango/fonts.c: ditto
2798
2799 2000-12-15  Havoc Pennington  <hp@redhat.com>
2800
2801         * modules/Makefile.am (install-data-local): touch
2802         sysconfdir/pango/pango.modules even if there are no dynamic
2803         modules, so pango won't spew warnings about pango.modules not
2804         existing, and to simplify RPM file lists        
2805
2806         * pango/pango-context.c (fallback_engine_shape): fix this to 
2807         avoid incrementing i twice
2808         (fallback_shaper): fix initializer
2809
2810         * pango/querymodules.c (query_module): don't call g_module_close()
2811         on a module that doesn't get opened successfully
2812
2813         * pango/modules.c: do not include modules.h
2814         (init_modules): do not do the builtin modules here,
2815         they are done by pangox
2816
2817         * pango/pangox.c (pango_x_get_context): register included modules
2818         here
2819         
2820         * pango/pangoxft-font.c: do not include modules.h
2821
2822         * pango/Makefile.am (libpango_la_SOURCES): move modules.c,
2823         back in here (but not modules.h, which actually goes with 
2824         module-defs.c)
2825
2826 2000-12-14  Havoc Pennington  <hp@redhat.com>
2827
2828         * pango/pango-context.c (add_engines): Use a fallback shaper if
2829         no engine is found for a range, the fallback shaper shapes to
2830         glyphs of 0. This is just to let other code depend on the
2831         invariant that there's a shape engine for all characters.
2832
2833         * tests/all-unicode.txt: Huge file containing all Unicode
2834         characters, for robustness testing. Not in EXTRA_DIST
2835         for now, not sure we should torture people that way...
2836
2837         * pango/fonts.c (pango_font_find_shaper): remove the assert that 
2838         we found a shaper, and instead let things fall back to the fallback
2839         shaper
2840         
2841 Thu Dec 14 20:34:18 2000  Owen Taylor  <otaylor@redhat.com>
2842
2843         * pango/pangoxft.h pango/pangoxft-font.c: (PANGO_TYPE_XFT_FONT): Add
2844         PANGO_XFT_IS_FONT to the public header.
2845
2846 Thu Dec 14 19:00:46 2000  Owen Taylor  <otaylor@redhat.com>
2847
2848         * modules/indic/pango-indic-script.h: Fix macro breakage.
2849
2850         * modules/basic/tables-big.i: Remove extra copy of basic_ranges.
2851
2852         * modules/thai/thai.c: Fix various warnings.
2853         
2854         * configure.in Makefile.am pangoxft.pc.in pango-config.in
2855         modules/basic/Makefile.am modules/basic/basic-xft.c
2856         pango/Makefile.am pango/pangoxft-font.[ch] pango/pangoxft-fontmap.c
2857         pango/pangoxft.h pango/pangoxft-private.h: Initial support
2858         for rendering via Xft and the Xrender extension.
2859
2860 2000-12-14  Havoc Pennington  <hp@redhat.com>
2861
2862         * pango/fonts.c (pango_font_find_shaper): add assertion that
2863         shaper != NULL to catch engine problems faster
2864
2865         * pango/Makefile.am (libpangox_la_SOURCES): modules.[hc] and
2866         module-defs.c have to go in libpangox for now since the modules
2867         use the X stuff, and static linkage won't let you play games here
2868
2869         * examples/Makefile.am (pango_viewer_LDADD): fix order of link
2870
2871         * modules/indic/pango-indic-script.h (pango_indic_get_char): make
2872         this a macro, so it doesn't collide between modules
2873
2874         * modules/*/Makefile.am: Fix to work if the module isn't included
2875         
2876         * examples/Makefile.am: don't query modules if we didn't build any
2877
2878         * modules/indic/gurmukhi.c (MODULE_ENTRY): fix prefix
2879
2880         * modules/indic/bengali.c (MODULE_ENTRY): fix prefix
2881
2882         * modules/indic/gujarati.c (MODULE_ENTRY): fix prefix
2883
2884         * modules/indic/devanagari.c (MODULE_ENTRY): fix prefix
2885
2886         * modules/indic/myanmar.c (MODULE_ENTRY): uniquely prefix the functions
2887
2888         * modules/Makefile.am (MODULES): handle case where there are no
2889         modules to query
2890
2891         * configure.in: Fix up include_modules stuff to work with Indic
2892
2893         * pango/glyphstring.c (pango_glyph_string_set_size): Just
2894         g_error() if the glyph string exceeds maximum integer size, 
2895         instead of mysteriously crashing later.
2896
2897 2000-12-15  Tor Lillqvist  <tml@iki.fi>
2898
2899         * pango/pangoft2.c (pango_ft2_ft_strerror): Update for newest
2900         FreeType2.
2901         (pango_ft2_font_finalize): gcc warns about empty format strings,
2902         so use just a space...
2903
2904 2000-12-11  Havoc Pennington  <hp@redhat.com>
2905
2906         * tests/boundaries.utf8: Add some jamo and viramas and unicode
2907         para separators and \r\n and so on, crashes the text widget nicely
2908
2909 2000-12-11 Elliot Lee <sopwith@redhat.com>
2910
2911         * modules/thai/thai.c, pango/break.c: #include <string.h>
2912
2913 Mon Dec 11 15:20:24 2000  Owen Taylor  <otaylor@redhat.com>
2914
2915         * examples/HELLO.utf8: Add a tab into to Yiddish line
2916         to force correct segmentation around the parentheses.
2917
2918 2000-11-30  Havoc Pennington  <hp@pobox.com>
2919
2920         * modules/thai/thai.c: delete lang engine
2921
2922         * modules/tamil/tamil.c: delete lang engine
2923         (tamil_engine_x_new): fix type tag for shape engine
2924
2925         * modules/indic/myanmar.c: delete lang engine
2926         (pango_engine_x_new): fix type tag for shape engine
2927
2928         * modules/indic/gurmukhi.c: delete lang engine
2929         (pango_indic_engine_x_new): fix type tag for shape engine
2930
2931         * modules/indic/gujarati.c: delete lang engine
2932         (pango_indic_engine_x_new): fix type tag for shape engine
2933
2934         * modules/indic/devanagari.c: delete lang engine
2935         (pango_indic_engine_x_new): fix type tag for shape engine
2936
2937         * modules/indic/pango-indic-script.h (SCRIPT_ENGINE_DEFINITION):
2938         delete lang engine
2939
2940         * modules/indic/bengali.c: delete the lang engine
2941         (pango_indic_engine_x_new): fix type tag for shape engine
2942
2943         * modules/hangul/hangul.c: delete the lang engine
2944         (hangul_engine_x_new): fix type tag for shape engine
2945
2946         * modules/basic/basic.c: delete the lang engine
2947         (basic_engine_x_new): fix type tag for shape engine
2948
2949         * modules/basic/basic-win32.c: delete the lang engine
2950         (basic_engine_win32_new): this was a shape engine,
2951         use correct type tag
2952
2953         * modules/basic/basic-ft2.c: delete the lang engine
2954
2955         * modules/arabic/arabic.c: Delete the lang engine
2956         (arabic_engine_x_new): this is a shape
2957         engine, not a lang engine, fix type tag
2958
2959         * pango/pango-layout.c (pango_layout_index_to_line_x): handle 
2960         the fact that paragraph delimiters aren't in the layout lines
2961         (pango_layout_index_to_pos): update to handle paragraph 
2962         delimiters
2963
2964         * pango/break.c (pango_find_paragraph_boundary): New function
2965         to find paragraph boundaries
2966
2967         * pango/pango-layout.c (get_items_log_attrs): don't separate calls
2968         to pango_break() when directional level changes
2969
2970         * pango/pango-layout.h (struct _PangoLayoutLine): put start index
2971         of the line into the struct
2972  
2973         * pango/pango-layout.c (pango_layout_get_cursor_pos): Fixups to
2974         reflect the fact that paragraph separators are removed from the
2975         input text.
2976         
2977         * pango/pango-layout.c (can_break_at): don't 
2978         special-case start of line and whitespace-following-alphabetic
2979         here, because pango_break() already handles that properly
2980
2981         * tests/testboundaries.c, tests/Makefile.am, tests/runtests.sh:
2982         Add directory for test programs, and a script to run them all
2983
2984         * configure.in: Create Makefile in tests
2985
2986         * pango/break.c (pango_break): Try for a real implementation of
2987         the Unicode text boundary algorithms
2988         (pango_get_log_attrs): Allow length to be -1
2989         
2990         * pango/pango-context.c (pango_itemize): use pango_item_new(),
2991         assert that items added to the list are sane.
2992         
2993         * pango/pango-layout.c (pango_layout_check_lines): Reimplement 
2994         to honor the paragraph boundaries from pango_break()
2995
2996         * pango/pango-layout.c (process_item): use pango_item_split() here
2997
2998         * pango/pango-item.c (pango_item_split): New function to split an
2999         item into two items
3000
3001 Fri Dec  1 11:49:50 2000  Owen Taylor  <otaylor@redhat.com>
3002
3003         * pango/pango-layout.c (get_tab_pos): Make sure that
3004         we don't end up in an infinite loop due to zero-width
3005         tabs. (Fix problem found by Hans Breuer)
3006
3007 2000-12-01  Tor Lillqvist  <tml@iki.fi>
3008
3009         * pango/pango-utils.c (pango_get_sysconf_subdirectory): Use
3010         g_file_test().
3011
3012 2000-11-30  Tor Lillqvist  <tml@iki.fi>
3013
3014         * pango/makefile.mingw.in (DEFINES): Define PANGO_VERSION.
3015
3016         Changes by Hans Breuer:
3017
3018         * pango/pango-layout.c (shape_tab): Add a FIXME comment.
3019
3020         * pango/pango-markup.c (compare_xcolor_entries): Use g_strcasecmp.
3021
3022         * pango/pango-utils.c (pango_get_sysconf_subdirectory): Use second
3023         fallback location if there is no pango subdir in the Windows
3024         directory.
3025
3026         * pango/pangowin32-fontmap.c
3027         (pango_win32_font_entry_get_coverage): Check if fopen succeeded.
3028
3029         * pango/pangowin32-private.h (DEBUGGING): Turn off.
3030
3031         * pango/pangowin32.c (pango_win32_unicode_classify): We can in
3032         fact get out of the loop. Return invalid value in that case.
3033         (subfont_has_glyph): Improve performance a bit.
3034
3035         * pango/querymodules.c: Small change for MSVC build.
3036
3037         * modules/basic/basic-win32.c (basic_engine_get_coverage):
3038         Performance improvement.
3039
3040         * examples/viewer-win32.c (main): Disable double buffering on the
3041         layout widget, but only when building with GTK+ 1.3.2 or newer.
3042
3043 Wed Nov 29 11:08:52 2000  Owen Taylor  <otaylor@redhat.com>
3044
3045         * pango/mini-fribidi/fribidi.c pango/mini-fribidi/fribidi-tables.i:
3046         Some tiny changes to correspond to fribidi-0.15
3047
3048         * pango.pc.in pango-config.in pango/Makefile.am: 
3049         Move headers into separate subdir, to avoid
3050         clashes with future versions of Pango.
3051         
3052 2000-11-20  Tor Lillqvist  <tml@iki.fi>
3053
3054         * Makefile.am (EXTRA_DIST): Add README.win32.
3055
3056         * examples/pangoft2.aliases: Add this file to CVS.
3057
3058         * examples/Makefile.am (EXTRA_DIST): Add it here.
3059
3060 2000-11-21 Elliot Lee <sopwith@redhat.com>
3061         
3062         * modules/*/*.c: Fix warnings - mostly include string.h for strcmp.
3063
3064 2000-11-20  Havoc Pennington  <hp@redhat.com>
3065
3066         * pango/pango-layout.c (update_run): Fix this to make iteration 
3067         over runs work properly
3068
3069 2000-11-19  Tor Lillqvist  <tml@iki.fi>
3070
3071         * README.win32: New file.
3072
3073         * pango/fonts.c (pango_font_description_to_filename): New
3074         function. As pango_font_description_to_string, but with result
3075         that is better suitable as a filename: No spaces or other strange
3076         characters, all in lowercase.
3077         (pango_font_describe): Implement this function, call the
3078         corresponding method.
3079
3080         * pango/pango-font.h: Declare pango_font_description_to_filename.
3081
3082         * pango/pangowin32.c (pango_win32_font_describe)
3083         * pango/pangoft2.c (pango_ft2_font_describe): Implement these.
3084
3085         * pango/pangoft2-fontmap.c (pango_ft2_font_entry_get_coverage)
3086         * pango/pangowin32-fontmap.c (pango_win32_font_entry_get_coverage):
3087         Implement file-based persistent caching of coverages.
3088
3089         * pango/pangoft2-private.h (struct _PangoFT2FontEntry)
3090         * pango/pangowin32-private.h (struct _PangoWin32FontEntry): Move
3091         struct definition here from the -fontmap files.
3092
3093         * pango/pango.def: Updates.
3094
3095 Fri Nov 17 16:12:34 2000  Owen Taylor  <otaylor@redhat.com>
3096
3097         * Released 0.13
3098
3099         * NEWS: Updates for 0.13
3100
3101 Fri Nov 17 16:04:19 2000  Owen Taylor  <otaylor@redhat.com>
3102
3103         * tools/Makefile.am (EXTRA_DIST): Add maps/tis-620
3104
3105         * Makefile.am (EXTRA_DIST): Added TODO.xml
3106
3107         * pango/Makefile.am (EXTRA_DIST): Add .def files
3108         for Win32.
3109
3110         * examples/Makefile.am (EXTRA_DIST): Add a couple
3111         of missing files.
3112
3113         * docs/Makefile.am (dist-hook): Add back accidentally
3114         removed rule to distribute TEXT/*.
3115         
3116 Thu Nov 16 18:59:21 2000  Owen Taylor  <otaylor@redhat.com>
3117
3118         * pango/glyphstring.c (pango_glyph_string_extents_range): Test 
3119         against start not zero.
3120
3121 Thu Nov 16 13:23:43 2000  Owen Taylor  <otaylor@redhat.com>
3122
3123         * docs/pango-sections.txt docs/tmpl/modules.sgml: Add
3124         pango_module_register ().
3125
3126         * pango/modules.c: Make ordering of module lookup
3127         predictable.
3128
3129         * pango/modules.c (pango_module_register): Add a
3130         useful doc comment. 
3131
3132         * pango/pango-modules.[ch]: Fix indentation.
3133
3134         * .cvsusers: Added
3135         
3136 2000-11-16  Havoc Pennington  <hp@redhat.com>
3137
3138         * pango/modules.c (handle_included_module): Declare variable j so
3139         it compiles
3140
3141 2000-11-15  Elliot Lee  <sopwith@redhat.com>
3142
3143         * pango/modules.c: Make some vars static.
3144           Implement pango_module_register function.
3145         * pango/pango-modules.h, pango/modules.h: Move declaration of
3146         PangoIncludedModule to pango-modules.h for public use.
3147
3148 Wed Nov 15 16:56:38 2000  Owen Taylor  <otaylor@redhat.com>
3149
3150         * pango/pango-layout.c (process_item): Fix problem with
3151         unbreakable words at start of line longer than line width.
3152
3153 Wed Nov 15 15:04:00 2000  Owen Taylor  <otaylor@redhat.com>
3154
3155         * pango/pango-layout.c (pango_layout_get_extents_internal):
3156         Fix problem where right-aligned lines weren't getting properly
3157         offset because width was left as -1.
3158
3159 Tue Nov 14 18:45:24 2000  Owen Taylor  <otaylor@redhat.com>
3160
3161         * pango/shape.c (pango_shape): Every character must
3162         be part of some cluster, so when we dont' have an engine
3163         at all (pathalogical, happens now for formatting characters),
3164         create a cluster with one glyph=0 and 0 size.
3165
3166 Wed Nov 15 10:50:38 2000  Owen Taylor  <otaylor@redhat.com>
3167
3168         * pango/pango-layout.c (process_line): Rewrite of good
3169         portions of line-break code to be more readable, work
3170         better, and maybe even be a little faster.
3171
3172 2000-11-14  Havoc Pennington  <hp@redhat.com>
3173
3174         * pango/pango-layout.c (pango_layout_get_item_properties): get the 
3175         value of any rise attribute
3176         (pango_layout_run_get_extents): take rise into account
3177
3178 2000-11-15  Tor Lillqvist  <tml@iki.fi>
3179
3180         * config.h.win32: Define HAVE_FRIBIDI.
3181
3182         * pango/pango.def: Add new functions.
3183
3184         * pango/pango{win32*,ft2*}.[ch]: Add my name to copyright notice.
3185
3186 Tue Nov 14 11:10:24 2000  Owen Taylor  <otaylor@redhat.com>
3187
3188         * pango/pango-layout.c (pango_layout_run_get_extents): 
3189         Fix low underline code to deal with run_ink == NULL.
3190
3191         * pango/pango-utils.c (pango_read_line): Return number
3192         of lines read to allow decent parse errors line numbers.
3193
3194         * pango/pangox-fontmap.c (pango_x_font_map_read_alias_file):
3195         Fix line number count.
3196
3197         * examples/pangox.aliases: Include extra international fonts
3198         for all styles, not just roman, reindent so it looks 
3199         halfway legible.
3200
3201 Mon Nov 13 14:02:48 2000  Owen Taylor  <otaylor@redhat.com>
3202
3203         * pango/pangox.c pango/pango-indic.c: Some doc comment
3204         fixes.
3205
3206 2000-11-13  Havoc Pennington  <hp@redhat.com>
3207
3208         * pango/pango-layout.c (pango_layout_get_cursor_pos): Don't need
3209         to check_lines, pango_layout_get_iter() will do that
3210         (next_cluster_start): don't ever return a value past the end 
3211         of the glyph string
3212
3213 2000-11-13  Havoc Pennington  <hp@redhat.com>
3214
3215         * examples/pangox.aliases: Add italic/bold variants
3216
3217 2000-11-13  Elliot Lee  <sopwith@redhat.com>
3218
3219         Patches from long ago:
3220         * pango/pango-layout.c: Make pango_layout slightly more robust.
3221         Do check_lines before getting cursor position.
3222
3223 2000-11-13  Havoc Pennington  <hp@redhat.com>
3224
3225         * docs/pango-sections.txt: Add new PangoLayoutIter entry points
3226
3227         * pango/glyphstring.c (pango_glyph_string_extents_range): New
3228         function
3229
3230         * pango/pango-layout.c: Create PangoLayoutIter for iterating over
3231         a layout's visual elements
3232         
3233         * pango/pango-layout.c (pango_layout_check_lines): plug 
3234         a memleak (attr iterator not freed)
3235
3236         * pango/pango-tabs.c (pango_tab_array_free): plug a memleak
3237         (array->tabs not freed)
3238
3239 Mon Nov 13 09:17:34 2000  Owen Taylor  <otaylor@redhat.com>
3240
3241         * pango/pangox.c: Remove fribidi include.
3242
3243         * pango.pc.in (Requires): Substitute fribidi reference only
3244         when necessary
3245
3246         * Makefile.am (pkgconfigdir): pkgconfigdir is $(libdir)/pkgconfig
3247
3248         * modules/indic/Makefile.am (EXTRA_DIST): Add pango-indic-script.h
3249
3250         * fonts/Makefile.am (EXTRA_DIST): Remove devnag*
3251
3252         * configure.in: Up version to 0.13
3253         
3254         * docs/pango-docs.sgml: Reorganize, add all new chapters.
3255
3256         * docs/pango-sections.txt: Update
3257
3258         * docs/Makefile.am (IGNORE_HFILES): add mini-fribidi
3259         pango-intset.h
3260
3261 2000-11-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
3262
3263         * pango/pango-attributes.c, pango/pango-attributes.h: Renamed
3264         pango_attribute_compare to pango_attribute_equal. Renamed compare
3265         member of PangoAttrClass to equal. Renamed some static functions
3266         from ..._compare to ..._equal.
3267         
3268         * pango/fonts.c, pango/pango-font.h, pango/pango-context.c:
3269         Renamed pango_font_description_compare to
3270         pango_font_description_equal.
3271
3272         * docs/pango-sections.txt, docs/tmpl/fonts.sgml,
3273         docs/tmpl/text-attributes.sgml: Changed accordingly.
3274
3275 2000-11-12  Havoc Pennington  <hp@pobox.com>
3276
3277         * pango-config.in: Remove UNICODE_LIBS UNICODE_CFLAGS
3278         
3279         * modules/thai/Makefile.am (pango_thai_la_LIBADD): ditto
3280
3281         * modules/basic/Makefile.am: ditto
3282
3283         * pango/Makefile.am: ditto
3284
3285 Mon Nov 13 02:55:38 2000  Robert Brady  <robert@suse.co.uk>
3286
3287         * examples/pangox.aliases: Added 
3288         -daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0, for 
3289         this comes with X.
3290
3291 Mon Nov 13 02:39:44 2000  Robert Brady  <robert@suse.co.uk>
3292
3293         * pango/modules/hangul/hangul.c: Replace fallback shaper
3294         with a call to pango_x_fallback_shape, this sets the
3295         cluster array properly.
3296
3297 Sun Nov 12 18:36:38 2000  Owen Taylor  <otaylor@redhat.com>
3298
3299         * configure.in (included_modules): Remove checks
3300         for iconv - we now depend on g_iconv wrapper defined
3301         in GLib.
3302
3303         * modules/basic/basic.c: Use g_iconv_* not iconv().
3304
3305         * pango/itemize.c pango/pango-context.c modules/thai/thai.c: 
3306         Remove spurious iconv.h includes.
3307
3308 Sun Nov 12 16:07:06 2000  Owen Taylor  <otaylor@redhat.com>
3309
3310         * configure.in pango/pango-utils.[ch] pango/Makefile.am
3311         pango/mini-fribidi/*: Include a stripped-down version of fribidi
3312         to avoid the extra dependency. No fribidi symbols are
3313         exported so conflicts with the real fribidi should not
3314         happen. Library can optionally be compiled with the 
3315         real libfribidi.
3316
3317         * pango/pango-utils.[ch]: Wrappers for
3318         fribidi_ functions when compiling with fribiid.
3319         
3320         * modules/basic/basic-ft2.c modules/basic/basic-win32.c
3321         modules/basic/basic.c modules/thai/thai.c pango/Makefile.am
3322         pango/itemize.c pango/pango-context.c pango/pangoft2.c
3323         pango/pangowin32.c pango/pangox.c: Use pango_ versions of fribidi
3324         functions.
3325         
3326 2000-11-12  Robert Brady  <robert@suse.co.uk>
3327
3328         * pango/pango-indic.c (pango_shift_vowels): Don't corrupt the 
3329         array.
3330
3331 2000-11-12  Havoc Pennington  <hp@pobox.com>
3332
3333         * pango/pango-layout.c (pango_layout_get_text): Add accessor to 
3334         get the text from the layout
3335
3336 2000-11-11  Tor Lillqvist  <tml@iki.fi>
3337
3338         * pango/pangowin32.c (pango_win32_render): Add code to call
3339         SetTextAlign, but commented out.
3340
3341         * pango/makefile.mingw.in (PANGO_OBJS): Add new objects.
3342
3343         * pango/pango.def: Add new functions.
3344
3345 2000-11-08  Robert Brady  <rwb197@zepler.org>
3346
3347         * pango/fonts/devnag.README: Updated to point to the new fonts
3348
3349         * examples/HELLO.utf8: Added a few new entries.
3350
3351         * modules/Makefile.am, configure.in: s/devanagari/indic/
3352         
3353         * modules/devangari: Removed.
3354
3355         * modules/indic: New shapers for Devanagari,
3356         Bengali, Gurmukhi, Gujarati, and Burmese, that make use of
3357         the below facilities.
3358
3359         * pango/fonts/devnag18.bdf: Removed.
3360
3361         * pango/docs/TEXT/ligatures: Documentation on the ligatures.
3362
3363         * examples/pangox.aliases: Added fonts for the new Indic renderers
3364         to sans, serif and monospace.
3365
3366         * pango/pangox-fontmap.c, pango/pangox-private.h: Add a 
3367         per-PangoXFontMap cache for X Atoms.
3368
3369         * pango/pango-intset.c, pango/pango-intset.h: Integer set.
3370
3371         * pango/pangox.c, pango/pangox.h: Mainly add two new functions, 
3372         font_struct_get_ligatures, to parse X font properties for ligature
3373         info, and pango_x_apply_ligatures, which does that actual ligation.
3374
3375         Also add utility functions pango_x_fallback_shaper, 
3376         pango_x_find_first_subfont.
3377
3378         * pango/pango-indic.c, pango/pango-indic.h: Utility functions for 
3379         Indic scripts.
3380
3381         * pango/Makefile.am: Add pango-intset, pango-indic.
3382         
3383 Thu Nov  2 16:21:22 2000  Owen Taylor  <otaylor@redhat.com>
3384
3385         * pango/modules/arabic: new version of Arabic shaper from Karl
3386           Koehler.
3387
3388 2000-11-01  Havoc Pennington  <hp@redhat.com>
3389
3390         * pango/pango-markup.c (pango_parse_markup): Return the accel
3391         keyval
3392
3393 2000-11-01  Havoc Pennington  <hp@redhat.com>
3394
3395         * pango/pango-markup.c (text_handler): Fix bug where not all text
3396         was appended when parsing accelerators
3397
3398 2000-11-01 Pablo Saratxaga <pablo@mandrakesoft.com>
3399
3400         * modules/thai/thai.c: added aliases for X11 font names used on
3401         Solaris
3402         * modules/arabic/{arabic,naqshfont}.c: changed X11 font registry from
3403         "symbol-0" to "urdunaqsh-0"; using "symbol-0" isn't really usable;
3404         you get almost always the bad font...
3405
3406 2000-11-01  Havoc Pennington  <hp@pobox.com>
3407
3408         * pango/pango-attributes.c (pango_attr_scale_new): Add a new
3409         attribute for scaling a font; also required adding PangoAttrFloat.
3410         (pango_attr_iterator_get_font): Add PANGO_ATTR_SCALE handling.
3411
3412         * pango/pango-utils.c (pango_parse_stretch): Take a plain string
3413         not a GString
3414         (pango_parse_weight): ditto
3415         (pango_parse_variant): ditto
3416         (pango_parse_style): ditto
3417
3418         * pango/pangox-fontmap.c (pango_x_font_map_read_alias_file): pass 
3419         GString::str instead of the GString itself to pango_parse_*
3420
3421         * pango/pangoft2-fontmap.c (pango_ft2_insert_face): ditto
3422
3423         * pango/pangowin32-fontmap.c
3424         (pango_win32_font_map_read_alias_file): ditto
3425         
3426         * pango/pango-layout.c (get_tab_pos): adapt to new pango_itemize()
3427         signature
3428         (pango_layout_check_lines): Raise attr list copy/creation out of
3429         the loop over paragraphs. Adapt to pango_itemize() changes.
3430
3431         * pango/pango-context.c (pango_itemize): pass in a starting 
3432         index and a cached iterator
3433         (add_engines): Easy optimization, pass in
3434         n_chars instead of recomputing it. Also, pass on the start
3435         index and cached iterator.
3436         
3437         * docs/pango-sections.txt: Add new stuff
3438         docs/pango_markup.sgml: Docs on markup format
3439
3440         * pango/pango-layout.c (pango_layout_get_attributes): New function 
3441         to retrieve the AttrList from a layout
3442         (pango_layout_set_markup): Set layout from markup
3443         (pango_layout_set_markup_with_accel): Set layout from markup
3444         including accelerator parsing.  
3445
3446         * pango/pango-attributes.h (pango_parse_markup): New function to 
3447         convert a tag string to an attribute list
3448
3449         * pango/pango-markup.c (pango_parse_markup): implement
3450
3451         * docs/Makefile.am, docs/pango-docs.sgml, docs/pango-sections.txt,
3452         docs/pango_markup.sgml: oooooh, documentation for the above patch!
3453
3454         * docs/tmpl/pango-unused.sgml: Remove from CVS; just causes
3455         problems, and was full of checked-in conflict markers.
3456         
3457 Tue Sep 12 10:21:08 2000  Owen Taylor  <otaylor@redhat.com>
3458
3459         * pango/modules.c (pango_map_get_entry): Added docs
3460         for the publically exported functions in this module,
3461         even though they are really only semi-public
3462         (for people implementing new types of #PangoFont),
3463         not public
3464
3465         * pango/pango-utils.c (pango_read_line): Minor bug
3466         tweak.
3467
3468 Sun Oct 29 01:27:39 2000  Owen Taylor  <otaylor@redhat.com>
3469
3470         * pango/pangoft2-fontcache.c pango/pangoft2.[ch]
3471         pango/pangowin32.h: Fix up doc comments not to 
3472         have obvious errors that gtk-doc barfs on. Correct
3473         parameter descriptions still need to be filled in.
3474
3475         * configure.in pango/docs/Makefile.am: upgrade to
3476         have a real install rule, etc.
3477
3478         * pango/docs/pango-sections.txt: Add various missing
3479         functions.
3480
3481 Wed Oct 25 15:39:49 2000  Tim Janik  <timj@gtk.org>
3482
3483         * *.c: adapted g_Type_register_*() calls. GLib wants an additional
3484         flag field to specify tape flags per node. added 0s all over the place,
3485         making the assumption that no pango types are abstract ones.
3486
3487 2000-10-03  Tor Lillqvist  <tml@iki.fi>
3488
3489         * pango/pango.def
3490         * pango/pangoft2.def: Add new entry points.
3491
3492         * pango/pango-coverage.c (pango_coverage_set): Remove unnecessary
3493         loop calling memset() with same parameters 64 times ;-)
3494
3495         * pango/makefile.mingw.in (PANGO_OBJS): Add pango-tabs.o.
3496
3497         Some small changes that have been laying around on my disk. The
3498         Win32 and FT2 backends aren't "production quality" yet. For
3499         speedup, need to cache at least the coverage info.
3500         
3501         * pango/pangoft2.c (pango_ft2_get_coverage): New function.
3502
3503         * modules/basic/basic-win32.c: Use "BasicScriptEngineLangWin32" to
3504         be unique.
3505
3506         * modules/basic/basic-ft2.c: Add comments explaining what Unicode
3507         ranges the table entries covers. Use "BasicScriptEngineLangFT2" to
3508         be unique.
3509         (basic_engine_get_coverage): Test calling
3510         pango_ft2_get_coverage().
3511         (basic_engine_ft2_new): Set corect engine type. Not that this
3512         apparently is used for anything, the X11 basic shaper module also
3513         sets its type as TYPE_LANG.
3514
3515         * examples/viewer-ft2.c (split_paragraphs): Just end the string
3516         upon encountering an invalid character. Don't return.
3517
3518 2000-09-29  Martin Baulig  <baulig@suse.de>
3519
3520         * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
3521         this is the directory where pkg-config actually looks.
3522
3523         * *.pc.in: Made the pkg-config scripts actually work.
3524
3525 2000-09-28  Havoc Pennington  <hp@pobox.com>
3526
3527         * pango/pango-tabs.c (pango_tab_array_new_with_positions): was 
3528         pango_tab_array_new_with_defaults; apparently I didn't check in
3529         the modified version at work
3530
3531 2000-09-27  Havoc Pennington  <hp@redhat.com>
3532
3533         * pango/pango-tabs.c (pango_tab_array_get_tabs): Change to return
3534         allocated array.
3535
3536 2000-09-25  Havoc Pennington  <hp@redhat.com>
3537
3538         * pango/pango-layout.c: Add a tab array field to PangoLayout,
3539         and use it when laying out the text (if it's set, otherwise
3540         use default tabs-are-8-spaces thing)
3541
3542         * pango/pango-tabs.c, pango/pango-tabs.h: tab-related data types
3543         
3544 Sun Sep 10 03:01:53 2000  Owen Taylor  <otaylor@redhat.com>
3545
3546         * pango/pango-layout.c (pango_layout_set_attributes): Fix 
3547         bug where wrong attribute list was unreferenced.
3548
3549         * pango/pango-attributes.[ch]: Add function
3550         pango_attr_list_splice() to splice contents of one
3551         attribute list into another attribute list.
3552
3553         * pango/pango-utils.h: Add include of pango-font.h since
3554         it now depends on declarations from there.
3555
3556 2000-09-08  Jonathan Blandford  <jrb@redhat.com>
3557
3558         * pango/pango-attributes.c (pango_attr_list_change): Minor fixes
3559         to Owen's patch below to make it work.
3560
3561         * pango/pango-attributes.c (pango_attribute_copy): Copy the
3562         start_index/end_index explicitly rather then rely on the copy
3563         function doing it for you, as none did so.
3564
3565 Thu Sep  7 05:12:09 2000  Owen Taylor  <otaylor@redhat.com>
3566
3567         * pango/pango-attributes.c (pango_attr_list_change): Fix up to
3568         match the docs, correct bugs found by Jonathan Blandford.
3569
3570 2000-09-04  Robert W Brady  <robert@susu.org.uk>
3571
3572         * modules/basic/tables-big.i: Use iso10646-1 fonts
3573         for Georgian, Ethiopic, Cherokee, Canadian, Ogham,
3574         Runic.
3575
3576 Thu Aug 31 11:29:33 2000  Owen Taylor  <otaylor@redhat.com>
3577
3578         * tools/maps/tis-620: Check in this file, since it 
3579         isn't from the Unicode consortium.
3580
3581 Wed Aug 30 21:42:42 2000  Owen Taylor  <otaylor@redhat.com>
3582
3583         * configure.in (QTDIR): Add /usr/lib/qt-2.2.0 to the
3584         list.
3585
3586         * modules/basic/tables-big.i: Updated using fixed
3587         make-table.sh. Added koi8-r and iso8859-1
3588
3589         * modules/basic/tables-small.i: Add note noting
3590         non-maintainence.
3591
3592         * tools/make-table.sh: Fix for mapping tables with
3593         3 columns provided by KUSANO Takayuki.
3594
3595 2000-08-29  Elliot Lee  <sopwith@redhat.com>
3596
3597         * pango/pango-context.h, pango/pango-font.h,
3598         pango/pango-fontmap.h, pango/pango-layout.h: Utilize G_GNUC_CONST
3599
3600 Mon Aug 21 22:02:38 2000  Owen Taylor  <otaylor@redhat.com>
3601
3602         * pango/pango-context.c (load_font): Don't produce a warning
3603         unless loading all fonts fails, if loading all fonts fails,
3604         try with "Sans [style]", if that fails, try with "Sans",
3605         if that fails, exit - we are completely screwed.
3606
3607         * pango/pangox-fontmap.c (pango_x_font_map_load_font): Equate
3608         PANGO_STYLE_OBLIQUE and PANGO_STYLE_ITALIC, but with a big
3609         penalty.
3610
3611 2000-08-21  Tor Lillqvist  <tml@iki.fi>
3612
3613         * pango/pangoft2-fontmap.c: Get font directory path with
3614         pango_config_key_get("PangoFT2/FontPath"). If no such key exists
3615         in the pangorc file, use the ft2fonts subdirectory of
3616         LIBDIR/pango, and on Windows, also %WinDir%\fonts.
3617
3618         * pango/{pango,pangoft2,pangowin32}.rc.in: New files (resource
3619         files used when building Win32 DLLs, contain version information).
3620
3621         * pango/Makefile.am: Add the new files.
3622
3623         * configure.in: Define major and minor version numbers separately.
3624         Output also the makefile.mingw and *.rc files.
3625
3626         * pango/pangoft2.c (pango_ft2_render): Handle also ft_pixel_mode_mono
3627         glyphs.
3628
3629         * pango/pangoft2*: Portability enhancements (non-gcc).
3630
3631 Sun Aug 20 13:45:08 2000  Owen Taylor  <otaylor@redhat.com>
3632
3633         * TODO.xml TODO: Move most all of the TODO items here to the XML file. 
3634         This needs to be built using the Python script gtk+/docs/make-todo.
3635
3636 2000-08-20  Tor Lillqvist  <tml@iki.fi>
3637
3638         * pango/pango-utils.c (pango_parse_*): Add parameter telling
3639         whether to print warning or not if string isn't recognised. Use
3640         g_strncasecmp().
3641
3642         * pango/pango-utils.h: Change prototype accordingly.
3643
3644         * pango/pangox-fontmap.c
3645         * pango/pangowin32-fontmap.c: Change calls correspondingly.
3646
3647         * pango/pangowin32.h: 
3648         * pango/pangowin32.c: Cosmetic changes, dead code removal.
3649
3650         * pango/pangoft2.h
3651         * pango/pangoft2-private.h
3652         * pango/pangoft2.c
3653         * pango/pangoft2-fontmap.c
3654         * pango/pangoft2-fontcache.c: New files implementing a FreeType2
3655         backend. Used only on Win32 so far, but doesn't contain
3656         Win32-specific code per se, so if somebody wants to try it out on
3657         X11, too, be my guest.
3658
3659         It works, more or less, but there are some details still to sort
3660         out. Performance needs to be improved. Debugging printouts still
3661         present. Font path currently hardcoded to C:\windows\fonts, heh.
3662
3663         Owen says he doesn't think it's a good idea to use ths on Win32,
3664         but I'll try anyway. If it turns out using the native Win32 GDI
3665         backend is better after all, oh well.
3666
3667         * pango/makefile.mingw: Delete. Move contents to
3668         makefile.mingw.in.
3669
3670         * pango/makefile.mingw.in: New file. Add rules for
3671         FreeType2 backend. Add FreeType2 CFLAGS and LIBS.
3672
3673         * pango/Makefile.am: Generate makefile.mingw.
3674         (EXTRA_DIST): Add FreeType2 backend sources, and
3675         makefile.mingw{,.in}
3676
3677         * pango/module-defs.c.win32
3678         * pango/pangoft2.def: New files.
3679
3680         * modules/engine.def: Delete. Was duplicate of module.def.
3681
3682         * modules/basic/basic-win32.c: Couple of cosmetic changes.
3683
3684         * modules/basic/Makefile.am: Generate makefile.mingw.
3685         (EXTRA_DIST): Add basic-ft2.c, and makefile.mingw{,.in}
3686
3687         * modules/basic/makefile.mingw: Delete. Move contents to
3688         makefile.mingw.in.
3689
3690         * modules/basic/makefile.mingw.in: New file. Add rule for
3691         basic-ft2. Add FreeType2 CFLAGS and LIBS.
3692
3693         * examples/viewer-win32.c: Replace division or multiplication with
3694         1000 (which was the old PANGO_SCALE value) to use PANGO_SCALE and
3695         PANGO_PIXELS instead. 
3696         (read_file): Fix error messages.
3697         (draw): Get HDC from GDK once for all paragraphs.
3698         * examples/viewer-win32.c: 
3699
3700         * examples/viewer-ft2.c: New file. The FT_Bitmap (256-level
3701         bitmap) produced by the FreeType2 backend is copied to the
3702         GtkLayout window using gdk_draw_gray_image from GdkRGB (!). Yes,
3703         this is kinda circular dependency between Pango and GTK+.
3704
3705         * examples/makefile.mingw: Delete. Move contents to
3706         makefile.mingw.in.
3707
3708         * examples/makefile.mingw.in: New file. Add rules for
3709         viewer-ft2. Add FreeType2 CFLAGS and LIBS.
3710
3711         * examples/Makefile.am: Generate makefile.mingw.
3712         (EXTRA_DIST): Add viewer-win32.c and viewer-ft2.c, and
3713         makefile.mingw{,.in}
3714
3715 2000-08-11  Havoc Pennington  <hp@redhat.com>
3716
3717         * pangox.pc.in (Cflags): remove /usr/include
3718
3719         * pango.pc.in (Cflags): remove /usr/include
3720
3721 2000-08-08  Elliot Lee  <sopwith@redhat.com>
3722         
3723         * modules/arabic/arabic.c: #include <string.h>
3724         * pango/modules.c: Fix incorrect list rearrangement.
3725         * pango/pango-layout.c (pango_layout_line_x_to_index): Pay
3726         attention to shape attributes
3727           (not perfect since the layout of chars inside a shape is
3728         unknown, but gives start index).
3729
3730 2000-08-07  Elliot Lee  <sopwith@redhat.com>
3731
3732         * pango/modules.c: If the first pango_skip_space fails, remember
3733         to free enginepair before continuing.
3734         * pango/pango-layout.c (pango_layout_set_attributes): unref old
3735         attr list after reffing new one.
3736         * pango/pango-attributes.c (pango_attr_list_insert_internal):
3737         Proper fix from Owen for the infinite loop.
3738
3739 2000-08-03  Elliot Lee  <sopwith@redhat.com>
3740
3741         * pango/modules.c: Fix segfault when tmp_list has no 'prev' pointer.
3742         * pango/pango-attributes.c (pango_attr_list_insert_internal):
3743         Infinite loops do not fast programs make.
3744         * pango/pango-context.c: Set a default font size so that things
3745         don't go boom if someone forgets to set it themselves.
3746         * pango/pango-layout.c (pango_layout_index_to_pos): Exclude
3747         newlines from consideration.
3748         (pango_layout_line_index_to_x): Take shape attributes into
3749         consideration when determining position.
3750
3751 Wed Aug  2 12:00:53 2000  Owen Taylor  <otaylor@redhat.com>
3752
3753         * pango/pango-layout.c (pango_layout_get_extents):
3754         Fix problem with the way extents for the layout lines
3755         were summed together in the vertical direction.
3756
3757 Sat Jul 29 21:26:30 2000  Owen Taylor  <otaylor@redhat.com>
3758
3759         * examples/viewer-qt.[ch] (ViewerWindow): Remove 
3760         hardcoded path to my home directory! Allow specifying
3761         the file on the command line.
3762
3763         * pango/modules.c (process_module_file): Fix bug in
3764         parsing of range strings.
3765
3766 2000-07-31  Havoc Pennington  <hp@redhat.com>
3767
3768         * pango.pc.in, pangox.pc.in: pkg-config info files
3769         
3770         * Makefile.am: dist/install .pc files
3771
3772         * configure.in: output .pc files
3773
3774 2000-07-28  Martin Baulig  <baulig@suse.de>
3775
3776         * pango/pango-layout.c (pango_layout_finalize): Destroy
3777         the layout->font_desc to avoid a memory leak.
3778
3779 2000-07-27  Tor Lillqvist  <tml@iki.fi>
3780
3781         * pango/pango.def
3782         * pango/pangowin32.def: New files, forgot to commit earlier.
3783
3784 Sat Jul 22 10:52:06 2000  Owen Taylor  <otaylor@redhat.com>
3785
3786         * pango/pango-utils.c: include <stdlib.h>
3787
3788         * configure.in: s/FRIBID_CONFIG/FRIBIDI_CONFIG/.
3789
3790 Fri Jul 21 15:17:26 2000  Owen Taylor  <otaylor@redhat.com>
3791
3792         * pango/pango-context.c (pango_itemize): A bit of code
3793         cleanup.
3794
3795         * pango/pango-attributes.[ch]: Add a new attribute type
3796         PangoAttrShape, for imposing specific shapes on glyphs.
3797         This is used for handling embedded pixmaps and similar
3798         objects.
3799
3800         * pango/pango-layout.c: Hnadle PangoAttrShape.
3801
3802         * pango/pango-context.[ch]: 
3803
3804 Fri Jul 21 09:59:10 2000  Owen Taylor  <otaylor@redhat.com>
3805
3806         * pango/modules.c (process_module_file): Free buffer strings.
3807
3808         * pango/pangox-fontmap.c (pango_x_real_get_coverage_win): Add
3809         caching of coverage maps on a persistant subwindow of the
3810         root window. This window contains a property for
3811         each "lang|xlfd,xlfd" which is the result of pango_coverage_to_bytes.
3812
3813         * pango/pango-context.c (pango_context_finalize): Free
3814         the font description.
3815
3816         * pango/pango-coverage.c (pango_coverage_to/from_bytes): Added
3817         functions to covert a PangoCoverage structure too and
3818         from a flat block of bytes.
3819
3820         * configure.in (X_LIBS): Add a check to detect fribidi being
3821         compiled against glib-1.2.x.
3822
3823 2000-07-20  Tor Lillqvist  <tml@iki.fi>
3824
3825         * examples/pangowin32.aliases: Add some more fonts. Document where
3826         to get the fonts.
3827
3828         * pango/pangowin32.c (subfont_has_glyph): Use 0xFFFE to produce
3829         the default glyph.
3830         (create_bitmap_dibsection): Zero out the bitmap.
3831
3832         * pango/pangowin32-fontmap.c (pango_win32_guess_subranges): Set
3833         some additional Unicode subranges for fonts that claim covering
3834         the Vietnamese codepage.
3835
3836 2000-07-19  Tor Lillqvist  <tml@iki.fi>
3837
3838         * configure.in: Don't try to use the ! command, not available in all
3839         systems. Move the ! inside the test instead.
3840
3841         * pango-config.in: Change order of --cflags output, so that we can
3842         build with both GLib 1.2 and 1.3 installed.
3843
3844         * modules/devanagari/dev-ligatures.h: No C++ comments, thanks.
3845
3846         * pango/break.c: Fix gccism, non-constant initailiser.
3847
3848         * pango/pango-fontmap.c (pango_font_map_list_fonts,
3849         pango_font_map_list_families): Don't return value from void
3850         functions.
3851
3852         * pango/pango-utils.c: Must have at least empty statement after
3853         a label.
3854
3855         * examples/pangowin32.aliases: Add Tahoma and Angsana New, these
3856         common fonts have Thai characters.
3857
3858         * pango/pangowin32-private.h: Rename fonts and n_fonts members
3859         to logfonts and n_logfonts, as that is what they are.
3860
3861         * pango/pangowin32.c: Bug fixes. Works much better now.
3862         (pango_win32_font_get_glyph_extents): Set y offset correctly.
3863         (subfont_has_glyph): Call SetTextAlign. Select the font into the
3864         HDC before calling GetTextMetrics.
3865         
3866 2000-07-18  Tor Lillqvist  <tml@iki.fi>
3867
3868         * pango/Makefile.am (EXTRA_DIST): Add the pangowin32 sources.
3869
3870         * pango/pangox.c (lang_texts): Add some non-ASCII to the
3871         Finnish and Swedish strings.
3872
3873         * modules/module.def: New file.
3874
3875         * modules/Makefile.am (EXTRA_DIST): Add it.
3876
3877         * modules/basic/Makefile.am (EXTRA_DIST): Add basic-win32.c.
3878
3879         * */makefile.mingw: Small updates.
3880
3881         * pango/pangowin32.c
3882         * pango/pangowin32-fontmap.c
3883         * modules/basic/basic-win32.c
3884         * examples/viewer-win32.c: Bug fixes. Remove dead code.
3885         Now the Win32 implementation seems to work, except
3886         for a few glitches.
3887
3888 2000-07-16  Tor Lillqvist  <tml@iki.fi>
3889
3890         * pango/pango-utils.h
3891         * pango/pango-utils.c
3892         * pango/pangox-fontmap.c
3893         * pango/pangowin32-fontmap.c: Move the get_{style,variant,
3894         weight,stretch} functions to pango-utils.c, and rename
3895         them to pango_parse_*. Would otherwise be duplicated in
3896         pangox and angowin32.
3897
3898         * pango/pango.def: Export them.
3899
3900         * pango/pango-font.h: Add PANGO_WEIGHT_ULTRALIGHT,
3901         PANGO_WEIGHT_LIGHT, PANGO_WEIGHT_EXTRABOLD and PANGO_WEIGHT_HEAVY
3902         values to PangoWeight.
3903         * pango/pango-utils.c: Recognize the new weight strings.
3904
3905         * pango/pangowin32.c (pango_win32_list_subfonts): Don't g_free the
3906         subfont_list from the subfonts_by_subrange hash table...
3907
3908         * pango/pangowin32-fontmap.c (pango_win32_font_map_read_alias_file): 
3909         Also set the other properties in the LOGFONT, not only the face name.
3910
3911         (pango_win32_insert_font): Insert a pointer to a freshly allocated
3912         LOGFONT in the hash table, not the one passed in as a parameter,
3913         which could be (and in fact, *is*) a pointer to an auto
3914         variable. Quantize the description weight values to exact
3915         PANGO_WEIGHT_* values.
3916         (pango_win32_get_unknown_glyph): Use subfont 1.
3917
3918         * examples/viewer-win32.c: (split_paragraphs): Don't include the
3919         newline.
3920         (draw): Correct 1st parameter to gdk_win32_hdc_{get,release}.
3921
3922 2000-07-15  Tor Lillqvist  <tml@iki.fi>
3923
3924         * pango/pangowin32.h
3925         * pango/pangowin32-private.h
3926         * pango/pangowin32-fontcache.c
3927         * pango/pangowin32-fontmap.c
3928         * pango/makefile.mingw
3929         * modules/basic/basic-win32.c
3930         * modules/basic/makefile.mingw
3931         * examples/viewer-win32.c
3932         * examples/makefile.mingw
3933         * examples/pangowin32.aliases: New files. Start of a Win32
3934         implementation. Does not work yet.
3935
3936         * configure.in: Chek for dirent.h and unistd.h.
3937
3938         * pango/pango-utils.h
3939         * pango/pango-utils.c (pango_get_sysconf_subdirectory,
3940         pango_get_lib_subdirectory): New functions, for better
3941         portability, to enable installation-time choice of directory (on
3942         Windows) instead of compile-time. Use these instead of SYSCONFDIR
3943         "/pango" and LIBDIR "/pango".
3944
3945         (pango_split_file_list): Fix comment, the function splits on
3946         searchpath separators, not commas. Use G_SEARCHPATH_SEPARATOR_S
3947         for portability. Don't try to expand '~' as home directory on
3948         Windows.
3949
3950         (read_config): Use pango_get_sysconf_subdirectory().
3951
3952         * pango/modules.c (read_modules): Use pango_get_sysconf_subdirectory().
3953         Don't crash if a module file cannot be opened.
3954
3955         * pango/querymodules.c: Include config.h Conditionalize inclusion
3956         of dirent.h and unistd.h. Use platform-specific shared library
3957         extension. Use pango_get_lib_subdirectory().
3958
3959 Thu Jul  6 15:24:38 2000  Owen Taylor  <otaylor@redhat.com>
3960
3961         * Released 0.12
3962
3963         * examples/pangox.aliases: Add clealyu fonts
3964
3965         * configure.in: Use AM_PATH_GLIB_2_0()
3966         
3967         * pango-config.in: Use @FRIBIDI_LIBS@, not -lfribidi
3968
3969         * pango-config.in: Fix accidental inclusion 
3970         -I lib/glib/include/
3971
3972 Mon Jul 10 10:42:42 2000  Owen Taylor  <otaylor@redhat.com>
3973
3974         * pango/pango-utils.c (pango_split_file_list): Fix
3975         bug in home directory substitution.
3976
3977 2000-07-06  Havoc Pennington  <hp@redhat.com>
3978
3979         * pango/break.c (pango_get_log_attrs): Implement this function, to
3980         get logical attributes without a PangoAnalysis.
3981         (pango_break): Fix bug in word stop location
3982
3983 Thu Jul  6 15:24:38 2000  Owen Taylor  <otaylor@redhat.com>
3984
3985         * gdk/Makefile.am: Fix missing \ which was causing
3986         srcdir != builddir builds to fail.
3987
3988 Thu Jul  6 15:16:28 2000  Owen Taylor  <otaylor@redhat.com>
3989
3990         * docs/pango-sections.txt docs/tmpl/*: Update
3991
3992 2000-07-03  Havoc Pennington  <hp@redhat.com>
3993
3994         * pango/pango-layout.c (pango_layout_index_to_pos): Handle the
3995         case where the byte offset is outside the layout.
3996
3997 Sun Jul  2 18:06:01 2000  Owen Taylor  <otaylor@redhat.com>
3998
3999         * pango/pango-layout.c (get_tab_pos): Fix up set_font_description()
4000         for tab spaces.
4001
4002 Sun Jul  2 17:59:56 2000  Owen Taylor  <otaylor@redhat.com>
4003
4004         * pango/pango-attributes.[ch] (pango_attr_list_insert_before): New
4005         function that inserts before other attributes with matching
4006         start index.
4007
4008         * pango/pango-layout.[ch] (pango_layout_set_font_description): Add
4009         the ability to set a default font description on the layout, overriding
4010         the font description from the context.
4011
4012 Sun Jul  2 17:19:11 2000  Owen Taylor  <otaylor@redhat.com>
4013
4014         * pango/pango-types.h: Add a PANGO_PIXELS macro to convert
4015         from pango units to device units and round.
4016
4017         * pango/pango-layout.[ch]: Add convenience functions
4018         pango_layout_get_pixel_extents, pango_layout_get_size,
4019         pango_layout_get_pixel_size pango_layout_line_get_pixel_extents.
4020
4021 Fri Jun 30 16:46:31 2000  Owen Taylor  <otaylor@redhat.com>
4022
4023         * pango/pango-utils.[ch] Makefile.am: A bunch of simple functions
4024         for reading from files, manipulating strings as necessary for
4025         config files. Also, a simple gnome-config/win.ini style
4026         config file reader.
4027
4028         * pango/modules.c: Remove DOTFILES stuff. Instead, read names
4029         of modules file from pangorc. (Which can be set from PANGO_RC_FILE).
4030         Rewrite parsing code using pango-utils.c.
4031
4032         * pango/pangox-fontmap.c: Read list of files from
4033         PangoX/AliasFiles key. Rewrite parsing code for alias files using
4034         pango-utils.c.
4035         
4036         * examples/pangox.aliases: Move to new name from pangox_aliases,
4037         reformat using new parsing code.
4038         
4039         * examples/pangorc (AliasFiles) examples/pango-viewer: Add a
4040         pangorc file for in-place testing.
4041
4042         * pango/querymodules.c (main): Add comment to the top of 
4043         the output indicating that the file should not be hand-edited.
4044
4045 Thu Jun 29 18:13:47 2000  Owen Taylor  <otaylor@redhat.com>
4046
4047         * pango/pango-coverage.c: Fix various aspects of expanding
4048         coverage tables beyond the first 256 blocks. (Based on
4049         patch from ChiDeok Hwang.)
4050
4051 Thu Jun 29 16:35:41 2000  Owen Taylor  <otaylor@redhat.com>
4052
4053         * modules/arabic/{*.c,Makefile.am}: New version from Karl
4054         Koehler merged with the changes for the GLib unicode functions.
4055
4056 Wed Jun 21 12:11:56 2000  Owen Taylor  <otaylor@redhat.com>
4057
4058         * configure.in: Remove tests for libunicode
4059
4060         * pango/utils.[ch]: Removed. The functions from here are now in
4061         GLib.
4062
4063         * **.[ch]: Removed use of libunicode and utils.c in favor of
4064         Unicode functions in GLib. Requires latest GLib from CVS.
4065
4066 2000-06-14  Havoc Pennington  <hp@redhat.com>
4067
4068         * pango/pango-attributes.c (pango_attr_list_copy): Function to
4069         copy the attribute list.
4070
4071 2000-06-13  Havoc Pennington  <hp@redhat.com>
4072
4073         * pango/pango-layout.h: Convert PangoLayout to GObject
4074
4075         * pango/pango-context.h: Convert to PangoContext to GObject
4076
4077 2000-06-11  Elliot Lee  <sopwith@redhat.com>
4078
4079         * pango/fonts.c (pango_font_description_compare): g_strcasecmp
4080         returns 0 when strings are equal - negate return value.
4081
4082 2000-06-09  Elliot Lee  <sopwith@redhat.com>
4083
4084         * pango/pango-coverage.[ch]: Return 'coverage' from
4085         pango_coverage_ref.
4086
4087 2000-06-08  Elliot Lee  <sopwith@redhat.com>
4088
4089         * modules/Makefile.am: Add DOTMODULESDIR define to make it easier
4090         to change location of .modules files.
4091         * pango/modules.c: Likewise. Also scan the config directory for
4092         multiple config files instead of pango.modules.  Also fclose()
4093         opened files.
4094
4095 Thu Jun  8 14:43:35 2000  Owen Taylor  <otaylor@redhat.com>
4096
4097         * pango/pango-modules.h: pango/Makefile.am: Add a new
4098         header pango-modules.h to export a few parts of the 
4099         modules API needed by code for new types of fonts.      
4100
4101 2000-06-08 Elliot Lee <sopwith@redhat.com>
4102
4103         * pango-config.in: Include X_LIBS in libraries for 'pangox' target.
4104
4105 2000-06-07  Havoc Pennington  <hp@redhat.com>
4106
4107         * pango/pango-attributes.c (pango_attr_iterator_copy): New
4108         function to copy a PangoAttrIterator.
4109
4110 Mon Jun  5 20:45:12 2000  Owen Taylor  <otaylor@redhat.com>
4111
4112         * pango/pangox-fontmap.c (pango_x_shutdown_display): Add
4113         a function to free cached information for a particular
4114         display. (This is basically pango_x_fontmap_destroy())
4115
4116         * pango/pangox.c pango/pangox-private.h pango/pangox-fontmap.c:
4117         Make a XFont always keep a pointer to (and ref) a fontmap.
4118
4119 Mon Jun  5 15:56:25 2000  Owen Taylor  <otaylor@redhat.com>
4120
4121         * pango/pangox-fontmap.c (pango_x_font_map_for_display): Remove
4122         excessive ref.
4123
4124         * pango/pangox-fontcache.c (pango_x_font_cache_unload): Fix
4125         problem with unloading fonts.
4126
4127         * pango/pangox-fontmap.c pango/pangox-private.h pangox/pangox.c:
4128         Add a simple cache for PangoXFonts; get rid of the eternal caching of
4129         all fonts.
4130
4131 Wed May 31 16:11:46 2000  Owen Taylor  <otaylor@redhat.com>
4132
4133         * pango/pango-fontmap.h (struct _PangoFontMapClass): Remove unused
4134         destroy vfunc.
4135
4136 Sat Jun  3 06:01:38  Pablo Saratxaga <pablo@mandrakesoft.com>
4137
4138         * modules/thai/thai.c: added other common X11 font encoding
4139         names fortis-620 fonts.
4140
4141 Thu Jun  1 13:04:06 CEST 2000 Paolo Molaro <lupus@debian.org>
4142
4143         * configure.in: look for qt also in /usr/lib/qt2.
4144
4145 Wed May 31 10:46:53 2000  Owen Taylor  <otaylor@redhat.com>
4146
4147         * configure.in: Release 0.11
4148
4149         * pango.spec.in: Add missing make command.
4150
4151         * modules/basic/Makefile.am (EXTRA_DIST): Fix up extra-dist.
4152
4153         * pango/Makefile.am (libpangox_la_SOURCES): Add pangox-private.h
4154
4155 Tue May 30 14:30:24 2000  Owen Taylor  <otaylor@redhat.com>
4156
4157         * pango/fonts.c (pango_font_description_from_string): Use g_strtod().
4158
4159         * pango/fonts.c (pango_font_description_to_string): Fix bug
4160         where spaces where not properly inserted into font description
4161         string. 
4162
4163         * pango/fonts.c (pango_font_get_glyph_extents): Fix some 
4164         1000 <=> PANGO_SCALE bugs.
4165
4166         * pango/pangox-fontcache.c (pango_x_font_cache_load): Fix list
4167         manipulation bug.
4168
4169 Mon May 29 13:22:36 2000  Owen Taylor  <otaylor@redhat.com>
4170
4171         * pango/pangox.c pango/pangox.h (pango_x_font_subfont_xlfd): New
4172         function to retrieve the XLFD for a given subfont.
4173
4174 Mon May 29 11:14:34 2000  Owen Taylor  <otaylor@redhat.com>
4175
4176         * pango/pangox-fontcache.c (pango_x_font_cache_load): Fix bug
4177         in MRU list code.
4178
4179         * pango/pango-layout.c (pango_layout_check_lines): Fix infinite
4180         loop in the case where the first item doesn't fit, but
4181         whitespace follows that must go onto the same line.
4182
4183         * examples/viewer-qt.h: Minor changes so it compiles with
4184         Qt-2.0. (Though the utf8 codec in Qt-2.0 seems to be slightly
4185         buggy.)
4186         
4187 Sun May 28 16:24:43 2000  Owen Taylor  <otaylor@redhat.com>
4188
4189         * examples/Makefile.am examples/viewer-qt.cc 
4190           examples/viewer-qt.h: Since we require GLib-1.3,
4191         and thus can no longer build the examples against
4192         GTK+-1.2, and since there is a nasty circular dependency
4193         if we build examples against GTK+-1.3, rewrite
4194         (optional) example program in Qt. (I wasn't going
4195         to do it in Xaw or straight Xlib...)
4196         
4197         * configure.in: Added checks for Qt.
4198
4199         * pango/pango-layout.h: Fix constness.
4200
4201 Sat May 27 22:05:53 2000  Owen Taylor  <otaylor@redhat.com>
4202
4203         * pango/Makefile.am (pangoinclude_HEADERS): Install
4204         pango-fontmap.h.
4205
4206         * pango/pangox-fontcache.c pango/pangox.h: Add a simple
4207         cache from XLFD => font struct.
4208
4209         * pango/pango-fontmap.c: Use this when loading and unloading
4210         fonts.
4211
4212 Sat May 27 21:57:03 2000  Owen Taylor  <otaylor@redhat.com>
4213
4214         * pango/pango-context.c (pango_context_add_font_map): 
4215         Ref font map.
4216
4217 Sat May 27 21:06:13 2000  Owen Taylor  <otaylor@redhat.com>
4218
4219         * modules/thai/thai.c modules/basic/basic: 
4220         s/pango_font_set_data/g_object_set_qdata/
4221
4222         * pango/*.c: s/pango_font_[un]ref/g_object_un[ref]
4223
4224         * pango/pango-font.h fonts.c: GObject'ify PangoFont.
4225
4226 Sat May 27 20:36:56 2000  Owen Taylor  <otaylor@redhat.com>
4227
4228         * pango/Makefile.am configure.in: Add libgobject.
4229
4230         * pango/pango-fontmap.[ch]: GObject'ify PangoFontMap. 
4231         (Pango now requires GLib-1.3 to compile)
4232         
4233         * pango/pangox-fontmap.c pango/pangox-private.h: Break
4234         the fontmap code in libpangox out into a separate file.
4235
4236 Tue May 23 10:32:25 2000  Owen Taylor  <otaylor@redhat.com>
4237
4238         * pango/pango-layout.c (pango_layout_set_text): Allow -1 for
4239         the length.
4240
4241 2000-05-24  Matt Wilson  <msw@redhat.com>
4242
4243         * modules/basic/basic.c (conv_8bit): use size_t for arguments to
4244         iconv, not int.  Fixes 64 bit platforms.
4245
4246         * modules/basic/basic.c (conv_euc): likewise
4247
4248 Mon May 22 18:19:32 2000  Owen Taylor  <otaylor@redhat.com>
4249
4250         * pango/pango-layout.c (process_item): Fix <, <= confusion.
4251
4252 Thu May 18 17:30:00 2000  Robert Brady  <rwb197@zepler.org>
4253
4254         * fonts/devnag18.bdf: Fix advance widths of some glyphs.
4255
4256 Tue May  9 22:09:42 2000  Owen Taylor  <otaylor@redhat.com>
4257
4258         * pango/pango-types.h (PANGO_SCALE): Change PANGO_SCALE
4259         from 1000 to 1024. Wee! Optimization! Actual performance
4260         increase is ~1-2% probably not worth keeping it 1024,
4261         but I'll leave it this way for a little bit. 
4262
4263         * pango/pango-layout.c (pango_layout_unref): Free the 
4264         actual layout structure as well.
4265
4266         * pango/pangox.c: Various optimizations of the code for
4267         looking up characters. (mark a few functions inline,
4268         precompute signficiant quantities)
4269
4270 Tue May  9 03:22:11 2000  Owen Taylor  <otaylor@redhat.com>
4271
4272         * pango/pango-layout.c (pango_layout_check_lines): Fix
4273         memory leak by freeing correct list.
4274
4275         * pango/pango-context.c (pango_context_get_font_description): 
4276         Change to return a pointer to the context's font description
4277         instead of a copy. Not quite 100% kosher but a lot 
4278         more efficient than the previous. (Should we just refcount
4279         font descriptions and get it over with?)
4280
4281 Mon May  8 16:39:48 2000  Owen Taylor  <otaylor@redhat.com>
4282
4283         * pango/pango-layout.c (free_run): Call pango_item_free
4284         to free items properly including attributes.
4285
4286 Mon May  8 16:19:22 2000  Owen Taylor  <otaylor@redhat.com>
4287
4288         * modules/thai/* modules/Makefile.am configure.in:
4289         Add a simple Thai shaper. (Reasonably complete but
4290         intended mostly for an example for the shape docs
4291         right now.)
4292
4293         * pango/pangox.h (PANGO_X_GLYPH_INDEX): Protect
4294         arguments to macros.
4295
4296 Sun May  7 06:15:34 2000  Owen Taylor  <otaylor@redhat.com>
4297
4298         * modules/basic/basic.c (basic_engine_shape): When
4299         handling overstrikes, try to guess a bit better
4300         how overstrike glyphs are positioned in the font.
4301         (Now works with more of glyphs from clearlyu, though
4302         not the Hebrew accents in that font)
4303
4304         * examples/HELLO.utf8: Insert tab characters to 
4305         keep the columns in the right order for either
4306         global direction. Insert left-to-right marks in
4307         a few places to keep leading and trailing punctuation
4308         in the right place.
4309
4310         * modules/basic/basic.c (basic_engine_shape): Don't
4311         show RLM and LRM
4312
4313         * pango/glyphstring.c (pango_glyph_string_extents): Use
4314         the logical width set in the glyph string rather than 
4315         that from the font's metrics.
4316
4317         * pango/pangox.c (pango_x_render): Treat glyph index
4318         0 as special - representing invisible, 0 size
4319         character. We need this sometimes, and it is
4320         easier and faster to have this special case
4321         than to shape a space.
4322
4323         * pango/pango-context.c (pango_itemize): Put
4324         tabs into separate items. (Sort of lame hack,
4325         we do this to make line breaking with tab
4326         handling simpler)
4327
4328         * examples/viewer.c (checkbutton_toggled): Notify
4329         all the layouts that the context has changed so 
4330         the RTL base dir change actually takes effect.
4331
4332 Fri May  5 18:56:45 2000  Owen Taylor  <otaylor@redhat.com>
4333
4334         * pango/break.c (pango_break): Add ZWS to hacky 
4335         break algorithm.
4336
4337         * modules/basic/basic.c (basic_engine_shape): Special
4338         case zero-width-space as a temporary hack. (What's the
4339         right solution?)
4340
4341         * modules/basic/tables-big.i: Added support for TIS-620
4342         encoding.
4343
4344         * configure.in pango/modules.[ch] pango/Makefile.am
4345         modules/**: First stab at support for linking modules
4346         directly into Pango. Add a --with-included-modules=
4347         flag that causes the specified modules to be built
4348         as convenience libraries and linked directly into
4349         libpangox. 
4350
4351 Tue May  2 22:59:52 2000  Owen Taylor  <otaylor@redhat.com>
4352
4353         * modules/basic/basic.c: Get rid of link list of masks
4354         in cache structure in favor of an array. (This is
4355         easy to do now since we already have linear indices
4356         for the masks from the new table format.)
4357
4358         * pango/modules.c pango/pango-context.c pango/pangox.c:
4359         Modify _pango_find_map() to take quarks for the
4360         engine type and render type instead of strings. 
4361         Get rid of the map hash table in favor of a GList
4362         with the most recently used map at the beginning.
4363
4364         * pango/modules.[ch] pango/pango-context.c pango/pangox.c:
4365         Add some utility functions for getting the engine 
4366         for a particular character in a map. Using modules.c
4367         knowledge of map structure, this allows us to save
4368         a bunch of useless strcmps.
4369
4370         * pango/pango-context.c (add_engines): Remove unused
4371         lookup of shape mask.
4372
4373         * modules/basic/tables-{small,big}.i modules/basic/basic.c
4374         tools/compress-table.pl: Reencode mask table to avoid binary
4375         searches and save a bit of space.
4376
4377         * modules/basic/basic.c (find_converter): Get rid
4378         of gratuitous use of hash tables for looking up
4379         iconv converters.
4380
4381         * modules/basic/tables-{small,big}.i modules/basic/basic.c:
4382         Use conv_ucs4 instead of conv_8bit for latin-1.
4383
4384         * pango/pango-layout.c: Avoid calling pango_glyph_string_extents() - 
4385         just add up the widths from shaping.
4386
4387 Tue May  2 19:16:17 PDT 2000 Manish Singh <yosh@gimp.org>
4388
4389         * examples/Makefile.am: typo fix
4390
4391 Mon May  1 15:04:02 PDT 2000 Manish Singh <yosh@gimp.org>
4392
4393         * configure.in: add support for fribidi-config (needs fribidi v0.1.10
4394         or higher). Also actually use the FOO_CONFIG variable filled by
4395         AC_PATH_PROG for --cflags and --libs.
4396
4397         * examples/Makefile.am
4398         * pango/Makefile.am: use $(FRIBIDI_LIBS)
4399
4400 Mon May  1 11:58:55 2000  Owen Taylor  <otaylor@redhat.com>
4401
4402         * modules/arabic/*: Misc bug fixes from Karl Koehler.
4403
4404 Wed Apr 26 19:55:40 2000  Owen Taylor  <otaylor@redhat.com>
4405
4406         * configure.in: Add checks looking for iconv in libiconv.
4407         (Thanks to Ross Campbell for helping me test this
4408         out.)
4409
4410 Mon Apr 24 22:51:06 2000  Owen Taylor  <otaylor@redhat.com>
4411
4412         * configure.in: Released 0.10
4413
4414         * modules/arabic/*: Update from Karl Koehler, including
4415         support for LangBox fonts
4416
4417 Mon Apr 24 20:28:31 2000  Owen Taylor  <otaylor@redhat.com>
4418
4419         * docs/**: Updates for recent API changes.
4420
4421 Mon Apr 24 18:09:29 2000  Owen Taylor  <otaylor@redhat.com>
4422
4423         * pango/pango-layout.c (pango_layout_line_get_empty_extents): Come
4424         up with a reasonable guess for metrics for empty lines based
4425         on the font metrics.
4426
4427         * modules/devanagari/devanagari.c (devanagari_engine_shape): A couple
4428         of trivial fixups to make things compile.
4429
4430 Sun Apr 23 23:33:10 2000  Owen Taylor  <otaylor@redhat.com>
4431
4432         * pango/pango-layout.c (pango_layout_move_cursor_visually): New
4433         function for visual (left-right, not forward-back) cursor
4434         navigation within a layout.
4435
4436 Thu Apr 20 22:16:39 2000  Owen Taylor  <otaylor@redhat.com>
4437
4438         * pango/pango-layout.c (pango_layout_line_x_to_index): As a hack,
4439         for x-positions at the edge of a line, fudge the position to be
4440         one before the line end (which is, for programs that don't properly
4441         handle the trailing flag), instead of at the end of the line.
4442         This works fine for whitespace-broken languages, but won't work
4443         right for languages that don't use whitespace to break lines.
4444         (GtkText* needs to keep track of whether a cursor is trailing
4445         or not)
4446
4447         * pango/pango-layout.c (pango_layout_check_lines): Prohibit breaking
4448         a line at a non-whitespace -> space transition. (So that we
4449         never put wrap single character of whitespace at the beginning of
4450         a line)
4451
4452         * pango/break.c (pango_break): Always allow a break before
4453         the first char.
4454
4455         * pango/pango-layout.c (pango_layout_line_x_to_index): Remove the return
4456         value from the function, make it return the appropriate index
4457         depending on the base direction of the layoutt.
4458
4459 Fri Apr  7 03:08:09 2000  Owen Taylor  <otaylor@redhat.com>
4460
4461         * configure.in (UNICODE_LIBS): Add back in flockfile
4462         check which was accidentally removed.
4463
4464 2000-04-21  Robert Brady  <rwb197@zepler.org>
4465
4466         * modules/devanagari/dev-ligatures.h: Add some more ligature
4467         mappings.
4468         
4469         * modules/devanagari.c: New version, now syllable-based, with
4470         proper RA handling.
4471
4472 Mon Apr 17 12:04:20 2000  Owen Taylor  <otaylor@redhat.com>
4473
4474         * pango/pango-layout.[ch]: Add a function pango_layout_line_get_x_ranges(),
4475         to allow handling selections not as attributes. Which is necessary,
4476         since currently setting the background/foreground results in
4477         splitting shaped runs.
4478
4479 Fri Apr 14 13:20:05 2000  Owen Taylor  <otaylor@redhat.com>
4480
4481         * pango/pango-layout.c (pango_layout_check_lines): Fix bug with
4482         indent handling.
4483
4484         * pango/pango-layout.c (process_item): Never break a line at
4485         a non-break position, even if that position ends an item.
4486
4487 Fri Apr 14 10:43:09 2000  Owen Taylor  <otaylor@redhat.com>
4488
4489         * pango/pangox.c (pango_x_render_layout_line): Fix a missing
4490         PANGO_SCALE factor for UNDERLINE_SINGLE.
4491
4492         * pango/pango-layout.c (pango_layout_get_cursor_pos): New function
4493         to determine cursor positions corresponding to a particular
4494         index.
4495
4496 Wed Apr 12 15:44:22 2000  Owen Taylor  <otaylor@redhat.com>
4497
4498         * pango/pango-attributes.[ch]: Add PANGO_ATTR_FONT_DESC, which
4499         allows an entire font description to be specified as a single
4500         attribute, instead of as 6 separate attributes.
4501
4502 Wed Apr 12 13:59:22 2000  Owen Taylor  <otaylor@redhat.com>
4503
4504         * configure.in modules/Makefile.am modules/devanagari/*: Added Devanagari
4505         shaper from Robert Brady <rwb197@zepler.org>
4506
4507         * examples/HELLO.utf8: Added Hindi from Emacs 
4508
4509         * examples/dev-example.utf: Some syllable strings for testing
4510         the Devanagari shaper.
4511         
4512         * examples/pangox_aliases: Added 
4513           -*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev
4514
4515         * fonts/devnag18.bdf fonts/devnag.README: Devanagari font
4516         from http://crl.NMSU.Edu/~mleisher/devnag.html currently
4517         required for operation of the devanagari shaper.
4518         
4519 Tue Apr  4 22:03:42 2000  Owen Taylor  <otaylor@redhat.com>
4520
4521         * configure.in: Released 0.9
4522
4523         * modules/arabic/arabic.c (find_unic_font): Keep on
4524         searching past the first iso-10646 font if the first
4525         font doesn't have the required ligatures.
4526
4527 Tue Apr  4 20:56:29 2000  Owen Taylor  <otaylor@redhat.com>
4528
4529         * docs/tmpl/* docs/Makefile.am docs/pango-sections.txt
4530           pango/pango-attributes.c pango/pangox.c: Doc updates.
4531
4532 Tue Apr  4 20:13:06 2000  Owen Taylor  <otaylor@redhat.com>
4533
4534         * pango/pango-context.h: Add user data to PangoContext
4535
4536         * pango/pangox.[ch] examples/viewer.c: Rework system for create GC's 
4537         so that the necessary information is stored on the PangoContext
4538         instead of being passed to layout_render()
4539
4540         * pango/utils.[ch] pango/pango-context.c: fribidi-0.1.9
4541         wants UCS-4 not UCS2; switch accordingly.
4542
4543         * pango/fonts.c pango/pango-font.h pango/pangox.c: Add functions
4544         to get overall font metrics, possibly per-language. (Right now,
4545         just font ascent, descent.) The implementation of this for
4546         X is horribly complex.
4547         
4548 Mon Apr  3 20:30:20 2000  Owen Taylor  <otaylor@redhat.com>
4549
4550         * pango/mapping.c (pango_glyph_string_x_to_index): Fix handling
4551         of positions at character limits.
4552
4553         * modules/basic/basic.c (basic_engine_shape): Fix bug that
4554         was causing mirrored characters not to mirror.
4555
4556 Mon Apr  3 15:16:06 2000  Owen Taylor  <otaylor@redhat.com>
4557
4558         * pango/glyphstring.c (pango_glyph_string_get_logical_widths):
4559         Fix off-by-one error for RTL runs.
4560
4561         * configure.in: Add -lglib to AC_CHECK_LIB(fribidi...)
4562         (How did this work?) From Matt Wilson.
4563
4564         * pango/pango-layout.c (pango_layout_check_lines): Correctly deal
4565         with handling character offsets when breaking lines.
4566
4567         * modules/arabic/arabic.c (arabic_engine_shape): Fix problem with 
4568         setting unknown glyph when no arabic-capable font found.
4569
4570 Fri Mar 31 11:29:47 2000  Owen Taylor  <otaylor@redhat.com>
4571
4572         * pango/pangox.[ch] (pango_x_render_layout[_line]) examples/viewer.c: Add
4573         capability to render foreground / background colors. The interfaces
4574         here are possibly certainly not right, or convenient, but
4575         they should be a start.
4576
4577 Thu Mar 30 17:06:39 2000  Owen Taylor  <otaylor@redhat.com>
4578
4579         * modules/arabic/*.[ch]: New version of Arabic module
4580         from Karl Koehler, supporting:
4581
4582         - More extensive ligatures
4583         - Some Hamza handling
4584         - Vowel marks
4585         - mule-arabic font
4586         - LangBox font
4587         - Persian (farsi) (needs testing)
4588
4589 Thu Mar 30 16:49:06 2000  Owen Taylor  <otaylor@redhat.com>
4590
4591         * modules/basic/basic.c pango/utils.c (find_converter): Use
4592         "UTF-8" with the dash as the charset name for utf-8. 
4593         (Change suggested by Adrian Havill <havill@turbolinux.co.jp>)
4594
4595         * pango/pango-layout.[ch]: Add function to get logical attributes
4596         of the text string.
4597
4598 Mon Mar 13 11:47:53 2000  Owen Taylor  <otaylor@redhat.com>
4599
4600         * pango/pango-layout.c pango/pangox.c (pango_x_render_layout): Handle right 
4601         alignment for width == -1, align within total width of layout.
4602
4603 Mon Mar 13 10:54:48 2000  Owen Taylor  <otaylor@redhat.com>
4604
4605         * pango/pango-item.[ch]: Memory management functions for PangoItem.
4606
4607         * pango/*.[ch]: Random constification.
4608         
4609         * pango/pangox.c pango/pango-layout.c pango/pango-context.c:
4610         Add an extra_attrs field to PangoItem. Use this to handle underlining
4611         for PangoLayout.
4612
4613         * examples/viewer.c (reload_font): Make paragraphs global
4614         to save the complexity of passing it around all over the place.
4615
4616         * pango/pango-layout.[ch] (pango_layout_context_changed): Add
4617         a function to reset the layout on changes to the layout's
4618         context.
4619
4620         * pango/pangox.c (pango_x_make_matching_xlfd): Prefer bitmap
4621         to scaleable if the discrepancy is < 1 pixel. (Probably not
4622         the ideal criterion.)
4623
4624         * pango/pangox.c (pango_x_font_map_for_display): Fix resolution
4625         computation error.
4626
4627         * pango/pango-layout.c (pango_layout_check_lines): Handle
4628         text with embedded newlines.
4629
4630         * pango/pangox.c (pango_x_render_layout): Fix y to refer
4631         to the top of the layout, not the baseline of the first
4632         line.
4633
4634         * pango/pango-layout.c (process_item): Don't wrap if width is
4635         set to -1.
4636
4637         * Makefile.am configure.in **/*.[ch]: move libpango/ directory
4638         and fix all headers to install under include/pango/
4639
4640 Thu Mar  9 19:55:21 2000  Owen Taylor  <otaylor@redhat.com>
4641
4642         * Release pango-0.8
4643
4644         * docs/TEXT/coding-style: Added some notes about coding style
4645         within Pango.
4646
4647         * modules/*.[ch]: New version from Karl Koehler adding support
4648         for vowels marks, better ligatures.
4649         
4650         * docs/tmpl/*: Doc updates
4651
4652         * libpango/pango-layout.[ch] libpango/pangox/.[ch]: Add functions
4653         for handling paragraphs as 2-D objects, not simple lists of lines,
4654         to make things easier for people using pango-layout.
4655          
4656         * examples/viewer.c: Simplify using the now 2-D layout-capabable
4657         PangoLayout.
4658         
4659         * libpango/fonts.c (pango_font_{get_coverage,find_shaper}): Allow
4660         NULL language tag.
4661
4662         * libpango/modules.c (_pango_find_map): Fix for allowing
4663         NULL language tag.
4664
4665 Wed Mar  8 13:34:57 2000  Owen Taylor  <otaylor@redhat.com>
4666
4667         * libpango/pango-layout.[ch]: First draft of highlevel
4668         driver. It currently only handles a paragraph as a list
4669         of lines, but it is probably necessary to make it handle
4670         2D layout for a paragraph as well
4671
4672         * examples/viewer.c: Move over to new layout driver
4673         (much of the code moved into pango-layout.c)
4674
4675         * libpango/glyphs.c libpango/pango-glyphs.h: Fixes to get_extents(),
4676         add pango_glyph_string_get_logical_widths.
4677
4678         * libpango/pango-itemize.c: Handle 0-length text properly.
4679
4680         * libpango/pangox.c: When loading particular sized fonts,
4681         use the original XLFD, since XFree86 doesn't handle wildcards
4682         in aliases properly.
4683
4684         * libpango/pangox.[ch] (pango_x_render_layout_line): Add function
4685         to render an entire PangoLayoutLine.
4686
4687         * libpango/reorder-items.c: Add a note to the effect
4688         that pango_reorder_items() is basically replaced by a
4689         similar function in PangoLayout.
4690
4691 Wed Mar  8 10:58:56 2000  Owen Taylor  <otaylor@redhat.com>
4692
4693         * modules/arabic/arconv.c (shapecount): Fix from Karl
4694         Koehler to joining behavior.
4695
4696         * modules/Makefile.am modules/arabic/*: Added arabic
4697         shaper from Karl Koehler <koehler@or.uni-bonn.de>
4698
4699         * modules/basic/tables-{small,big}.i: Remove arabic
4700         from the ranges that the basic shaper marks as "exact".
4701
4702         * examples/HELLO.utf8: Partially alphabetize, add arabic.
4703
4704 Mon Mar  6 21:03:28 2000  Owen Taylor  <otaylor@redhat.com>
4705
4706         * libpango/pango-layout.[ch]: Started work on highlevel layout driver.
4707
4708 Mon Mar  6 20:55:32 2000  Owen Taylor  <otaylor@redhat.com>
4709
4710         * libpango/mapping.c example/viewer.c: 
4711         * modules/hangul/hangul.c modules/basic/basic.c modules/tamil/tamil.c:
4712         
4713         Convert log_clusters[] use from char offsets to byte offset - should
4714         make it easier to have all interface deal with stuff in byte offsets.
4715
4716         * libpango/mapping.c libpango/pango-glyph.h: Rename x_to_cp and cp_to_x
4717         to make them "member functions" of glyph_string.
4718         
4719         * libpango/pango-types.h: Add a rectangle type for use in storing
4720         glyph/glyph-string extents, plus macros for extracting ascent/descent.
4721         
4722         * libpango/fonts.c libpango/pango-font.h libpango/pangox.c: Virtualize
4723         glyph extents function into the font.
4724
4725         * libpango/pangox.c modules/*/*.c examples/viewer.c: Convert over to
4726         new rationalized unit system - everything in 1000ths of a point
4727         or 1000ths of a glyph unit.
4728
4729         * libpango/pango-glyph.h libpango/glyphstring.c: Add function to get
4730         extents of a glyph string. (We may want to fastpath the width in
4731         the future, since getting the width seems to be a very common 
4732         and time-critical operation)
4733
4734 Mon Feb 28 19:46:35 2000  Owen Taylor  <otaylor@redhat.com>
4735
4736         * libpango/fonts.c libpango/pango-fonts.h: Add functions
4737         to convert font descriptions to and from human-readable
4738         strings.
4739
4740         * examples/viewer.c: Use functions from libpango instead
4741         of rolling our own font-description conversion functions.
4742
4743 Fri Feb 25 15:04:21 2000  Owen Taylor  <otaylor@redhat.com>
4744
4745         * libpango/{fonts.c,pango-font.h,pango-context.[ch],pangox.c,
4746         pango-attributes.c,examples/viewer.c: Add size to the 
4747         font description structure instead of continually passing
4748         it around as an extra argument.
4749
4750         * libpango/pangox.c: Take screen resolution into account when
4751         choosing fonts, instead of assumming point == pixel.
4752
4753 Fri Feb 25 12:32:01 2000  Owen Taylor  <otaylor@redhat.com>
4754
4755         * configure.in examples/Makefile.am: If GTK+ test fails,
4756         just skip the example program.
4757
4758         * pango-config.in pango.spec.in: Add a simple pango-config
4759         script to the build. (pango-config --libs pangox really
4760         should add the X libraries, but we'll omit that for the
4761         moment.)
4762
4763 Sat Feb 19 18:51:35 2000  Owen Taylor  <otaylor@redhat.com>
4764
4765         * libpango/pangox.c (pango_x_make_matching_xlfd): Fix problem
4766           where charsets specified in alias files where being ignored
4767           and treated as wildcards.
4768
4769 Sat Feb 19 17:46:49 2000  Owen Taylor  <otaylor@redhat.com>
4770
4771         * README: Fix Dov's name.
4772
4773 Wed Feb 16 19:55:05 2000  Owen Taylor  <otaylor@redhat.com>
4774
4775         * configure.in: Release 0.7
4776
4777         * examples/Makefile.am (aliasdir): Install example
4778           pangox_aliases file.
4779
4780         * examples/Makefile.am (bin_PROGRAMS): Install 
4781           pango-viewer.
4782
4783         * docs/tmpl/*: Updated templates.
4784
4785 Wed Feb 16 16:39:46 2000  Owen Taylor  <otaylor@redhat.com>
4786
4787         * libpango/pango-coverage.c (pango_coverage_get): Make refcounted.
4788
4789         * libpango/modules.c (struct _PangoEnginePair): Since we don't
4790           currently unload engines, cache loaded engines. (Not really
4791           quite satisfactory, but should work OK)
4792
4793         * libpango/pango-context.c (pango_context_get_font_description):
4794           Added a global font description.
4795
4796         * libpango/modules.c (_pango_find_map): Allow NULL
4797           language tags.
4798
4799         * libpango/pango-context.c (pango_itemize) examples/viewer.c:
4800           Switch itemize over to take a PangoAttrList.
4801
4802         * examples/viewer.c: Conform to changes in itemization interface
4803
4804         * libpango/font.[ch]: Add a compare function for FontDescription
4805
4806         * libpango/pango-attributes.[ch]: Change the iteration iterface
4807           to be more convenient.
4808
4809         * libpango/pango-context.[ch]: Add the ability to set a default font.
4810
4811         * libpango/pango-context.[ch]: Take the font for itemization from
4812           the attributes on the text.
4813
4814         * libpango/pangox.c: Cache currently loaded fonts, and cache
4815           coverages.
4816
4817 Tue Feb 15 02:35:56 2000  Owen Taylor  <otaylor@redhat.com>
4818
4819         * docs/**: Add documentation for attributes.
4820
4821         * Makefile.am libpango/pango-attributes.[ch]: Finish initial 
4822           implementation of attributes APIs.
4823
4824 Mon Feb 14 22:04:38 2000  Owen Taylor  <otaylor@redhat.com>
4825
4826         * libpango/pango-attributes.[ch]: Start of attribute lists. 
4827
4828 Fri Feb 11 16:04:50 2000  Owen Taylor  <otaylor@redhat.com>
4829
4830         * libpango/Makefile.am: make dist fixups.
4831         
4832         * Makefile.am pango.spec.in: Add a spec file
4833         
4834         * examples/HELLO.utf8: Change Maltese to a different
4835           phrase to include some unique Maltese characters.
4836           (Suggestion from Steven R. Loomis)
4837
4838         * libpango/Makefile.am modules/Makefile.am libpango/modules.c:
4839           Move pango.modules file to /var
4840
4841 Thu Feb 10 23:45:49 2000  Owen Taylor  <otaylor@redhat.com>
4842
4843         * docs/**: Added recent API changes.
4844         * libpango/pango-context.c: Doc comment fixes
4845
4846         * configure.in: Add in directories from unicode-config
4847         when running AC_CHECK_LIB on libunicode.
4848
4849 Thu Feb 10 23:45:27 2000  Owen Taylor  <otaylor@redhat.com>
4850
4851         * configure.in: Up version to match 0.6 release that
4852         was made yesterday.
4853
4854         * examples/viewer.c (main): Look for fixed if sans
4855         isn't found as an initial font.
4856
4857         * modules/Makefile.am: Add an install rule to
4858         run pango-querymodules.
4859
4860         * modules/*/Makefile.am (module_LTLIBRARIES): Set up
4861         appropriate install rules.
4862
4863         * libpango/Makefile.am: Break the X code out into a
4864         separate library.
4865
4866 Thu Feb 10 20:19:39 2000  Owen Taylor  <otaylor@redhat.com>
4867
4868         * examples/viewer.c: Fix some runtime and compile-time warnings.
4869
4870         * modules/hangul/hangul.c (hangul_engine_shape): Shape the
4871           string with the unknown glyph rather than giving a warning
4872           when the font doesn't have any of the necesary charsets.
4873
4874 Thu Feb 10 19:57:27 2000  Owen Taylor  <otaylor@redhat.com>
4875
4876         * examples/viewer.c: Add style selector, rewrite family
4877           selector to use list_families().
4878
4879         * libpango/pango-context.[ch] libpango/pango-font.h libpango/pangox.c
4880           libpango/fonts.c: Add calls to list families, modify list_fonts()
4881           call to take an optional "family" parameter for the purpose of
4882           listing the fonts within a family. 
4883
4884 Wed Feb  9 14:04:35 2000  Owen Taylor  <otaylor@redhat.com>
4885
4886         * TODO: updates.
4887
4888         * docs/*: Added some docs on font handling, both general
4889         and for X.
4890
4891 Tue Feb  8 15:05:17 2000  Owen Taylor  <otaylor@redhat.com>
4892
4893         * libpango/pangox.c: Moved the primary size and charset matching
4894         inside of Pango instead of on the font server. This allows us
4895         to do better matching, and only scale scaleable fonts, and not
4896         scale bitmaps. Also, match size and charset simultaneously,
4897         so that we can handle the cases where all sizes are not available
4898         in all charsets better.
4899
4900 Mon Feb  7 20:27:35 2000  Owen Taylor  <otaylor@redhat.com>
4901
4902         * libpango/pangox.c (pango_x_names_for_size): Start at reworking
4903         code to do size and charset lookups simultaneously. twill compile
4904         once I get home.
4905
4906 Mon Feb  7 16:49:32 2000  Owen Taylor  <otaylor@redhat.com>
4907
4908         * examples/viewer.c (make_families_menu): Switch the option
4909         menu for a combo box.
4910
4911         * examples/pangox_aliases: Add a demo alias file.
4912
4913         * libpango/pangox.c: Add a font-alias mechanism allowing.
4914
4915         * examples/viewer.c (make_font_selector): Added a spin-button for
4916         size.
4917
4918 Wed Feb  2 20:49:21 2000  Owen Taylor  <otaylor@redhat.com>
4919
4920         * libpango/pangox.c (pango_x_get_unknown_glyph): Add a call to get
4921         a glyph for unknown an unknown char.
4922
4923         * modules/basic/basic.c: use pango_x_get_unknown_glyph.
4924
4925         * libpango/utils.[ch] (_pango_guchar4_to_utf8): Added util function
4926         for coverting wide chars to utf8.
4927
4928         * libpango/pangox.c (pango_x_font_get_coverage pango_x_font_get_shaper):
4929         Initial implementations.
4930
4931 Wed Feb  2 11:12:12 2000  Owen Taylor  <otaylor@redhat.com>
4932
4933         * libpango/pango-types.h: Conditionally define G_N_ELEMENTS() when
4934         using glib-1.3.
4935         
4936         * modules/basic/basic.c modules/hangul/hangul.c modules/tamil/tamil.c:
4937         Replace MEMBERS() with G_N_ELEMENTS().
4938
4939         * libpango/pango-engine.h: Added a get_coverage() function
4940         to the PangoEngineShape vtable.
4941          
4942         * modules/basic/basic.c modules/hangul/hangul.c modules/tamil/tamil.c:
4943         Added get_coverage() functions. The basic.c one is incredibly 
4944         inefficient (but caching may make that matter that much).
4945         The Hangul one needs checking.
4946
4947 Wed Feb  2 00:07:13 2000  Owen Taylor  <otaylor@redhat.com>
4948
4949         * libpango/pango-*.h: The great header file reorganization.
4950         Split up roughtly by objects.
4951
4952         * libpango/pango-font.h libpango/fonts.h: Add generic
4953         font-loading and listing interfaces.
4954
4955         * libpango/pangox.c: Implement font-listing/loading interfaces
4956         for X.
4957
4958         * libpango/pango-context.[ch]: Flesh out context structure.
4959         Add appropriate accesors, font loading-methods, etc.
4960
4961         * libpango/pango-coverage.[ch]: Coverage map objects.
4962
4963         * examples/viewer.c: First stab at adding font-selection. Majorly
4964         deficient for the moment until we add font lists and fallbacks
4965         based on coverage maps.
4966
4967 Thu Jan 27 16:50:51 2000  Owen Taylor  <otaylor@redhat.com>
4968
4969         * docs/**: Updates to match recent API changes.
4970
4971 Mon Jan 17 22:03:24 2000  Owen Taylor  <otaylor@redhat.com>
4972
4973         * modules/hangul/hangul.c modules/tamil/tamil.c:
4974           Updated to use new X font mechanism.
4975
4976         * libpango/pangox.[ch]: Misc bugfixes, no longer segfaults.
4977
4978 Mon Jan 17 18:29:39 2000  Owen Taylor  <otaylor@redhat.com>
4979
4980         * libpango/pangox.[ch] modules/basic/basic.c: back away from
4981           the strict charset model to having subfonts arbitrarily indexed. The
4982           charset-index model didn't allow proper fallbacks.
4983
4984           Add a function pango_x_list_subfonts() function that lists
4985           subfonts in the proper order for a given list of charsets.
4986
4987           (segfaults currently, will fix pronto)
4988
4989 Sat Jan 15 03:17:35 2000  Owen Taylor  <otaylor@redhat.com>
4990
4991         * pango/glyphstring.c pango/mapping.c pango/pangox.c
4992           modules/basic.c examples/viewer.c:
4993
4994           Switch GlyphStrings to have a single array of
4995           PangoGlyphInfo instead of multiple arrays. Rename
4996           PangoGlyphIndex to PangoGlyph.
4997
4998 Sat Jan 15 01:06:45 2000  Owen Taylor  <otaylor@redhat.com>
4999
5000         * libpango/pangox.c libpango/pangox.h libpango/fonts.c
5001           libpango/glyphstring.c modules/basic/basic.c:
5002
5003           Eliminate PangoCFont; For X, encode charset into upper
5004           16 bits of 32 bit glyph IDs. Revise X core <=> module
5005           interfaces to support this change.
5006
5007           Remove support for X_XLFD_FONT_RANGES, which has been
5008           disavowed by its proponents, in favor of checking metrics
5009           to figure out if the relevant characters are there.
5010
5011           Rework operation of basic module to be faster and simple.
5012
5013         * modules/Makefile.am: temporarily comment out Tamil and
5014           Hangul modules until I finish mucking with the
5015           X font interfaces.
5016
5017 Fri Jan 14 12:08:43 2000  Owen Taylor  <otaylor@redhat.com>
5018
5019         * examples/HELLO.utf8: Add Pango properly spelled.
5020
5021         * **/Makefile.am: make dist fixes.
5022
5023 Thu Jan 13 17:49:45 2000  Owen Taylor  <otaylor@redhat.com>
5024
5025         * TODO: Updated.
5026
5027 Thu Jan 13 16:57:22 2000  Owen Taylor  <otaylor@redhat.com>
5028
5029         * examples/viewer.c: reindented.
5030         * README: updated
5031
5032 Wed Jan 12 16:49:03 2000  Owen Taylor  <otaylor@redhat.com>
5033
5034         * Huge rename from GScript to Pango.
5035
5036         * modules/tamil/* examples/muru.utf fonts/tscakaram.pcf:
5037
5038         Tamil module from Sivaraj Doddannan <sivaraj@intelligroup.com> 
5039
5040 Mon Aug  2 18:32:59 1999  Owen Taylor  <otaylor@redhat.com>
5041
5042         * configure.in: Check for libunicode.
5043
5044         * examples/viewer.c libgscript/break.c
5045           libgscript/itemize.c modules/basic/basic.c:
5046
5047           Use libunicode functions for conversion.
5048
5049         * modules/basic/basic.c: Add support for
5050           simple accent composition; fix bidi
5051           swapping to correctly swap clusters
5052           as a unit.
5053
5054 1999-07-26    <otaylor@localhost.localdomain>
5055
5056         * libgscript/mapping.c (g_script_cp_to_x): Fix
5057         buggy algorithm.
5058
5059 1999-07-31  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>
5060
5061         * modules/hangul/Makefile.am (EXTRA_DIST): Added tables-*.i
5062         files.
5063
5064 1999-07-29  Raja R Harinath  <harinath@cs.umn.edu>
5065
5066         * modules/hangul/Makefile.am (INCLUDES): Use
5067         -I$(top_srcdir)/libgscript.
5068
5069 1999-07-30  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>
5070
5071         * modules/hangul/*, Makefile.am, configure.in: Added the Hangul
5072         shaping module.
5073
5074 Wed Jul 28 14:45:00 1999  Owen Taylor  <otaylor@redhat.com>
5075
5076         * Released version 0.4
5077
5078 Wed Jul 28 14:43:41 1999  Owen Taylor  <otaylor@redhat.com>
5079
5080         * libgscript/reorder-items.c: Return NULL correctly.
5081
5082         * libgscript/mapping.c:
5083            Fixed buggy algorithm for cp to x.
5084            Fixed reversed interpolation for x to cp.
5085            
5086 Wed Jul 28 14:42:40 1999  Owen Taylor  <otaylor@redhat.com>
5087
5088         * libgscript/mapping.c: Fix bugs 
5089
5090 Thu Jul 22 09:36:08 1999  Owen Taylor  <otaylor@redhat.com>
5091
5092         * Released version 0.3
5093
5094 Wed Jul 21 18:46:14 1999  Owen Taylor  <otaylor@redhat.com>
5095
5096         * libgscript/gscriptx.c (g_script_x_extents): Fix
5097         same off-by-one bug here too...
5098
5099 Wed Jul 21 18:44:55 1999  Owen Taylor  <otaylor@redhat.com>
5100
5101         * libgscript/gscriptx.c (g_script_x_glyph_extents): Fix
5102         an off-by-one error in computing indexes into the
5103         per-char information.
5104
5105 Tue Jul 20 20:09:09 1999  Owen Taylor  <otaylor@redhat.com>
5106
5107         * docs/tmpl/engines.sgml: First pass at documenting
5108          engine interfaces.
5109
5110 Tue Jul 20 16:10:48 1999  Owen Taylor  <otaylor@redhat.com>
5111
5112         * **: Documentation improvements.
5113
5114 Tue Jul 20 15:05:45 1999  Owen Taylor  <otaylor@redhat.com>
5115
5116         * modules/basic/{basic.c,tables-{big,small}.i}:
5117          Rewrote basic module to support subset fonts meaningfully.
5118          This meant revising the algorithm used to look
5119          up a font for each character independently.
5120          Which required aggresive caching here and in the
5121          font code to give half-way decent performance.
5122
5123          Added support for ISO-10646-1 fonts.
5124
5125         * libgscript/fonts.c (g_script_font_[get/set]_data): Add the
5126           ability to add user data to a font.
5127
5128         * libgscript/gscriptx.[ch]: Add functions to allow:
5129         - Querying all XLFD's matching a set of character
5130           sets for a font.
5131         - Loading a component font with a particular XLFD.
5132         - Finding the range of present characters for a given XLFD.
5133
5134           Also added tons of caching.
5135
5136 Wed Jul 14 19:11:41 1999  Owen Taylor  <otaylor@redhat.com>
5137
5138         * libgscript/gscriptx.c (g_script_x_glyph_extents):
5139         Fixed min/max confusion.
5140
5141 Mon Jul 12 17:14:53 1999  Owen Taylor  <otaylor@redhat.com>
5142
5143         * docs/TEXT/glossary (CFont): Expanded.
5144
5145         * libgscript/fonts.c (g_script_cfont_unref): Fixed
5146         leak. (Pointed out by Raph)
5147
5148         * libgscript/gscriptx.c: Handle the case where
5149         fontstruct->per_char == NULL.
5150
5151 Sun Jul 11 23:44:42 1999  Owen Taylor  <otaylor@redhat.com>
5152
5153         * Made version 0.2
5154
5155         * **/Makefile.am: Fixes for srcdir != builddir
5156
5157 Sun Jul 11 23:41:19 1999  Owen Taylor  <otaylor@redhat.com>
5158
5159         * docs/tmpl/glyphs.sgml: SGML fix.
5160
5161 Sun Jul 11 22:53:11 1999  Owen Taylor  <otaylor@redhat.com>
5162
5163         * libgscript/mapping.c: Implemented g_script_cp_to_x()
5164         and g_script_x_to_cp().
5165
5166         * examples/viewer.c: Added clicking on a character to
5167         identify it as a test of the above.
5168
5169         * gscript/gscript.h gscript/gglyphstring.c modules/basic/basic.c:
5170         Add another field into the GGlyphString which holds
5171         a mapping from glyphs to logical clusters.
5172
5173         * libgscript/gscript.h (struct _GScriptLangRange):
5174         Make it start-length like everything else, not
5175         start-end.
5176
5177 Sun Jul 11 00:18:56 1999  Owen Taylor  <otaylor@redhat.com>
5178
5179         * docs/tmpl/gscript-x.sgml: Fix sgml error.
5180
5181 Sat Jul 10 23:40:40 1999  Owen Taylor  <otaylor@redhat.com>
5182
5183         * modules/basic/basic.c: Added ability to use
5184         multibyte character sets. (Right now, they have
5185         to be converted by iconv into EUC encoding, but
5186         that can easily be extended).
5187
5188         Added simply CJK support. This really bloats and
5189         slows down the module because the range-based
5190         encoding we use to map characters onto character-sets
5191         wasn't designed for CJK-style charsets. But it's
5192         better than nothing for now.
5193         
5194         * libgscript/reorder-items.c (reorder_items_recurse): Fix
5195         bug with variable initialization.
5196
5197         * examples/viewer.c (draw): Compute line increments.
5198
5199         * libgscript/gscriptx.c (g_script_x_[glyph]_extents): Added
5200         logical_ascent/descent parameters.
5201
5202         * examples/viewer.c: Commented
5203
5204 Sat Jul 10 04:35:10 1999  Owen Taylor  <otaylor@redhat.com>
5205
5206         * configure.in Makefile.am: automake'd and libtoolized.
5207         
5208 Sat Jul 10 00:00:00 1999  Owen Taylor  <otaylor@redhat.com>
5209
5210         * It renders! Start a ChangeLog
5211