1 Thu Mar 7 22:55:13 2002 Owen Taylor <otaylor@redhat.com>
3 ===== Released 1.0.0 =====
5 * NEWS: Final updates for 1.0.0.
7 * README AUTHORS: Update.
9 2002-03-07 jacob berkman <jacob@ximian.com>
11 * autogen.sh: pass --enable-gtk-doc to configure
13 2002-03-08 Tor Lillqvist <tml@iki.fi>
15 * pango-zip.sh.in: Use PANGO_MODULE_VERSION in modules path.
17 * pango/pangoft2.def: Add the pango_ot_* symbols from the static
20 Thu Mar 7 14:42:50 2002 Owen Taylor <otaylor@redhat.com>
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.
27 Thu Mar 7 10:51:16 2002 Owen Taylor <otaylor@redhat.com>
29 * configure.in: Fix some problems with setting
30 library variables for --enable-explicit-deps. (Laszlo Peter,
33 Wed Mar 6 12:44:00 2002 Owen Taylor <otaylor@redhat.com>
37 Wed Mar 6 12:12:21 2002 Owen Taylor <otaylor@redhat.com>
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)
43 2002-03-06 Manish Singh <yosh@gimp.org>
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.
50 Wed Mar 6 11:43:46 2002 Owen Taylor <otaylor@redhat.com>
52 * configure.in: Fix problem where == was used instead if =.
53 (#73694, Martin Gansser)
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)
61 * configure.in: Add a PANGO_MODULE_VERSION variable
62 defining the subdir in which modules are installed.
64 * pango/querymodules.c pango/modules.c modules/*/*.am:
65 Install modules in lib/pango/MODULE_VERSION/modules
67 * pango.pc.in (pango_module_version): Export pango_module_version
68 variable so that 3rd parties can determine where to install
71 Wed Mar 6 11:40:45 2002 Owen Taylor <otaylor@redhat.com>
75 * pango/Makefile.am: Use install-exec-hook not
76 install-exec-local when running sanitize-la.sh.
78 2002-03-06 Tor Lillqvist <tml@iki.fi>
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.
84 * pango/Makefile.am (libpangoft2_1_0_la_LDFLAGS): Use
85 pangoft2_export_symbols, not pangowin32_export_symbols.
88 * pango/pangowin32.rc.in
89 * pango/pangoft2.rc.in
91 * pango-zip.sh.in: : Adapt to new shared library naming scheme,
92 also for Win32 import library names.
94 2002-03-05 Manish Singh <yosh@gimp.org>
96 * configure.in: require GLIB 2.0.0 at minimum
98 2002-03-05 jacob berkman <jacob@ximian.com>
100 * tests/Makefile.am (*boundaries_LDADD): more $(PANGO_API_VERSION)
103 Tue Mar 5 15:41:17 2002 Owen Taylor <otaylor@redhat.com>
105 * modules/*/Makefile.am: Fix pangoxft-$(PANGO_API_VERSION).
106 (Reported by Manish Singh.)
108 Tue Mar 5 11:00:20 2002 Owen Taylor <otaylor@redhat.com>
110 * configure.in **/Makefile.am *.pc.in: Switch over to
111 GLib/GTK+ style library versioning. Update version numbers
114 2002-03-03 jacob berkman <jacob@ximian.com>
116 * Makefile.am (EXTRA_DIST): add sanitize-la.sh
118 Sat Mar 2 21:57:55 2002 Owen Taylor <otaylor@redhat.com>
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
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.
129 * configure.in (USE_LA_MODULES): On aix, load .la files
130 since we can't guess the soname extension.
132 Fri Mar 1 00:46:49 2002 Owen Taylor <otaylor@redhat.com>
134 * configure: Default to --disable-static.
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.
142 * pango/Makefile.am sanitize-la.sh: Shell script used
143 to strip dependencies out of .la files.
145 * configure.in: Default to --disable-gtk-doc.
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.)
151 Fri Mar 1 14:37:47 2002 Owen Taylor <otaylor@redhat.com>
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)
157 Fri Mar 1 14:25:22 2002 Owen Taylor <otaylor@redhat.com>
159 * pango/modules.c: Don't crash on out-of-BMP values.
161 * pango/mini-fribidi/fribidi_get_type.c (_pango_fribidi_get_type):
162 Return FRIBIDI_TYPE_LTR for all non-BMP characters.
164 Fri Mar 1 12:11:50 2002 Owen Taylor <otaylor@redhat.com>
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.)
170 2002-02-28 Sven Neumann <sven@gimp.org>
172 * configure.in: align --help output.
174 2002-02-28 Alex Larsson <alexl@redhat.com>
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.
180 2002-02-28 Sven Neumann <sven@gimp.org>
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.
186 2002-02-28 Sven Neumann <sven@gimp.org>
188 * configure.in: beautified configure --help output.
190 Wed Feb 27 11:10:07 2002 Owen Taylor <otaylor@redhat.com>
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.
197 Wed Feb 27 08:55:32 2002 Owen Taylor <otaylor@redhat.com>
199 * pango/Makefile.am (pango_querymodules_LDADD): Add
200 $(X_EXTRA_LIBS) (reported Richard Warren)
202 Tue Feb 26 19:06:07 2002 Owen Taylor <otaylor@redhat.com>
204 * pango/mini-xft/minixftint.h: Fix some C++ style
205 comments. (David L. Cooper II)
207 Tue Feb 26 16:43:05 2002 Owen Taylor <otaylor@redhat.com>
209 * pango/Makefile.am (pango-enum-types.c): Make
210 pango-enum-types.c depend on pango-enum-types.h
212 Tue Feb 26 15:50:35 2002 Owen Taylor <otaylor@redhat.com>
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)
219 Mon Feb 25 16:36:47 2002 Owen Taylor <otaylor@redhat.com>
221 * modules/hebrew/hebrew-x.c pango/mini-fribidi/fribidi-types.h:
222 Fix trailing , on enumerations.
223 (#72572, Miroslaw Dobrzanski-Neumann)
225 Sun Feb 24 13:40:55 2002 Owen Taylor <otaylor@redhat.com>
227 * pango/pangoxft-fontmap.c (pango_xft_pattern_equal):
228 Rewrite to reduce the number of strcmps.
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
235 Sun Feb 24 12:12:09 2002 Owen Taylor <otaylor@redhat.com>
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.
241 * pango/pangoft2-fontmap.c (pango_ft2_font_map_new_font):
244 Sat Feb 23 21:40:27 2002 Owen Taylor <otaylor@redhat.com>
246 * configure.in: Version 0.26
250 Sat Feb 23 17:34:26 2002 Owen Taylor <otaylor@redhat.com>
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)
256 Sat Feb 23 13:07:02 2002 Owen Taylor <otaylor@redhat.com>
258 * pango/pango-font.h pango/pango-fontmap.h pango/pango-fontset.h:
259 Add some class padding for future expansion.
261 Wed Feb 20 16:58:24 2002 Owen Taylor <otaylor@redhat.com>
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)
267 Sun Feb 17 18:50:30 2002 Owen Taylor <otaylor@redhat.com>
269 * configure.in: Version 0.25
271 * configure.in: Add X_EXTRA_LIBS to XFT_LIBS.
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)
280 2002-02-15 Hans Breuer <hans@breuer.org>
282 * examples/makefile.am pango/makefile.am : added
283 makefile.msc to EXTRA_DIST
285 Thu Feb 14 14:46:26 2002 Owen Taylor <otaylor@redhat.com>
287 * configure.in: Respect QTDIR if set. Look for qt3 as well as qt2.
289 2002-02-14 Sven Neumann <sven@gimp.org>
291 * configure.in: updated the list of available modules (bug #71411).
293 2002-02-10 Hans Breuer <hans@breuer.org>
295 * pango/makefile.msc : update version,
296 use -FImsvc_recommended_pragmas.h and add $(DIRENT_LIBS) to
299 2002-02-09 Darin Adler <darin@bentspoon.com>
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.
315 2002-02-07 Tor Lillqvist <tml@iki.fi>
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.
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
326 Sat Feb 2 18:27:38 2002 Owen Taylor <otaylor@redhat.com>
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.
333 * pangox.pc.in (Libs): Add @X_XTRA_LIBS@ (#70400)
335 2002-02-01 Havoc Pennington <hp@redhat.com>
337 * pangoxft.pc.in (Description, Name): fix cut-and-paste mess
340 2002-02-01 Anders Carlsson <andersca@gnu.org>
342 * pango/pangoxft-fontmap.c (pango_xft_get_font_map):
343 move to next element in list.
345 Tue Jan 29 11:35:11 2002 Owen Taylor <otaylor@redhat.com>
347 * configure.in: Version 0.24
351 Mon Jan 28 20:23:59 2002 Owen Taylor <otaylor@redhat.com>
353 * pango/pango-markup.c (pango_parse_markup): Fix problem
354 with detected root node. (Based on patch from Matthias Clasen,
357 Mon Jan 28 19:41:20 2002 Owen Taylor <otaylor@redhat.com>
359 * pango/pango-context.c (pango_context_load_font[set]): Add some
360 return-if-fails to catch loading size 0 fonts.
362 Thu Jan 24 18:05:54 2002 Owen Taylor <otaylor@redhat.com>
364 * pango/pango-layout.c (get_items_log_attrs): Fix problems with
365 computing the length of the paragraph delimiter. (Reported by Evan Martin)
367 2002-01-24 Sven Neumann <sven@gimp.org>
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>.
374 Wed Jan 23 16:49:24 2002 Owen Taylor <otaylor@redhat.com>
376 * examples/viewer-ft2.c: Remove this file; pangofttopgm
377 is the test case for the FT2 backend now.
379 * examples/Makefile.am: Don't dist moc_viewer-qt.cc.
381 * examples/Makefile.am: Build pangofttopgm if we have FT2.
383 * examples/pangoft2topgm.c (main): Warning fixes.
385 2002-01-21 Havoc Pennington <hp@redhat.com>
387 * pango/pango-layout.c (pango_layout_set_markup_with_accel): fix
388 memory leak of "text", reported by Jason Tackaberry
390 2002-01-20 Alexander Larsson <alla@lysator.liu.se>
392 * pango/pangoft2.c (pango_ft2_draw_hline):
393 Clean up underline drawing. Fixes segfaults.
395 Sat Jan 19 11:50:32 2002 Owen Taylor <otaylor@redhat.com>
397 * configure.in: Add a AC_TRY_LINK() for qt, since broken setups
400 * configure.in: Save ACLOCAL_FLAGS for --enable-maintainer-mode rebuilds.
402 2002-01-18 Alexander Larsson <alla@lysator.liu.se>
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.
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.
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
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.
421 2002-01-17 jacob berkman <jacob@ximian.com>
423 * modules/hebrew/Makefile.am (common_sources): include missing
426 Wed Jan 16 14:45:23 2002 Owen Taylor <otaylor@redhat.com>
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.)
432 Wed Jan 16 09:25:34 2002 Owen Taylor <otaylor@redhat.com>
434 * pango/fonts.c (pango_font_description_from_string): Initialize
435 the static_family field. (Fix from Zack Rusin)
437 2002-01-14 Havoc Pennington <hp@pobox.com>
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.
443 * docs/tmpl/glyphs.sgml: add note about special-case use of
444 PANGO_SCALE with font sizes
446 * pango/fonts.c: fix docs to be correct about PANGO_SCALE
448 2002-01-13 Havoc Pennington <hp@pobox.com>
450 * pango/fonts.c: fix up docs to be clearer about PANGO_SCALE,
451 as suggested by Dennis Bjorklund
453 2002-01-11 Havoc Pennington <hp@pobox.com>
455 * docs/pango_markup.sgml: fix cross-references in here
457 2002-01-11 Havoc Pennington <hp@redhat.com>
459 * pango/pango-layout.c (pango_layout_set_attributes): allow
460 setting attrs to NULL
462 2002-01-11 Havoc Pennington <hp@redhat.com>
464 * pango/pango-layout.c (pango_layout_iter_get_index): docs tweak
465 (pango_layout_iter_next_cluster): update iter->index here
467 Fri Jan 11 15:01:13 2002 Owen Taylor <otaylor@redhat.com>
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.
474 * pango/pangoxft-fontmap.c: Remove duplicate XFT_FAMILY
475 in call to XftListFonts.
477 Thu Jan 10 16:27:24 2002 Owen Taylor <otaylor@redhat.com>
479 * pango/mini-fribidi/fribidi.c: Fix read of unitialized
480 memory (#66067, Hidetoshi Tajima)
482 Thu Jan 10 15:04:31 2002 Owen Taylor <otaylor@redhat.com>
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)
490 2002-01-09 Alex Larsson <alexl@redhat.com>
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.
496 Wed Jan 9 18:51:02 2002 Owen Taylor <otaylor@redhat.com>
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.)
502 Wed Jan 9 11:23:31 2002 Owen Taylor <otaylor@redhat.com>
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,
508 Tue Jan 1 20:52:00 2002 Owen Taylor <otaylor@redhat.com>
510 * pango/fonts.c (pango_font_description_merge[_static]):
511 Update the field mask in the merged description.
513 2002-01-02 Tor Lillqvist <tml@iki.fi>
515 * pango/pangowin32.c (pango_win32_render_layout_line): Silence gcc
516 -Wall, initialise a couple of variables.
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.
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
527 (logfont_nosize_hash): Lowercase face name before calculating
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.
534 Thu Dec 27 14:19:46 2001 Owen Taylor <otaylor@redhat.com>
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)
540 Wed Dec 26 11:52:28 2001 Owen Taylor <otaylor@redhat.com>
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.
546 Sat Dec 22 12:14:25 2001 Owen Taylor <otaylor@redhat.com>
548 * configure.in: Version 0.23, require glib-1.3.12
550 * pango/makefile.msc (PANGO_VER): 0.23.
554 Sat Dec 22 11:49:38 2001 Owen Taylor <otaylor@redhat.com>
556 * modules/arabic/arabic-ot.c: Patch from Roozbeh
557 Pournader to update for shaping class changes
560 Thu Dec 20 00:18:10 2001 Owen Taylor <otaylor@redhat.com>
562 * pango/pangoxft-font.c (pango_xft_picture_render): Fix
565 Wed Dec 19 22:40:24 2001 Owen Taylor <otaylor@redhat.com>
567 * pango/pango-layout.c (get_line_extents_layout_coords):
568 Remove incorrect special casing of initial line.
569 (Reported by Darin Adler)
571 Tue Dec 18 12:33:03 2001 Owen Taylor <otaylor@redhat.com>
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
578 2001-12-17 Darin Adler <darin@bentspoon.com>
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.
585 2001-12-14 Sven Neumann <sven@gimp.org>
587 * modules/hebrew/hebrew-x.c (hebrew_engine_get_coverage): use
588 (PangoLanguage *) instead of (const gchar *) to please the compiler.
590 2001-12-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
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.
600 2001-12-12 Sven Neumann <sven@gimp.org>
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>).
606 2001-12-12 Alexander Larsson <alla@lysator.liu.se>
608 * pango/pangoft2-fontmap.c (pango_ft2_font_map_load_fontset):
609 Initialize MiniXft library before calling MiniXftConfigSubstitute.
611 * pango/mini-xft/minixftdir.c (MiniXftDirScan):
612 Changed back filename from MiniXftCache to XftCache for
615 2001-12-11 Alex Larsson <alexl@redhat.com>
617 * pango/pangoft2.c (pango_ft2_render):
618 Fix the details in clipping to the bitmap size.
620 Mon Dec 10 14:22:22 2001 HideToshi Tajima <hidetoshi.tajima@sun.com>
622 * modules/basic/tables-big.i: change "EUC-CN" to "GB2312" which
623 is the canonical name for gb2312.1980 charset used in libcharset.
626 Mon Dec 10 09:18:09 2001 Owen Taylor <otaylor@redhat.com>
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).
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 ]
636 Thu Dec 6 19:07:31 2001 Owen Taylor <otaylor@redhat.com>
638 * pango/pango-layout.c (get_items_log_attrs): Fix problem
639 where length passed in didn't get adjusted for paragraph
642 Thu Dec 6 12:10:53 2001 Owen Taylor <otaylor@redhat.com>
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)
652 Thu Dec 6 10:03:49 2001 HideToshi Tajima <hidetoshi.tajima@sun.com>
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
659 * modules/basic/tables-big.i: add jisx0212, jisx0201 and big5.
661 2001-12-04 Manish Singh <yosh@gimp.org>
664 * pango/querymodules.c: g_module_symbol takes a gpointer *, not just
667 2001-12-03 Matthias Clasen <matthiasc@poet.de>
669 * docs/pango-sections.txt, docs/tmpl/fonts.sgml,
670 docs/tmpl/modules.sgml: Updates.
672 * pango/modules.c: Documentation fixes.
674 2001-12-04 Sven Neumann <sven@gimp.org>
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.
681 2001-12-01 Matthias Clasen <matthiasc@poet.de>
683 * pango/pango-fontset.c: Documentation fixes.
685 2001-11-29 Matthias Clasen <matthiasc@poet.de>
687 * pango/pango-fontset.c: Documentation updates.
689 Thu Nov 29 11:40:51 2001 Owen Taylor <otaylor@redhat.com>
691 * examples/viewer-qt.cc: Include qpainter.h - apparently
692 needed for Qt 3. (Patch from Dennis Dementiev)
694 2001-11-27 Alex Larsson <alexl@redhat.com>
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.
701 * pango/pangoft2.c (_pango_ft2_font_new):
702 Include size in ft2font->description.
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.
709 * pango/pangoxft-font.c:
710 Include size in xfont->description.
712 Mon Nov 26 19:24:21 2001 Owen Taylor <otaylor@redhat.com>
714 * configure.in tests/Makefile.am tests/cxx-test.C: Add
715 a test program that includes all headers in a C++ program.
718 2001-11-26 Alex Larsson <alexl@redhat.com>
720 * pango/pangoxft-font.c (pango_xft_font_get_coverage):
721 Don't leak filename copy.
723 * pango/pangoxft-fontmap.c (pango_xft_font_map_load_font):
724 Don't leak matched pattern
726 Mon Nov 26 18:17:00 2001 Owen Taylor <otaylor@redhat.com>
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.
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.
736 * modules/hangul/hangul-x.c (hangul_engine_shape): Prevent
737 overflows for invalid sequences which can be of arbitrary
740 * modules/arabic/arconv.c: New versions from Roozbeh Pournader.
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
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
753 2001-11-26 Matthias Clasen <matthiasc@poet.de>
755 * pango/pangoft2.c (pango_ft2_font_get_coverage): Documentation.
757 * modules/basic/basic-ft2.c (basic_engine_get_coverage): Use
758 pango_font_get_coverage().
760 Mon Nov 26 11:31:01 2001 Owen Taylor <otaylor@redhat.com>
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.
766 Sun Nov 25 22:35:46 2001 Owen Taylor <otaylor@redhat.com>
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.
773 * pango/mini-fribidi/README: Update fribidi URL.
775 2001-11-24 Manish Singh <yosh@gimp.org>
778 * configure.in: support for --with-xftconfig-dir= path to system
781 * pango/pango-utils.c
782 * pango/pangox.c: include "config.h", not <config.h>
784 * pango/pangoxft-fontmap.c: this file is pangoxft-fontmap.c, not
785 pangoxft-fontmap.h :)
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.
794 Sat Nov 24 13:44:21 2001 Kristian Rietveld <kristian@planet.nl>
796 * pango/pango-fontmap.c (pango_font_map_real_load_fontset):
797 free the font description when we don't need it anymore
799 2001-11-23 Padraig O'Briain <padraig.obriain@sun.com>
801 * pango/break.c (pango_default_break):
802 Fix for bug 65183; i.e. do not call g_utf8_next_char(next) when
805 2001-11-23 Hans Breuer <hans@breuer.org>
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
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'.
816 * pango/makefile.msc : updated, version 0.22
817 * pango/pango.def : updated externals
819 * pango/font.c pango/pango-coverage.c pango-utils.c
820 pango/pangowin32.c pango/shape.c :
821 coding style and static correctness
823 2001-11-22 Matthias Clasen <matthiasc@poet.de>
825 * docs/pango-sections.txt: Remove duplicates.
827 * docs/tmpl/fonts.sgml: Document PANGO_TYPE_FONTSET
828 and PANGO_TYPE_FONTSET_SIMPLE.
830 * pango/pangoxft-font.c: Fix typos in some doc comments.
832 Thu Nov 22 14:23:07 2001 Owen Taylor <otaylor@redhat.com>
836 * configure.in (GLIB_REQUIRED_VERSION): Require
839 Wed Nov 21 12:54:39 2001 Owen Taylor <otaylor@redhat.com>
841 * configure.in (PANGO_MINOR_VERSION): Version 0.22.
845 * docs/pango-sections.txt Makefile.am: Update.
847 * pango/pango-layout.c (process_item): Don't look
850 2001-11-22 Tor Lillqvist <tml@iki.fi>
852 * pango/pangowin32-fontcache.c (pango_win32_font_cache_load):
853 Always turn on anti-aliasing.
855 2001-11-21 Tor Lillqvist <tml@iki.fi>
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.
865 2001-11-20 Alex Larsson <alexl@redhat.com>
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.
871 2001-11-20 Tor Lillqvist <tml@iki.fi>
873 * pango/pangowin32-fontmap.c (pango_win32_font_map_load_font): Fix
876 2001-11-18 Alex Larsson <alexl@redhat.com>
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.
882 2001-11-18 Alex Larsson <alexl@redhat.com>
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.
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.
897 2001-11-19 Tor Lillqvist <tml@iki.fi>
899 * pango-zip.sh.in: Suffix package names with datestamp. Add
902 * pango/pango.def: pango_context_add_font_map ->
903 pango_context_set_font_map. Add pango_fontset_*.
905 * pango/pangoft2.def: Reflect Alexander's changes.
907 * pango/mini-xft/minixftinit.c (get_xft_default_path): New
908 function. Use pango_get_sysconf_subdirectory () to construct a
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().
915 * pango/mini-xft/minixftcache.c (MiniXftFileCacheSave): On Win32,
916 don't use link() and unlink() for the lock file. Instead, use a
919 2001-11-18 Alexander Larsson <alla@lysator.liu.se>
921 * pango/pangoxft-fontmap.c:
922 Add XFT_MATRIX and XFT_MINSPACE macro definitions if missing.
924 2001-11-17 Alexander Larsson <alla@lysator.liu.se>
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
931 * modules/basic/basic-ft2.c:
932 Use the new pangoft2 API.
938 * pango/pango-context.[ch]:
939 Support only one fontmap per context.
940 Use pango_font_map_load_fontset() and PangoFontset instead
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().
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.
951 * pango/pangoft2-fontcache.c:
954 * pango/pangoft2-fontmap.c:
955 * pango/pangoft2-private.h:
958 Major rewrite. Doesn't handle fontsets. Uses mini-xft so that
959 it will always match the PangoXft backend. Simplified the
962 * pango/pangowin32.c:
964 pango_context_add_font_map -> pango_context_set_font_map
966 * pango/pangoxft-font.c:
967 * pango/pangoxft-fontmap.c:
968 * pango/pangoxft-private.h:
969 New code to handle fontsets.
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.
976 2001-11-14 Matthias Clasen <matthiasc@poet.de>
978 * docs/Makefile.am (MKDB_OPTIONS): Add --sgml-mode.
980 2001-11-11 Matthias Clasen <matthiasc@poet.de>
982 * docs/Makefile.am (IGNORE_HFILES): Add pangoxft-private.h.
984 * pango/pango-utils.c (pango_language_from_string): Fix typo in
987 * docs/tmpl/text-attributes.sgml: Document PangoColor, PangoLanguage,
988 PangoAttrLanguage, PangoAttrFloat and PangoAttrShape.
990 * docs/tmpl/layout.sgml: Document PangoWrapMode and PangoLayoutIter.
992 * docs/tmpl/tab-stops.sgml: Document PangoTabAlign and PangoTabArray.
994 * docs/tmpl/fonts.sgml: Document PangoFontMask.
996 * pango/fonts.c (pango_font_description_unset_fields): Fix typo in
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.
1004 * docs/tmpl/x-rendering.sgml: Document PangoGetGCFunc and
1005 PangoFreeGCFunc typedefs.
1007 2001-11-08 Tor Lillqvist <tml@iki.fi>
1009 * pango-zip.sh.in: Build separate developer package.
1011 * pango/pango.def: Add pango_color_parse.
1013 Mon Nov 5 12:23:07 2001 Owen Taylor <otaylor@redhat.com>
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.
1019 2001-11-03 Hans Breuer <hans@breuer.org>
1021 * pango/modules.c : don't bother with module dir
1022 recalculation if LIBDIR isn't defined
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.
1029 * pango/makefile.msc : use (hopefully temporary) DIRENT_CFLAGS
1030 and DIRENT_LIBS (see #63667)
1032 Fri Nov 2 13:56:58 2001 Owen Taylor <otaylor@redhat.com>
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
1042 Fri Nov 2 08:50:16 2001 Owen Taylor <otaylor@redhat.com>
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
1051 * pango/fonts.c: Use g_ascii_dtostr, g_ascii_strtod().
1053 2001-10-31 Tor Lillqvist <tml@iki.fi>
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.
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
1068 Wed Oct 31 11:00:55 2001 Owen Taylor <otaylor@redhat.com>
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)
1075 2001-10-30 Matthias Clasen <matthiasc@poet.de>
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.
1082 * pango/opentype/pango-ot-info.c,
1083 pango/opentype/pango-ot-ruleset.c: Documentation updates.
1085 2001-10-30 Sven Neumann <sven@gimp.org>
1087 * tests/Makefile.am: don't link against pangox at all.
1089 Please keep in mind that building on UNIX does not necessarily mean
1090 that X11 is available.
1092 Mon Oct 29 11:54:06 2001 Owen Taylor <otaylor@redhat.com>
1094 * pangox.pc.in (Cflags): Add @X_CFLAGS@ (#63095, Dan Winship)
1096 2001-10-29 Tor Lillqvist <tml@iki.fi>
1098 * pango-zip.sh.in: New file, used to build distribution package
1101 * Makefile.am (EXTRA_DIST): Add pango-zip.sh.
1103 * configure.in: Check for lib.exe, set MS_LIB_AVAILABLE. Generate
1106 * README.win32: Mention the ways to build Pango on Windows.
1108 * modules/Makefile.am
1109 * examples/Makefile.am: Se SOSUFFIX to so on Unix, dll on Windows.
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.
1115 * tests/Makefile.am: Link with libpangox.la only on Unix.
1117 2001-10-27 Matthias Clasen <matthiasc@poet.de>
1119 * pango/modules.c: Typo fix.
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.
1126 2001-10-26 Matthias Clasen <matthiasc@poet.de>
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.
1138 Thu Oct 25 11:06:54 2001 Owen Taylor <otaylor@redhat.com>
1140 * configure.in: Version 0.21, require GLib-1.3.6
1144 Fri Oct 26 12:32:25 2001 Owen Taylor <otaylor@redhat.com>
1146 * configure.in: Don't use AC_CHECK_LIB to check for
1147 win32, since that causes problems with autoconf-2.13.
1149 * docs/Makefile.am: Fix to install images.
1151 Thu Oct 25 11:05:01 2001 Owen Taylor <otaylor@redhat.com>
1153 * pango/pango-layout.c (pango_layout_run_get_extents): Allow
1154 NULL run_logical. (#63014, Tony Graham)
1156 Thu Oct 18 15:48:14 2001 Owen Taylor <otaylor@redhat.com>
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)
1165 Thu Oct 18 14:40:04 2001 Owen Taylor <otaylor@redhat.com>
1167 (Fixes from Frank Belew, #58905)
1169 * pango/pangox.c (pango_x_apply_ligatures): Fix label
1172 * pango/mini-fribidi/fribidi.c pango/mini-fribidi/fribid.patch:
1173 Use g_alloca() instead of mix of MSVC specific and GCC specific
1176 2001-10-15 Matthias Clasen <matthiasc@poet.de>
1178 * pango/tmpl/x-fonts.sgml
1180 * pango/fonts.c: small documentation fixes.
1182 2001-10-15 Sven Neumann <sven@gimp.org>
1184 * pango/pangoxft-font.c: another missing comment end marker and some
1185 fixes in gtk-doc comments.
1188 * pango/pango-layout.c
1190 * docs/pango-sections.txt
1191 * docs/tmpl/fonts.sgml
1192 * docs/tmpl/x-fonts.sgml: documentation updates.
1194 Sun Oct 14 18:42:56 2001 Manish Singh <yosh@gimp.org>
1196 * pango/pangox.c: add missing comment end marker to make it compile
1198 2001-10-14 Matthias Clasen <matthiasc@poet.de>
1200 * pango/pangox.c, pango/pangoxft-font.c, pango/pangoxft-fontmap.c,
1201 docs/pango-sections.txt, docs/tmpl/fonts.sgml: Documentation updates.
1203 2001-10-13 Matthias Clasen <matthiasc@poet.de>
1205 * pango/pango-utils.c, pango/pangoxft-font.c: Documentation updates.
1207 2001-10-10 Tor Lillqvist <tml@iki.fi>
1209 * pango/.cvsignore: Add module-defs-win32.c.
1211 * pango/Makefile.am (pangoinclude_HEADERS): Include also
1214 2001-10-09 Matt Wilson <msw@redhat.com>
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.
1220 2001-10-04 Havoc Pennington <hp@pobox.com>
1222 * pango/break.c (pango_default_break): fix wrong
1223 check for incorrect attrs_len
1225 2001-10-04 Sven Neumann <sven@gimp.org>
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.
1231 2001-10-04 Tor Lillqvist <tml@iki.fi>
1233 * configure.in: Retract my change to Xrender+Xft+Xft+FreeType.h
1234 checks from yesterday, instead enclose nested AC_CHECK_* calls in
1237 2001-10-03 Havoc Pennington <hp@redhat.com>
1239 * pango/break.c (MAYBE_START_NEW_SENTENCE): remove assertion I
1240 shouldn't have put in there
1242 2001-10-03 Havoc Pennington <hp@redhat.com>
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.
1248 * tests/dump-boundaries.c: new program to dump logical attrs to stdout
1250 * tests/testboundaries.c (check_invariants): oops, fix for
1251 pango_get_log_attrs() change
1253 2001-10-03 Havoc Pennington <hp@redhat.com>
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
1260 * pango/pango-engine.h (struct _PangoEngineLang): change
1261 script_break virtual function to match pango_break
1263 * pango/pango-layout.c (get_items_log_attrs): update pango_break usage
1265 2001-10-03 Sven Neumann <sven@gimp.org>
1267 * pango/fonts.c (pango_font_description_to_string): don't include
1268 family name if PANGO_FONT_MASK_FAMILY is not set.
1270 * pango/pangoft2-fontmap.c: make it compile with DEBUGGING being
1273 2001-10-03 Tor Lillqvist <tml@iki.fi>
1275 Add the Win32 GDI Pango backend to autoconfiguration:
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
1288 * pangowin32-uninstalled.pc.in: New files.
1290 * Makefile.am: Add pangowin32*.pc.in.
1292 * .cvsignore: Add pangowin32*.pc.
1294 * modules/basic/Makefile.am: Add the basic-win32 backend. Use
1295 -no-undefined on PLATFORM_WIN32.
1297 * pango/Makefile.am: Add the Win32 backend. Use -no-undefined on
1298 PLATFORM_WIN32. Use the .def files on OS_WIN32. Link libpangoft2
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.
1308 Other Win32 backend fixes:
1310 * pango/pangowin32-fontmap.c: (free_coverages_foreach): Remove, unused.
1312 * pango/pangowin32.c: Remove unused variables.
1314 * pango/pangowin32.def: Add pango_win32_font_get_glyph_index.
1316 * pango/pangowin32.h: Remove pango_win32_font_get_coverage, which
1319 Mon Oct 1 16:02:54 2001 Owen Taylor <otaylor@redhat.com>
1321 * pango/fonts.c: g_string_printfa => g_string_append_printf.
1323 Sat Sep 29 12:21:44 2001 Manish Singh <yosh@gimp.org>
1325 * pango/pangoft2-fontmap.c (pango_ft2_font_map_for_display):
1326 Typo fix: s/pang/pango/ in warning message
1328 Fri Sep 28 11:27:57 2001 Owen Taylor <otaylor@redhat.com>
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)
1336 Thu Sep 27 12:08:23 2001 Owen Taylor <otaylor@redhat.com>
1338 * pango/pango-utils.c (pango_log2vis_get_embedding_levels):
1339 Fix wrapper version to have boolean result. (#61248,
1342 Tue Sep 25 11:54:03 2001 Owen Taylor <otaylor@redhat.com>
1344 * configure.in: Version 0.20
1348 * configure.in (GLIB_REQUIRED_VERSION): Require GLib 1.3.9
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)
1354 * examples/Makefile.am (pango.modules): Don't use
1355 grep -q (reported by Tony Graham)
1357 * docs/pango-sections.txt: Fix small typo.
1359 Tue Sep 25 11:18:24 2001 Owen Taylor <otaylor@redhat.com>
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.)
1368 * pango/{pangoft2-fontmap.c, pangowin32-fontmap.c, pangox-fontmap.c}:
1369 Fix for changed signature of g_ascii_strup/strdown.
1371 Mon Sep 24 19:18:48 2001 Owen Taylor <otaylor@redhat.com>
1373 Patch from Alex Larsson
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.
1380 * pango/pango-layout.c (pango_layout_index_to_pos): Fix
1381 for multi-paragraph layouts.
1383 * pango/pango-layout.c (pango_layout_move_cursor_visually): Fix
1384 for multi-paragraph layouts.
1386 Mon Sep 24 18:19:22 2001 Owen Taylor <otaylor@redhat.com>
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.)
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
1397 Fri Sep 21 18:55:18 2001 Owen Taylor <otaylor@redhat.com>
1399 * pango/fonts.c (pango_font_description_from_string): Set
1400 PANGO_FONT_MASK_FAMILY. (#60888, reported by Mario Motta)
1402 2001-09-21 Matthias Clasen <matthiasc@poet.de>
1404 * pango/fonts.c (append_field, pango_font_description_to_string):
1405 replace g_string_sprintfa by g_string_printfa.
1407 2001-09-21 Hans Breuer <hans@breuer.org>
1409 * pango/pango.def : updated externals
1411 * pango/makefile.msc : build ft2 backend too.
1413 * pango/pangowin32-fontmap.c
1414 - Convert PangoWin32FamilyEntry into PangoWin32Family deriving
1415 from PangoFontFamily.
1416 - Convert PangoWin32FontEntry into PangoWin32Face deriving
1418 - Change the list_families() method of the PangoWin32FontMap
1419 to list PangoFontFamily * rather than names.
1421 * pango/pangowin32.c : reflect PangoFontDescription api change
1423 * pango/pangowin32.h : don't include pango.h but only the
1426 * modules/basic/basic-win32.c : #include "pango-engine.h"
1428 * pango/testfonts.c : reflect recent pango api changes
1430 2001-09-20 Sven Neumann <sven@gimp.org>
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.
1436 2001-09-20 James Henstridge <james@daa.com.au>
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).
1442 * pango/pango-font.h: add get_type routine to header.
1444 * pango/fonts.c (pango_font_metrics_get_type): add get_type()
1447 Wed Sep 19 19:28:52 2001 Owen Taylor <otaylor@redhat.com>
1449 * pango/pango-fontmap.c: Remove pango_font_map_free_families,
1450 which was no longer in the headers, no longer needed, and
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.
1457 2001-09-19 Havoc Pennington <hp@redhat.com>
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
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
1466 Wed Sep 19 10:48:04 2001 Tim Janik <timj@gtk.org>
1470 Tue Sep 18 23:27:52 2001 Tim Janik <timj@gtk.org>
1472 * configure.in (GLIB_REQUIRED_VERSION): require glib 1.3.8.
1474 Tue Sep 18 17:29:20 2001 Owen Taylor <otaylor@redhat.com>
1476 * pango/pangoft2-fontmap.c pango/pangoft2-private.h: Include
1477 parent_instance structures.
1479 * pango/fonts.c (pango_font_family_get_type): Pass in right
1482 Tue Sep 18 15:47:08 2001 Owen Taylor <otaylor@redhat.com>
1484 * configure.in (PANGO_MINOR_VERSION): Up to 0.19.
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.
1492 * pango/pango-font.h pango/fonts.c: Make PangoFontDescription
1493 an opaque heap-allocated structure, add accessors and
1494 convenience functions.
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.
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
1505 * pango/pango-attributes.[ch]: Fix PangoAttrFontDesc to have
1506 a PangoFontDescription by reference, not by value.
1508 * pango/pango-utils.[ch]: make pango_parse_style() and friends
1509 take pointers to individual enumerations instead of to a
1510 PangoFontDescription structure.
1512 * pango/*.c: Fix for the PangoFontDescription and PangoFontMetrics
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.
1519 * modules/*/Makefile.am: -DPANGO_ENABLE_ENGINE.
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
1525 * pango/pango-{context,font,fontmap,modules.utils}.h pango/Makefile.am:
1526 Protect portions with PANGO_ENABLE_BACKEND to shrink the public API.
1528 * pango/*.h: Use G_BEGIN/END_DECLS
1530 * examples/viewer-qt.[cc,h]: Fix for changes to font listing API,
1531 PangoFontDescription.
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.
1537 * docs/pango-sections.txt: Updated.
1539 2001-09-18 Matt Wilson <msw@redhat.com>
1541 * modules/basic/Makefile.am (basic_xft_libadd): add
1542 $(pangoxftlibs) so we get proper dependencies noted in the module.
1544 Tue Sep 11 11:31:53 2001 Owen Taylor <otaylor@redhat.com>
1546 * pango/pangoft2-fontmap.c pango/modules.c
1547 pango/pango-utils.c pango/querymodules.c: Use
1548 g_build_filename() where appropriate.
1550 Thu Sep 6 21:13:56 2001 Owen Taylor <otaylor@redhat.com>
1552 * pango/pango-color.c: Fix problem with green/blue
1555 2001-09-10 Alex Larsson <alexl@redhat.com>
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.
1565 Mon Sep 3 19:37:02 2001 Owen Taylor <otaylor@redhat.com>
1567 * configure.in: Version 0.18
1571 * pango/pangoxft-font.c (pango_xft_font_finalize): Actually
1572 free the XftFont (and description). Lack of such pointed out
1575 Sun Sep 2 12:08:15 2001 Owen Taylor <otaylor@redhat.com>
1577 * pango/pango-layout.c pango/pango-utils.c: Make
1578 a couple of functions static.
1580 * pango/mini-fribidi/{fribidi_tables.i,fribidi.patch}:
1581 Make data arrays static.
1583 Thu Aug 30 17:34:52 2001 Owen Taylor <otaylor@redhat.com>
1585 * pango/pango-color.c: New file, move color handling
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.
1592 Fri Aug 24 12:21:50 2001 Owen Taylor <otaylor@redhat.com>
1594 * pango/pango-layout.c (pango_layout_set_text): Handle
1595 text == NULL, length == 0 again.
1597 Thu Aug 23 19:44:34 2001 Tim Janik <timj@gtk.org>
1599 * pango/pango-layout.c (pango_layout_check_lines): pass ""
1600 as default text into pango_layout_set_text() as NULL isn't
1603 Wed Aug 22 19:52:18 2001 Owen Taylor <otaylor@redhat.com>
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.
1610 2001-08-16 Alexander Larsson <alexl@redhat.com>
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.
1616 2001-08-15 Jens Finke <jens@gnome.org>
1618 * pango.spec.in: Updated to match gpp standard.
1620 2001-08-14 Sven Neumann <sven@gimp.org>
1622 * pango/pangoft2.c (pango_ft2_render): composite with "saturate"
1623 semantics instead of "over" so joining glyphs get drawn correctly.
1625 2001-08-14 Sven Neumann <sven@gimp.org>
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.
1631 Sun Aug 12 10:33:02 2001 Owen Taylor <otaylor@redhat.com>
1633 * docs/Makefile.am pango/Makefile.am: Set GPATH to fix srcdir !=
1634 builddir problems with GNU make.
1636 2001-08-10 Hans Breuer <hans@breuer.org>
1638 * pango/pangowin32.c (pango_win32_render) : restore
1639 the previously selected font into the device context.
1641 (pango_win32_font_get_glyph_extents) : info->ink_rect.y needs
1642 to be negative to get underlines right
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
1648 * pango/testfonts.c : (new file) simple test program for win32
1649 which renders all or selected fonts into a bitmap
1651 * pango/makefile.msc : re-enable testfonts compiling
1653 2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
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)
1660 2001-08-09 Alexander Larsson <alexl@redhat.com>
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)
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.
1677 2001-08-04 Alexander Larsson <alexl@redhat.com>
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
1684 * pango/module-defs-win32.c.win32:
1685 Include the built in basic-win32 stuff.
1687 2001-07-27 Darin Adler <darin@bentspoon.com>
1689 * modules/indic/gujarati-x.c: Remove unused prototype.
1691 2001-07-20 Hans Breuer <hans@breuer.org>
1693 * pango/pango-layout.c (pango_layout_line_get_vis2log_map) :
1694 make implementation static too.
1696 * pango/pango.def pango/pangowin32.def : updated exports
1698 * pango/pangowin32.c : correct PangoLanguage changes
1700 * pango/mini-fribidi/fribidi.c : removed gccism for msvc build
1702 Thu Jul 19 16:44:43 2001 Owen Taylor <otaylor@redhat.com>
1704 * pango/pango-context.c (font_set_load): Don't corrupt the
1705 font description passed in.
1707 Fri Jul 13 14:24:59 2001 Owen Taylor <otaylor@redhat.com>
1709 * pango/Makefile.am (pango_querymodules_DEPENDENCIES): Fix dependencies
1710 to work without XFT.
1712 Thu Jul 12 16:32:42 2001 Owen Taylor <otaylor@redhat.com>
1714 * pango/Makefile.am (pango_querymodules_DEPENDENCIES): Add
1715 an explicit dependency on libpangoxft.la, to fix
1716 parallel make problem (#56818)
1718 * pango/Makefile.am (CLEANFILES): Fix problem where
1719 name of stamp files didn't match actual name.
1721 2001-07-12 Darin Adler <darin@bentspoon.com>
1723 * modules/arabic/arabic-x.c: (arabic_engine_shape): Remove stray
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.
1730 * modules/indic/bengali-x.c: Add missing <string.h> include.
1731 (pango_indic_make_ligs): Use local variable that was added but not
1733 (pango_indic_engine_shape): Remove unused locals.
1735 * modules/indic/devanagari-x.c: Add missing <string.h> include.
1736 (pango_indic_engine_shape): Remove unused local.
1738 * modules/indic/gujarati-x.c: Add missing <string.h> include.
1739 (pango_indic_engine_shape): Remove unused local
1741 * modules/tamil/tamil-x.c: (tamil_engine_shape): Initialize a
1742 variable to quiet the compiler's unused warning.
1744 * pango/.cvsignore: Ignore more generated files.
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.
1749 * pango/opentype/ftxopen.c: (Load_Coverage): Remove unused local.
1751 * pango/opentype/pango-ot-ruleset.c: (pango_ot_ruleset_shape):
1752 Remove unused local.
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).
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
1764 2001-07-02 James Henstridge <james@daa.com.au>
1766 * pango/glyphstring.c (pango_glyph_string_copy): copy function.
1767 (pango_glyph_string_get_type): implement get_type function.
1769 * pango/pango-glyph.h (pango_glyph_string_get_type): get_type
1771 (pango_glyph_string_copy): prototype for copy function.
1773 * pango/pango-utils.c (pango_language_get_type): implementation.
1775 * pango/pango-types.h (pango_language_get_type): get_type function.
1777 * pango/pango-tabs.c (pango_tab_array_get_type): implementation.
1779 * pango/pango-tabs.h (pango_tab_array_get_type): get_type function.
1781 * pango/fonts.c (pango_font_description_get_type): implementation.
1783 * pango/pango-font.h (pango_font_description_get_type): add
1784 get_type function for typecode.
1786 Mon Jul 2 06:12:18 2001 Tim Janik <timj@gtk.org>
1788 * pango/pangoxft-font.c:
1790 * pango/pangowin32.c:
1791 * pango/pangoft2.c: s/shutdown/dispose/ to adapt to
1794 Sun Jul 1 22:59:02 2001 Owen Taylor <otaylor@redhat.com>
1796 * pango/pango-markup.c (text_handler): Use gssize,
1797 not size_t, gssize isn't defined here on all
1800 2001-06-29 Havoc Pennington <hp@redhat.com>
1802 * configure.in (QTDIR): don't get confused by qt3
1804 Thu Jun 28 21:49:30 2001 Owen Taylor <otaylor@redhat.com>
1806 * configure.in (GLIB_REQUIRED_VERSION): Require GLib-1.3.7
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().
1812 Tue Jun 26 15:11:30 2001 Owen Taylor <otaylor@redhat.com>
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.
1818 * configure.in: Abort out when AM_PATH_GLIB fails.
1820 Tue Jun 26 10:19:02 2001 Owen Taylor <otaylor@redhat.com>
1822 * pango/pango-utils.c (pango_language_matches): Handle
1823 language == NULL as matching nothing but '*'.
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
1830 Sat Jun 23 10:01:20 2001 Owen Taylor <otaylor@redhat.com>
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.
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.
1846 2001-06-22 Hans Breuer <hans@breuer.org>
1848 * pango/makefile.msc : changed version to 0.17
1850 * pango/pango.def : updated externals
1852 * pango/pangowin32-fontmap.c :
1853 * pango/pangowin32-private.h :
1854 * pango/pangowin32.c : adapted to PangoLanguage usage
1856 Sat Jun 9 17:36:09 2001 Owen Taylor <otaylor@redhat.com>
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.
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)
1867 * pango/pango-attributes.[ch] (pango_attr_iterator_get_font): Return
1868 the language tag as well.
1870 * pango/pango-attributes.[ch]: Rename PangoAttrLang to PangoAttrLanguage,
1871 and make it hold a PangoLanguage.
1873 * pango/pango-context.[ch]: Rename pango_context_{get,set}_lang() to
1874 pango_context_{get,set}_language().
1876 * **.[ch]: Adapt to PangoLanguage and s/lang/language/ changes.
1878 * modules/basic/basic-x.c modules/basic/tables-big.i: Add support
1879 for ordering character sets differently for different language
1882 * pango/itemize.c: Remove old, unused file.
1884 * pango/pango-context.c (pango_itemize): Reduce number of mallocs
1885 by allocating one array of PangoAnalysis instead of many arrays.
1887 2001-06-12 Havoc Pennington <hp@redhat.com>
1889 * docs/Makefile.am (dist-hook): don't ignore errors from missing
1894 * configure.in: increment version to 0.17
1896 Thu Jun 7 14:06:25 2001 Owen Taylor <otaylor@redhat.com>
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.
1902 2001-06-07 Havoc Pennington <hp@redhat.com>
1904 * pango/Makefile.am: add libpango.la to _DEPENDENCIES for the
1907 * configure.in: use AM_PATH_GLIB_2_0
1909 * autogen.sh: support AUTOGEN_SUBDIR_MODE
1911 * Makefile.am: dist the .pc.in files
1913 Tue Jun 5 10:40:17 2001 Owen Taylor <otaylor@redhat.com>
1915 * docs/reference/tmpl/*.smgl: Patch from Matthias
1916 Clasen fixing various typos. (#55744)
1918 Thu May 31 19:35:27 2001 Owen Taylor <otaylor@redhat.com>
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)
1926 Thu May 31 12:31:20 2001 Owen Taylor <otaylor@redhat.com>
1928 * pango/pangox-fontmap.c (pango_x_font_map_for_display):
1929 Actually advance through list. (Problem noticed
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)
1937 Tue May 29 18:17:11 2001 Owen Taylor <otaylor@redhat.com>
1939 * autogen.sh (have_libtool): Fix GNU sedism
1941 Tue May 29 17:41:44 2001 Owen Taylor <otaylor@redhat.com>
1943 * configure.in: Use $PKG_CONFIG, not pkg-config.
1945 Mon May 28 18:15:55 2001 Owen Taylor <otaylor@redhat.com>
1947 * pango/pango-layout.c (pango_layout_move_cursor_visually):
1948 Set *trailing properly at end of line.
1950 Mon May 28 11:51:45 2001 Owen Taylor <otaylor@redhat.com>
1952 * pango/modules.c (map_add_engine): Fix problem with
1953 information loss when converting leaves to branches.
1954 (Problem found by Toshio MARUYAMA)
1956 Wed May 23 12:59:26 2001 Owen Taylor <otaylor@redhat.com>
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.
1962 Fri May 18 16:44:25 2001 Owen Taylor <otaylor@redhat.com>
1964 * pango/pango-layout.c (ensure_tab_width): Use the font
1965 at the beginning of the paragraph, not the context's
1968 Fri May 18 11:30:57 2001 Owen Taylor <otaylor@redhat.com>
1970 * pango/opentype/disasm.c: Use ISO C99 varargs when
1973 Thu May 17 11:16:23 2001 Owen Taylor <otaylor@redhat.com>
1975 * pango/mapping.c: Fixup docs, remove some FIXMEs that are
1976 no longer applicable.
1978 * pango/pango-layout.c: Move by graphemes, not characters.
1980 * pango/pango-layout.c (pango_layout_line_x_to_index):
1981 Position at the closest grapheme boundary, not at character
1984 * pango/pango-layout.c (pango_layout_line_index_to_x):
1985 Return positions of grapheme boundaries, not character
1988 Tue May 1 16:03:48 2001 Owen Taylor <otaylor@redhat.com>
1990 * autogen.sh (libtool_version): Require libtool 1.4 when
1993 * **/Makefile.am: Add inter-library dependencies,
1994 especially for the modules. Many cleanups to the
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.
2001 * modules/tamil/tamil-xft.c (MODULE_ENTRY): Fix prefix
2002 to be _pango_tamil instead of _pango_basic.
2004 * Makefile.am: Build modules/ after pango/ so we can
2005 make the modules depend on libpango/libpangox.
2007 * examples/Makefile.am: Remove spurious rule to rebuild
2010 Mon May 14 19:10:11 2001 Owen Taylor <otaylor@redhat.com>
2012 * pango/pangoxft-font.c: Fix to correspond to extremely
2013 odd choice of sign convention in libXft. (#51476)
2015 Wed May 9 10:11:06 2001 Owen Taylor <otaylor@redhat.com>
2017 * pango/Makefile.am (install-data-local): Get rid
2018 of grep -q (pointed out by Tony Graham).
2020 2001-05-06 Alexander Larsson <alla@lysator.liu.se>
2023 Fix Xft detection by setting CPPFLAGS before trying
2024 the Xft/XftFreetyp.h header file.
2025 Use CPPFLAGS instead of CFLAGS.
2027 2001-01-06 Hans Breuer <hans@breuer.org>
2029 * pango/makefile.msc : reflect new version number, removed
2030 external fribidi dependency from link step as well
2032 * pango/pango.def : updated externals
2034 * pango/pangowin32.c : initialize approximate_(digit|char)_width
2035 similar to what the other backends do
2037 Fri May 4 11:07:04 2001 Owen Taylor <otaylor@redhat.com>
2039 * NEWS: Update for 0.16
2041 * docs/pango-sections.txt: Update.
2043 * configure.in (PANGO_MINOR_VERSION): 0.16
2045 Wed May 2 11:57:45 2001 Owen Taylor <otaylor@redhat.com>
2047 * examples/Makefile.am (QT_LIBS): Remove space that
2048 was confusing libtool.
2050 2001-05-04 Alex Larsson <alla@lysator.liu.se>
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).
2056 2001-05-03 Michael Natterer <mitch@convergence.de>
2058 * configure.in: also check for the the Xft header.
2060 Wed May 2 11:35:16 2001 Owen Taylor <otaylor@redhat.com>
2062 * configure.in (have_freetype): Add check to make sure
2063 #include FT_ERRORS_H works. (#54043)
2065 2001-05-02 Sven Neumann <sven@convergence.de>
2067 * configure.in: do not try to build modules using Xft if X is not
2068 available or was explicitely disabled.
2070 Tue May 1 23:30:53 2001 Owen Taylor <otaylor@redhat.com>
2072 * modules/hangul/hangul-x.c (hangul_engine_shape): Fix numeric
2075 * pango/pangox.c (get_font_metrics_from_string): Fix assorted
2078 Tue May 1 19:27:00 2001 Owen Taylor <otaylor@redhat.com>
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.
2084 2001-04-27 Havoc Pennington <hp@redhat.com>
2086 * pango/pangox-fontmap.c: Move some fontmap stuff to
2087 pangox-private.h to access fontmap->resolution in pangox.c
2089 * pango/pangox.c (get_font_metrics_from_subfonts): multiply
2090 avg. width by PANGO_SCALE, and consider that avg width from X is
2093 * modules/basic/basic-x.c: mark some chars unknown when shaping,
2094 with a flag PANGO_X_UNKNOWN_FLAG
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
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
2106 Tue Apr 24 11:45:55 2001 Owen Taylor <otaylor@redhat.com>
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)
2112 2001-04-20 Alexander Larsson <alexl@redhat.com>
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.
2118 Fri Apr 20 11:38:46 2001 Owen Taylor <otaylor@redhat.com>
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.
2124 2001-04-20 Anders Carlsson <andersca@codefactory.se>
2126 * pango/pango-markup.c (pango_parse_markup): Discard the parsed text if
2127 the input variable text is NULL. This fixes a segfault.
2129 Tue Apr 17 15:44:53 2001 Owen Taylor <otaylor@redhat.com>
2133 * tests/testboundaries.c: Look for files in $srcdir.
2135 * Makefile.am (SUBDIRS): Add tests, remove fonts
2137 * tests/Makefile.am (EXTRA_DIST): added missing stuff
2139 * fonts/: Remove. Nothing in here is needed any more.
2141 2001-04-16 Havoc Pennington <hp@pobox.com>
2143 * pango/pango-glyph.h: Removed pango_justify(), since it has no
2144 implementation that I can find.
2146 * pango/pango-attributes.c: docs
2148 * pango/pango-layout.c: docs
2150 Mon Apr 16 19:20:12 2001 Owen Taylor <otaylor@redhat.com>
2152 * modules/tamil/tamil-x.c: Remove warning when using fallback
2155 Mon Apr 16 19:14:00 2001 Owen Taylor <otaylor@redhat.com>
2157 [ Patches from Vikram Subramanian to update Tamil shapers ]
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.
2163 * examples/HELLO.utf8: Add Tamil line
2164 * examples/pangox.aliases: Add tamil fonts
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.
2170 Mon Apr 16 18:12:06 2001 Owen Taylor <otaylor@redhat.com>
2172 * README: Small updates
2174 * examples/HELLO.utf8: Insert a RLM on the Yiddish line
2175 to correct for fixes to the bidi algorithm.
2177 * pango/mini-fribidi/*: Update to CVS fribidi which
2178 has various bug fixes.
2180 Mon Apr 16 14:26:54 2001 Owen Taylor <otaylor@redhat.com>
2182 * docs/pango-sections.txt: Update.
2184 * docs/Makefile.am (EXTRA_DIST): Update to the latest
2187 2001-04-14 Hans Breuer <hans@breuer.org>
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
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
2201 Fri Apr 13 14:55:20 2001 Owen Taylor <otaylor@redhat.com>
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)
2206 * pango/mini-fribidi/fribidi-0.9.0.patch: Update patch for
2209 2001-04-13 Havoc Pennington <hp@redhat.com>
2211 * pango/pango-font.h: Add macros for CSS font scale factors
2213 2001-04-13 James Henstridge <james@daa.com.au>
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.
2219 Tue Apr 3 15:05:19 2001 Owen Taylor <otaylor@redhat.com>
2225 * pango/pango/opentype/Makefile.am: make dist fixes.
2227 * configure.in (PANGO_MINOR_VERSION): Up to 0.14
2229 Mon Apr 2 12:01:03 2001 Owen Taylor <otaylor@redhat.com>
2231 * examples/viewer-qt.cc (main): Add the mystic
2232 g_type_init ((GTypeDebugFlags) 0);.
2234 2001-04-02 Alexander Larsson <alexl@redhat.com>
2236 * pango/pangoft2-fontmap.c:
2237 Add some initilaization failure warnings if no fonts found
2238 or no fontaliases files found.
2240 2001-03-31 Fatih Demir <kabalak@gtranslator.org>
2242 * .cvsignore: Extended the ignore list to be right
2245 2001-03-18 Tor Lillqvist <tml@iki.fi>
2247 * pango/makefile.mingw.in
2248 * pango/pango.def: Update.
2250 * pango/module-defs-win32.c.win32: New file.
2252 * pango/Makefile.am (EXTRA_DIST): Add here.
2254 * pango/mini-fribidi/makefile.mingw: New file.
2256 * pango/mini-fribidi/makefile.mingw (EXTRA_DIST): Add here.
2258 Fri Mar 9 11:57:46 2001 Owen Taylor <otaylor@redhat.com>
2260 * pango/pangox.c (pango_x_find_subfont): Remove a lot of
2261 instances of "Error parsing ligature info" that somehow
2264 * docs/*: Some makefile tweaks, structure updates.
2266 2001-03-15 Sven Neumann <sven@gimp.org>
2270 * modules/*/Makefile.am
2271 * pango/Makefile.am: make it compile without X headers
2273 2001-03-12 Sven Neumann <sven@gimp.org>
2275 * pango/pangoft2.c (pango_ft2_font_describe): set the size field
2277 2001-03-07 Havoc Pennington <hp@redhat.com>
2279 * pango/pangox.c (pango_x_font_get_metrics): fix a cheesy bug in
2280 setting approximate_digit_width
2282 Wed Mar 7 09:21:14 2001 Tim Janik <timj@gtk.org>
2284 * pango/pango-attributes.c: fixed up g_boxed_type_register_static()
2285 since GLib signature changed.
2287 * got rid of bogus g_type_init() calls.
2289 2001-02-28 Havoc Pennington <hp@redhat.com>
2291 * pango/pango-font.h (struct _PangoFontMetrics): add
2292 approximate_digit_width field
2294 * pango/pangox.c (pango_x_font_get_metrics): make up an
2295 approximate digit width number
2297 2001-02-28 Havoc Pennington <hp@redhat.com>
2299 * pango/pango-font.h (struct _PangoFontMetrics): Add
2300 approximate_char_width field
2302 * pango/pangox.c (get_font_metrics_from_subfonts): "compute" the
2303 approximate char width. Other backends need to add this.
2305 2001-02-28 Alexander Larsson <alla@lysator.liu.se>
2307 * pango/pango-attributes.[c]:
2308 Added pango_attr_list_get_type, and PANGO_TYPE_ATTR_LIST.
2310 2001-02-20 Havoc Pennington <hp@pobox.com>
2312 Patch from Soeren Sandmann
2314 * pango/pangox-fontcache.c (pango_x_font_cache_load): make xlfd
2317 * pango/pango-utils.c (pango_get_sysconf_subdirectory):
2319 (pango_get_lib_subdirectory): G_CONST_RETURN
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.
2326 * pango/pango.def : added new exported functions
2328 * pango/pangowin32-fontmap.c : add unspecified fonts for Monospace,
2329 Sans and Serif to avoid crashes if no alias file is provided
2331 * pango/*/makefile.msc : new files to build on windoze with msvc
2333 2001-02-15 Havoc Pennington <hp@redhat.com>
2335 * pango/pango-layout.c (pango_layout_line_x_to_index): fix
2336 *trailing = FALSE to read *trailing = 0
2338 2001-02-13 Havoc Pennington <hp@redhat.com>
2340 * pango/pango-layout.c (pango_layout_line_get_x_ranges): fix
2341 another "count line lengths to get line start" bug
2343 2001-02-12 Havoc Pennington <hp@redhat.com>
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
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.
2359 Mon Feb 12 15:01:38 2001 Owen Taylor <otaylor@redhat.com>
2361 * configure.in (gtk_doc_min_version): Add check for
2364 Mon Feb 12 12:45:16 2001 Owen Taylor <otaylor@redhat.com>
2366 * pango/Makefile.am: srcdir != build dir fix.
2368 * docs/Makefile.am: Switching over to the new gtk-doc
2371 2001-02-11 Havoc Pennington <hp@pobox.com>
2373 * pango/pangox.c (font_struct_get_ligatures): memory leak fix
2375 2001-02-10 Tor Lillqvist <tml@iki.fi>
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".
2384 * pango/makefile.mingw.in: Use mini-fribidi instead of full
2387 * pango/pangowin32.c (pango_win32_render_layout_line): Adapt to
2388 changed PangoAttrColor.
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).
2394 * pango/mini-fribidi/makefile.mingw: New file
2396 2001-02-05 Alexander Larsson <alexl@redhat.com>
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.
2402 Sun Feb 4 07:48:47 2001 Tim Janik <timj@gtk.org>
2404 * pango/pango-attributes.c (pango_color_get_type): pass 0 as
2405 first argument to g_type_init().
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.
2413 * i dare saying that i doubt the usefullness of all these
2414 g_type_init() calls though.
2416 2001-01-26 Havoc Pennington <hp@redhat.com>
2418 * pango/pangox.h (PangoGetGCFunc): take a PangoColor not a
2421 * pango/pango-attributes.h: add PangoColor, add PANGO_ATTR_INVALID
2422 as a placeholder for zero in the PangoAttrType enum, corresponds
2425 * pango/pango-attributes.c: Add PangoColor type, use for
2427 (pango_color_get_type): new function
2428 (pango_color_copy): new function
2429 (pango_color_free): new function
2431 Thu Jan 25 14:47:17 2001 Owen Taylor <otaylor@redhat.com>
2433 * pango/pango-sections.txt pango/pango-docs.sgml pango/tmpl/*:
2434 Updates for new functions.
2436 2001-01-23 Havoc Pennington <hp@redhat.com>
2438 * pango/pango-layout.c (pango_layout_copy): New function
2440 2001-01-23 Alex Larsson <alla@lysator.liu.se>
2442 * pango/pango-item.c (pango_item_free):
2443 Free item->extra_attrs list.
2445 * pango/pango-layout.c (process_item):
2446 Don't leak copy of item.
2448 * pango/pango-utils.c (read_config_file):
2449 If the config file open fails, don't leak the
2452 2001-01-23 <alla@lysator.liu.se>
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.
2462 2001-01-22 Havoc Pennington <hp@redhat.com>
2464 * tests/testboundaries.c (check_line_char): s/is_break/is_line_break/g;
2466 * pango/pango-layout.c, pango/pango-layout.h: Add PangoWrapMode
2469 * pango/break.c (pango_default_break): implement char break log
2472 * pango/pango-break.h (struct _PangoLogAttr): rename is_break
2473 is_line_break, add is_char_break field
2475 2001-01-18 Alex Larsson <alla@lysator.liu.se>
2477 * pango/pangoft2.c (get_font_metrics_from_subfonts):
2478 Use correct font metrics information.
2480 2001-01-07 Tor Lillqvist <tml@iki.fi>
2482 * pango/fonts.c (pango_font_description_to_filename): Allow '+' in
2485 * pango/pangowin32.c (get_font_metrics_from_string): Adopt to new
2486 prototype for g_utf8_to_ucs4).
2488 * pango/module-defs.c.win32: Removed.
2490 * pango/module-defs-ft2.c.win32: New file, hand-written until GNU
2491 configure is used on Win32, too.
2493 * pango/makefile.mingw.in
2494 * pango/Makefile.am (EXTRA_DIST): Corresponding changes.
2496 * pango/pango.def: Update.
2498 Sat Jan 6 20:23:54 2001 Owen Taylor <otaylor@redhat.com>
2500 * modules/arabic/arabic-x.c (arabic_engine_shape): Adapt
2501 to new g_utf8_to_ucs4() prototype.
2503 * modules/basic/basic-ft2.c: Include pango-engine.h
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
2509 Fri Jan 5 16:12:37 2001 Owen Taylor <otaylor@redhat.com>
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.).
2514 2001-01-05 Alexander Larsson <alla@lysator.liu.se>
2516 * .cvsignore: Add pangoft2.pc
2520 Build and install pangoft2.pc
2525 2001-01-04 Havoc Pennington <hp@redhat.com>
2527 * modules/indic/Makefile.am (INCLUDES): add X_CFLAGS
2529 * modules/hangul/Makefile.am (INCLUDES): add X_CFLAGS
2531 * modules/tamil/Makefile.am (INCLUDES): add X_CFLAGS
2533 * modules/thai/Makefile.am (INCLUDES): add X_CFLAGS
2535 2001-01-04 Havoc Pennington <hp@redhat.com>
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.
2541 * modules/Makefile.am (install-data-local): remove creation of module file
2544 * Makefile.am (SUBDIRS): remove pango-config
2546 * configure.in: use pkg-config to detect GLib cflags/libs
2548 * pangoxft.pc (Description): fix name/description
2550 2001-01-04 Alexander Larsson <alla@lysator.liu.se>
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).
2569 add module-defs*.[ch]
2571 2001-01-03 Alexander Larsson <alexl@redhat.com>
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.
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.
2604 2001-01-03 Alexander Larsson <alexl@redhat.com>
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
2612 * modules/arabic/Makefile.am:
2613 Build libpango-arabic-xft.la if INCLUDE_ARABIC_XFT.
2615 * modules/arabic/arabic-xft.c:
2616 Change module prefix to _pango_arabic_xft_
2618 * modules/basic/Makefile.am:
2619 Build static libs for all included modules.
2621 * modules/basic/basic-ft2.c:
2622 Change module prefix to _pango_basic_ft2_
2624 * modules/basic/basic-xft.c:
2625 Change module prefix to _pango_basic_xft_
2627 * pango/Makefile.am:
2628 Include correct module-defs-XXX in libs.
2631 Split _pango_included_modules[] into separate lists.
2635 * pango/pangoxft-fontmap.c:
2636 Register built in modules.
2638 2000-12-22 Alexander Larsson <alla@lysator.liu.se>
2641 Remove timing printfs.
2643 * pango/pangoft2-private.h:
2646 2000-12-21 Tor Lillqvist <tml@iki.fi>
2648 * modules/basic/basic-win32.c (script_engine_load): Only a script
2651 * pango/makefile.mingw.in: Add the built pango-enum-types.[ch].
2654 * pango/pangoft2.def: Update.
2656 * pango/opentype/pango-ot.def
2657 * pango/opentype/makefile.mingw.in: New files.
2659 * pango/opentype/Makefile.am (EXTRA_DIST): Add them.
2661 * configure.in (included_modules): Generate
2662 pango/opentype/makefile.mingw.
2664 2000-12-21 Alexander Larsson <alexl@redhat.com>
2667 Change usage to say pango-config instead of glib-config.
2668 Add support for pangoft2.
2670 * modules/basic/Makefile.am:
2671 Compile and install pango-basic-ft2 if freetype was found.
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.
2677 * pango/Makefile.am:
2678 Compile and install pangoft2 if freetype was found.
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.
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.
2690 * pango/pangoft2-private.h:
2691 Add PangoFT2GlyphInfo.
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.
2702 Export pango_ft2_get_face, remove pango_ft2_has_glyph.
2704 Wed Dec 20 19:53:09 2000 Owen Taylor <otaylor@redhat.com>
2706 * docs/Makefile.am (IGNORE_HFILES): Add opentype/.
2708 * modules/{basic/basic,arabic/arabic}-xft.c: Include
2711 * pango/pangoxft.h: Don't include pango.h to avoid
2712 getting pango-enum-types.h.
2714 * pango/Makefile.am (pangoinclude_HEADERS): Move
2715 XFT_HFILES out of pango_headers, since mkenums.pl
2716 shouldn't be run on it.
2718 2000-12-20 Havoc Pennington <hp@redhat.com>
2720 * configure.in: fix freetype check a bit
2722 Tue Dec 19 22:47:16 2000 Owen Taylor <otaylor@redhat.com>
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.
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.
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.
2741 * pango/pangoxft.h pango/pangoxft-font.h: Add calls for
2742 getting FT_Face and PangoOTInfo from PangoXftFont.
2744 * modules/arabic/{Makefile.am,arabic-ot.[ch],arabic-xft.c}:
2745 Initial support for rendering Arabic with OpenType fonts.
2747 2000-12-18 Havoc Pennington <hp@redhat.com>
2749 Fix build breakage, reported by Alex Larsson and Yasushi Shoji
2751 * pango/pangox.h: don't include pango.h, just individual headers
2753 * configure.in: check for perl, add --disable-rebuilds configure
2754 option, automatically disable rebuilds if no perl
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
2760 * modules/*/*.[hc]: don't include pango.h, include specific headers
2762 2000-12-15 Havoc Pennington <hp@pobox.com>
2764 * pango/pango-glyph.h: move pango_shape and pango_reorder_items in
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.
2772 * pango/makeenums.pl: script to generate pango-enum-types.[hc]
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
2779 * pango/pango.h: moved most of it to pango-break.h
2781 * pango/break.c: include individual headers, not pango.h
2783 * pango/shape.c: ditto
2785 * pango/reorder-items.c: ditto
2787 * pango/querymodules.c: ditto
2789 * pango/pango-layout.c: ditto
2791 * pango/pango-indic.c: ditto
2793 * pango/mapping.c: ditto
2795 * pango/itemize.c: ditto
2797 * pango/fonts.c: ditto
2799 2000-12-15 Havoc Pennington <hp@redhat.com>
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
2806 * pango/pango-context.c (fallback_engine_shape): fix this to
2807 avoid incrementing i twice
2808 (fallback_shaper): fix initializer
2810 * pango/querymodules.c (query_module): don't call g_module_close()
2811 on a module that doesn't get opened successfully
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
2817 * pango/pangox.c (pango_x_get_context): register included modules
2820 * pango/pangoxft-font.c: do not include modules.h
2822 * pango/Makefile.am (libpango_la_SOURCES): move modules.c,
2823 back in here (but not modules.h, which actually goes with
2826 2000-12-14 Havoc Pennington <hp@redhat.com>
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.
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...
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
2841 Thu Dec 14 20:34:18 2000 Owen Taylor <otaylor@redhat.com>
2843 * pango/pangoxft.h pango/pangoxft-font.c: (PANGO_TYPE_XFT_FONT): Add
2844 PANGO_XFT_IS_FONT to the public header.
2846 Thu Dec 14 19:00:46 2000 Owen Taylor <otaylor@redhat.com>
2848 * modules/indic/pango-indic-script.h: Fix macro breakage.
2850 * modules/basic/tables-big.i: Remove extra copy of basic_ranges.
2852 * modules/thai/thai.c: Fix various warnings.
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.
2860 2000-12-14 Havoc Pennington <hp@redhat.com>
2862 * pango/fonts.c (pango_font_find_shaper): add assertion that
2863 shaper != NULL to catch engine problems faster
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
2869 * examples/Makefile.am (pango_viewer_LDADD): fix order of link
2871 * modules/indic/pango-indic-script.h (pango_indic_get_char): make
2872 this a macro, so it doesn't collide between modules
2874 * modules/*/Makefile.am: Fix to work if the module isn't included
2876 * examples/Makefile.am: don't query modules if we didn't build any
2878 * modules/indic/gurmukhi.c (MODULE_ENTRY): fix prefix
2880 * modules/indic/bengali.c (MODULE_ENTRY): fix prefix
2882 * modules/indic/gujarati.c (MODULE_ENTRY): fix prefix
2884 * modules/indic/devanagari.c (MODULE_ENTRY): fix prefix
2886 * modules/indic/myanmar.c (MODULE_ENTRY): uniquely prefix the functions
2888 * modules/Makefile.am (MODULES): handle case where there are no
2891 * configure.in: Fix up include_modules stuff to work with Indic
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.
2897 2000-12-15 Tor Lillqvist <tml@iki.fi>
2899 * pango/pangoft2.c (pango_ft2_ft_strerror): Update for newest
2901 (pango_ft2_font_finalize): gcc warns about empty format strings,
2902 so use just a space...
2904 2000-12-11 Havoc Pennington <hp@redhat.com>
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
2909 2000-12-11 Elliot Lee <sopwith@redhat.com>
2911 * modules/thai/thai.c, pango/break.c: #include <string.h>
2913 Mon Dec 11 15:20:24 2000 Owen Taylor <otaylor@redhat.com>
2915 * examples/HELLO.utf8: Add a tab into to Yiddish line
2916 to force correct segmentation around the parentheses.
2918 2000-11-30 Havoc Pennington <hp@pobox.com>
2920 * modules/thai/thai.c: delete lang engine
2922 * modules/tamil/tamil.c: delete lang engine
2923 (tamil_engine_x_new): fix type tag for shape engine
2925 * modules/indic/myanmar.c: delete lang engine
2926 (pango_engine_x_new): fix type tag for shape engine
2928 * modules/indic/gurmukhi.c: delete lang engine
2929 (pango_indic_engine_x_new): fix type tag for shape engine
2931 * modules/indic/gujarati.c: delete lang engine
2932 (pango_indic_engine_x_new): fix type tag for shape engine
2934 * modules/indic/devanagari.c: delete lang engine
2935 (pango_indic_engine_x_new): fix type tag for shape engine
2937 * modules/indic/pango-indic-script.h (SCRIPT_ENGINE_DEFINITION):
2940 * modules/indic/bengali.c: delete the lang engine
2941 (pango_indic_engine_x_new): fix type tag for shape engine
2943 * modules/hangul/hangul.c: delete the lang engine
2944 (hangul_engine_x_new): fix type tag for shape engine
2946 * modules/basic/basic.c: delete the lang engine
2947 (basic_engine_x_new): fix type tag for shape engine
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
2953 * modules/basic/basic-ft2.c: delete the lang engine
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
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
2964 * pango/break.c (pango_find_paragraph_boundary): New function
2965 to find paragraph boundaries
2967 * pango/pango-layout.c (get_items_log_attrs): don't separate calls
2968 to pango_break() when directional level changes
2970 * pango/pango-layout.h (struct _PangoLayoutLine): put start index
2971 of the line into the struct
2973 * pango/pango-layout.c (pango_layout_get_cursor_pos): Fixups to
2974 reflect the fact that paragraph separators are removed from the
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
2981 * tests/testboundaries.c, tests/Makefile.am, tests/runtests.sh:
2982 Add directory for test programs, and a script to run them all
2984 * configure.in: Create Makefile in tests
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
2990 * pango/pango-context.c (pango_itemize): use pango_item_new(),
2991 assert that items added to the list are sane.
2993 * pango/pango-layout.c (pango_layout_check_lines): Reimplement
2994 to honor the paragraph boundaries from pango_break()
2996 * pango/pango-layout.c (process_item): use pango_item_split() here
2998 * pango/pango-item.c (pango_item_split): New function to split an
3001 Fri Dec 1 11:49:50 2000 Owen Taylor <otaylor@redhat.com>
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)
3007 2000-12-01 Tor Lillqvist <tml@iki.fi>
3009 * pango/pango-utils.c (pango_get_sysconf_subdirectory): Use
3012 2000-11-30 Tor Lillqvist <tml@iki.fi>
3014 * pango/makefile.mingw.in (DEFINES): Define PANGO_VERSION.
3016 Changes by Hans Breuer:
3018 * pango/pango-layout.c (shape_tab): Add a FIXME comment.
3020 * pango/pango-markup.c (compare_xcolor_entries): Use g_strcasecmp.
3022 * pango/pango-utils.c (pango_get_sysconf_subdirectory): Use second
3023 fallback location if there is no pango subdir in the Windows
3026 * pango/pangowin32-fontmap.c
3027 (pango_win32_font_entry_get_coverage): Check if fopen succeeded.
3029 * pango/pangowin32-private.h (DEBUGGING): Turn off.
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.
3035 * pango/querymodules.c: Small change for MSVC build.
3037 * modules/basic/basic-win32.c (basic_engine_get_coverage):
3038 Performance improvement.
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.
3043 Wed Nov 29 11:08:52 2000 Owen Taylor <otaylor@redhat.com>
3045 * pango/mini-fribidi/fribidi.c pango/mini-fribidi/fribidi-tables.i:
3046 Some tiny changes to correspond to fribidi-0.15
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.
3052 2000-11-20 Tor Lillqvist <tml@iki.fi>
3054 * Makefile.am (EXTRA_DIST): Add README.win32.
3056 * examples/pangoft2.aliases: Add this file to CVS.
3058 * examples/Makefile.am (EXTRA_DIST): Add it here.
3060 2000-11-21 Elliot Lee <sopwith@redhat.com>
3062 * modules/*/*.c: Fix warnings - mostly include string.h for strcmp.
3064 2000-11-20 Havoc Pennington <hp@redhat.com>
3066 * pango/pango-layout.c (update_run): Fix this to make iteration
3067 over runs work properly
3069 2000-11-19 Tor Lillqvist <tml@iki.fi>
3071 * README.win32: New file.
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.
3080 * pango/pango-font.h: Declare pango_font_description_to_filename.
3082 * pango/pangowin32.c (pango_win32_font_describe)
3083 * pango/pangoft2.c (pango_ft2_font_describe): Implement these.
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.
3089 * pango/pangoft2-private.h (struct _PangoFT2FontEntry)
3090 * pango/pangowin32-private.h (struct _PangoWin32FontEntry): Move
3091 struct definition here from the -fontmap files.
3093 * pango/pango.def: Updates.
3095 Fri Nov 17 16:12:34 2000 Owen Taylor <otaylor@redhat.com>
3099 * NEWS: Updates for 0.13
3101 Fri Nov 17 16:04:19 2000 Owen Taylor <otaylor@redhat.com>
3103 * tools/Makefile.am (EXTRA_DIST): Add maps/tis-620
3105 * Makefile.am (EXTRA_DIST): Added TODO.xml
3107 * pango/Makefile.am (EXTRA_DIST): Add .def files
3110 * examples/Makefile.am (EXTRA_DIST): Add a couple
3113 * docs/Makefile.am (dist-hook): Add back accidentally
3114 removed rule to distribute TEXT/*.
3116 Thu Nov 16 18:59:21 2000 Owen Taylor <otaylor@redhat.com>
3118 * pango/glyphstring.c (pango_glyph_string_extents_range): Test
3119 against start not zero.
3121 Thu Nov 16 13:23:43 2000 Owen Taylor <otaylor@redhat.com>
3123 * docs/pango-sections.txt docs/tmpl/modules.sgml: Add
3124 pango_module_register ().
3126 * pango/modules.c: Make ordering of module lookup
3129 * pango/modules.c (pango_module_register): Add a
3132 * pango/pango-modules.[ch]: Fix indentation.
3136 2000-11-16 Havoc Pennington <hp@redhat.com>
3138 * pango/modules.c (handle_included_module): Declare variable j so
3141 2000-11-15 Elliot Lee <sopwith@redhat.com>
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.
3148 Wed Nov 15 16:56:38 2000 Owen Taylor <otaylor@redhat.com>
3150 * pango/pango-layout.c (process_item): Fix problem with
3151 unbreakable words at start of line longer than line width.
3153 Wed Nov 15 15:04:00 2000 Owen Taylor <otaylor@redhat.com>
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.
3159 Tue Nov 14 18:45:24 2000 Owen Taylor <otaylor@redhat.com>
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.
3166 Wed Nov 15 10:50:38 2000 Owen Taylor <otaylor@redhat.com>
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.
3172 2000-11-14 Havoc Pennington <hp@redhat.com>
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
3178 2000-11-15 Tor Lillqvist <tml@iki.fi>
3180 * config.h.win32: Define HAVE_FRIBIDI.
3182 * pango/pango.def: Add new functions.
3184 * pango/pango{win32*,ft2*}.[ch]: Add my name to copyright notice.
3186 Tue Nov 14 11:10:24 2000 Owen Taylor <otaylor@redhat.com>
3188 * pango/pango-layout.c (pango_layout_run_get_extents):
3189 Fix low underline code to deal with run_ink == NULL.
3191 * pango/pango-utils.c (pango_read_line): Return number
3192 of lines read to allow decent parse errors line numbers.
3194 * pango/pangox-fontmap.c (pango_x_font_map_read_alias_file):
3195 Fix line number count.
3197 * examples/pangox.aliases: Include extra international fonts
3198 for all styles, not just roman, reindent so it looks
3201 Mon Nov 13 14:02:48 2000 Owen Taylor <otaylor@redhat.com>
3203 * pango/pangox.c pango/pango-indic.c: Some doc comment
3206 2000-11-13 Havoc Pennington <hp@redhat.com>
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
3213 2000-11-13 Havoc Pennington <hp@redhat.com>
3215 * examples/pangox.aliases: Add italic/bold variants
3217 2000-11-13 Elliot Lee <sopwith@redhat.com>
3219 Patches from long ago:
3220 * pango/pango-layout.c: Make pango_layout slightly more robust.
3221 Do check_lines before getting cursor position.
3223 2000-11-13 Havoc Pennington <hp@redhat.com>
3225 * docs/pango-sections.txt: Add new PangoLayoutIter entry points
3227 * pango/glyphstring.c (pango_glyph_string_extents_range): New
3230 * pango/pango-layout.c: Create PangoLayoutIter for iterating over
3231 a layout's visual elements
3233 * pango/pango-layout.c (pango_layout_check_lines): plug
3234 a memleak (attr iterator not freed)
3236 * pango/pango-tabs.c (pango_tab_array_free): plug a memleak
3237 (array->tabs not freed)
3239 Mon Nov 13 09:17:34 2000 Owen Taylor <otaylor@redhat.com>
3241 * pango/pangox.c: Remove fribidi include.
3243 * pango.pc.in (Requires): Substitute fribidi reference only
3246 * Makefile.am (pkgconfigdir): pkgconfigdir is $(libdir)/pkgconfig
3248 * modules/indic/Makefile.am (EXTRA_DIST): Add pango-indic-script.h
3250 * fonts/Makefile.am (EXTRA_DIST): Remove devnag*
3252 * configure.in: Up version to 0.13
3254 * docs/pango-docs.sgml: Reorganize, add all new chapters.
3256 * docs/pango-sections.txt: Update
3258 * docs/Makefile.am (IGNORE_HFILES): add mini-fribidi
3261 2000-11-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
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.
3268 * pango/fonts.c, pango/pango-font.h, pango/pango-context.c:
3269 Renamed pango_font_description_compare to
3270 pango_font_description_equal.
3272 * docs/pango-sections.txt, docs/tmpl/fonts.sgml,
3273 docs/tmpl/text-attributes.sgml: Changed accordingly.
3275 2000-11-12 Havoc Pennington <hp@pobox.com>
3277 * pango-config.in: Remove UNICODE_LIBS UNICODE_CFLAGS
3279 * modules/thai/Makefile.am (pango_thai_la_LIBADD): ditto
3281 * modules/basic/Makefile.am: ditto
3283 * pango/Makefile.am: ditto
3285 Mon Nov 13 02:55:38 2000 Robert Brady <robert@suse.co.uk>
3287 * examples/pangox.aliases: Added
3288 -daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0, for
3291 Mon Nov 13 02:39:44 2000 Robert Brady <robert@suse.co.uk>
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.
3297 Sun Nov 12 18:36:38 2000 Owen Taylor <otaylor@redhat.com>
3299 * configure.in (included_modules): Remove checks
3300 for iconv - we now depend on g_iconv wrapper defined
3303 * modules/basic/basic.c: Use g_iconv_* not iconv().
3305 * pango/itemize.c pango/pango-context.c modules/thai/thai.c:
3306 Remove spurious iconv.h includes.
3308 Sun Nov 12 16:07:06 2000 Owen Taylor <otaylor@redhat.com>
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
3317 * pango/pango-utils.[ch]: Wrappers for
3318 fribidi_ functions when compiling with fribiid.
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
3326 2000-11-12 Robert Brady <robert@suse.co.uk>
3328 * pango/pango-indic.c (pango_shift_vowels): Don't corrupt the
3331 2000-11-12 Havoc Pennington <hp@pobox.com>
3333 * pango/pango-layout.c (pango_layout_get_text): Add accessor to
3334 get the text from the layout
3336 2000-11-11 Tor Lillqvist <tml@iki.fi>
3338 * pango/pangowin32.c (pango_win32_render): Add code to call
3339 SetTextAlign, but commented out.
3341 * pango/makefile.mingw.in (PANGO_OBJS): Add new objects.
3343 * pango/pango.def: Add new functions.
3345 2000-11-08 Robert Brady <rwb197@zepler.org>
3347 * pango/fonts/devnag.README: Updated to point to the new fonts
3349 * examples/HELLO.utf8: Added a few new entries.
3351 * modules/Makefile.am, configure.in: s/devanagari/indic/
3353 * modules/devangari: Removed.
3355 * modules/indic: New shapers for Devanagari,
3356 Bengali, Gurmukhi, Gujarati, and Burmese, that make use of
3357 the below facilities.
3359 * pango/fonts/devnag18.bdf: Removed.
3361 * pango/docs/TEXT/ligatures: Documentation on the ligatures.
3363 * examples/pangox.aliases: Added fonts for the new Indic renderers
3364 to sans, serif and monospace.
3366 * pango/pangox-fontmap.c, pango/pangox-private.h: Add a
3367 per-PangoXFontMap cache for X Atoms.
3369 * pango/pango-intset.c, pango/pango-intset.h: Integer set.
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.
3375 Also add utility functions pango_x_fallback_shaper,
3376 pango_x_find_first_subfont.
3378 * pango/pango-indic.c, pango/pango-indic.h: Utility functions for
3381 * pango/Makefile.am: Add pango-intset, pango-indic.
3383 Thu Nov 2 16:21:22 2000 Owen Taylor <otaylor@redhat.com>
3385 * pango/modules/arabic: new version of Arabic shaper from Karl
3388 2000-11-01 Havoc Pennington <hp@redhat.com>
3390 * pango/pango-markup.c (pango_parse_markup): Return the accel
3393 2000-11-01 Havoc Pennington <hp@redhat.com>
3395 * pango/pango-markup.c (text_handler): Fix bug where not all text
3396 was appended when parsing accelerators
3398 2000-11-01 Pablo Saratxaga <pablo@mandrakesoft.com>
3400 * modules/thai/thai.c: added aliases for X11 font names used on
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...
3406 2000-11-01 Havoc Pennington <hp@pobox.com>
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.
3412 * pango/pango-utils.c (pango_parse_stretch): Take a plain string
3414 (pango_parse_weight): ditto
3415 (pango_parse_variant): ditto
3416 (pango_parse_style): ditto
3418 * pango/pangox-fontmap.c (pango_x_font_map_read_alias_file): pass
3419 GString::str instead of the GString itself to pango_parse_*
3421 * pango/pangoft2-fontmap.c (pango_ft2_insert_face): ditto
3423 * pango/pangowin32-fontmap.c
3424 (pango_win32_font_map_read_alias_file): ditto
3426 * pango/pango-layout.c (get_tab_pos): adapt to new pango_itemize()
3428 (pango_layout_check_lines): Raise attr list copy/creation out of
3429 the loop over paragraphs. Adapt to pango_itemize() changes.
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.
3437 * docs/pango-sections.txt: Add new stuff
3438 docs/pango_markup.sgml: Docs on markup format
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.
3446 * pango/pango-attributes.h (pango_parse_markup): New function to
3447 convert a tag string to an attribute list
3449 * pango/pango-markup.c (pango_parse_markup): implement
3451 * docs/Makefile.am, docs/pango-docs.sgml, docs/pango-sections.txt,
3452 docs/pango_markup.sgml: oooooh, documentation for the above patch!
3454 * docs/tmpl/pango-unused.sgml: Remove from CVS; just causes
3455 problems, and was full of checked-in conflict markers.
3457 Tue Sep 12 10:21:08 2000 Owen Taylor <otaylor@redhat.com>
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),
3465 * pango/pango-utils.c (pango_read_line): Minor bug
3468 Sun Oct 29 01:27:39 2000 Owen Taylor <otaylor@redhat.com>
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.
3475 * configure.in pango/docs/Makefile.am: upgrade to
3476 have a real install rule, etc.
3478 * pango/docs/pango-sections.txt: Add various missing
3481 Wed Oct 25 15:39:49 2000 Tim Janik <timj@gtk.org>
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.
3487 2000-10-03 Tor Lillqvist <tml@iki.fi>
3490 * pango/pangoft2.def: Add new entry points.
3492 * pango/pango-coverage.c (pango_coverage_set): Remove unnecessary
3493 loop calling memset() with same parameters 64 times ;-)
3495 * pango/makefile.mingw.in (PANGO_OBJS): Add pango-tabs.o.
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.
3501 * pango/pangoft2.c (pango_ft2_get_coverage): New function.
3503 * modules/basic/basic-win32.c: Use "BasicScriptEngineLangWin32" to
3506 * modules/basic/basic-ft2.c: Add comments explaining what Unicode
3507 ranges the table entries covers. Use "BasicScriptEngineLangFT2" to
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.
3515 * examples/viewer-ft2.c (split_paragraphs): Just end the string
3516 upon encountering an invalid character. Don't return.
3518 2000-09-29 Martin Baulig <baulig@suse.de>
3520 * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
3521 this is the directory where pkg-config actually looks.
3523 * *.pc.in: Made the pkg-config scripts actually work.
3525 2000-09-28 Havoc Pennington <hp@pobox.com>
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
3531 2000-09-27 Havoc Pennington <hp@redhat.com>
3533 * pango/pango-tabs.c (pango_tab_array_get_tabs): Change to return
3536 2000-09-25 Havoc Pennington <hp@redhat.com>
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)
3542 * pango/pango-tabs.c, pango/pango-tabs.h: tab-related data types
3544 Sun Sep 10 03:01:53 2000 Owen Taylor <otaylor@redhat.com>
3546 * pango/pango-layout.c (pango_layout_set_attributes): Fix
3547 bug where wrong attribute list was unreferenced.
3549 * pango/pango-attributes.[ch]: Add function
3550 pango_attr_list_splice() to splice contents of one
3551 attribute list into another attribute list.
3553 * pango/pango-utils.h: Add include of pango-font.h since
3554 it now depends on declarations from there.
3556 2000-09-08 Jonathan Blandford <jrb@redhat.com>
3558 * pango/pango-attributes.c (pango_attr_list_change): Minor fixes
3559 to Owen's patch below to make it work.
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.
3565 Thu Sep 7 05:12:09 2000 Owen Taylor <otaylor@redhat.com>
3567 * pango/pango-attributes.c (pango_attr_list_change): Fix up to
3568 match the docs, correct bugs found by Jonathan Blandford.
3570 2000-09-04 Robert W Brady <robert@susu.org.uk>
3572 * modules/basic/tables-big.i: Use iso10646-1 fonts
3573 for Georgian, Ethiopic, Cherokee, Canadian, Ogham,
3576 Thu Aug 31 11:29:33 2000 Owen Taylor <otaylor@redhat.com>
3578 * tools/maps/tis-620: Check in this file, since it
3579 isn't from the Unicode consortium.
3581 Wed Aug 30 21:42:42 2000 Owen Taylor <otaylor@redhat.com>
3583 * configure.in (QTDIR): Add /usr/lib/qt-2.2.0 to the
3586 * modules/basic/tables-big.i: Updated using fixed
3587 make-table.sh. Added koi8-r and iso8859-1
3589 * modules/basic/tables-small.i: Add note noting
3592 * tools/make-table.sh: Fix for mapping tables with
3593 3 columns provided by KUSANO Takayuki.
3595 2000-08-29 Elliot Lee <sopwith@redhat.com>
3597 * pango/pango-context.h, pango/pango-font.h,
3598 pango/pango-fontmap.h, pango/pango-layout.h: Utilize G_GNUC_CONST
3600 Mon Aug 21 22:02:38 2000 Owen Taylor <otaylor@redhat.com>
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.
3607 * pango/pangox-fontmap.c (pango_x_font_map_load_font): Equate
3608 PANGO_STYLE_OBLIQUE and PANGO_STYLE_ITALIC, but with a big
3611 2000-08-21 Tor Lillqvist <tml@iki.fi>
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.
3618 * pango/{pango,pangoft2,pangowin32}.rc.in: New files (resource
3619 files used when building Win32 DLLs, contain version information).
3621 * pango/Makefile.am: Add the new files.
3623 * configure.in: Define major and minor version numbers separately.
3624 Output also the makefile.mingw and *.rc files.
3626 * pango/pangoft2.c (pango_ft2_render): Handle also ft_pixel_mode_mono
3629 * pango/pangoft2*: Portability enhancements (non-gcc).
3631 Sun Aug 20 13:45:08 2000 Owen Taylor <otaylor@redhat.com>
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.
3636 2000-08-20 Tor Lillqvist <tml@iki.fi>
3638 * pango/pango-utils.c (pango_parse_*): Add parameter telling
3639 whether to print warning or not if string isn't recognised. Use
3642 * pango/pango-utils.h: Change prototype accordingly.
3644 * pango/pangox-fontmap.c
3645 * pango/pangowin32-fontmap.c: Change calls correspondingly.
3647 * pango/pangowin32.h:
3648 * pango/pangowin32.c: Cosmetic changes, dead code removal.
3651 * pango/pangoft2-private.h
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.
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.
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.
3667 * pango/makefile.mingw: Delete. Move contents to
3670 * pango/makefile.mingw.in: New file. Add rules for
3671 FreeType2 backend. Add FreeType2 CFLAGS and LIBS.
3673 * pango/Makefile.am: Generate makefile.mingw.
3674 (EXTRA_DIST): Add FreeType2 backend sources, and
3675 makefile.mingw{,.in}
3677 * pango/module-defs.c.win32
3678 * pango/pangoft2.def: New files.
3680 * modules/engine.def: Delete. Was duplicate of module.def.
3682 * modules/basic/basic-win32.c: Couple of cosmetic changes.
3684 * modules/basic/Makefile.am: Generate makefile.mingw.
3685 (EXTRA_DIST): Add basic-ft2.c, and makefile.mingw{,.in}
3687 * modules/basic/makefile.mingw: Delete. Move contents to
3690 * modules/basic/makefile.mingw.in: New file. Add rule for
3691 basic-ft2. Add FreeType2 CFLAGS and LIBS.
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:
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+.
3705 * examples/makefile.mingw: Delete. Move contents to
3708 * examples/makefile.mingw.in: New file. Add rules for
3709 viewer-ft2. Add FreeType2 CFLAGS and LIBS.
3711 * examples/Makefile.am: Generate makefile.mingw.
3712 (EXTRA_DIST): Add viewer-win32.c and viewer-ft2.c, and
3713 makefile.mingw{,.in}
3715 2000-08-11 Havoc Pennington <hp@redhat.com>
3717 * pangox.pc.in (Cflags): remove /usr/include
3719 * pango.pc.in (Cflags): remove /usr/include
3721 2000-08-08 Elliot Lee <sopwith@redhat.com>
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).
3730 2000-08-07 Elliot Lee <sopwith@redhat.com>
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.
3739 2000-08-03 Elliot Lee <sopwith@redhat.com>
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.
3751 Wed Aug 2 12:00:53 2000 Owen Taylor <otaylor@redhat.com>
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.
3757 Sat Jul 29 21:26:30 2000 Owen Taylor <otaylor@redhat.com>
3759 * examples/viewer-qt.[ch] (ViewerWindow): Remove
3760 hardcoded path to my home directory! Allow specifying
3761 the file on the command line.
3763 * pango/modules.c (process_module_file): Fix bug in
3764 parsing of range strings.
3766 2000-07-31 Havoc Pennington <hp@redhat.com>
3768 * pango.pc.in, pangox.pc.in: pkg-config info files
3770 * Makefile.am: dist/install .pc files
3772 * configure.in: output .pc files
3774 2000-07-28 Martin Baulig <baulig@suse.de>
3776 * pango/pango-layout.c (pango_layout_finalize): Destroy
3777 the layout->font_desc to avoid a memory leak.
3779 2000-07-27 Tor Lillqvist <tml@iki.fi>
3782 * pango/pangowin32.def: New files, forgot to commit earlier.
3784 Sat Jul 22 10:52:06 2000 Owen Taylor <otaylor@redhat.com>
3786 * pango/pango-utils.c: include <stdlib.h>
3788 * configure.in: s/FRIBID_CONFIG/FRIBIDI_CONFIG/.
3790 Fri Jul 21 15:17:26 2000 Owen Taylor <otaylor@redhat.com>
3792 * pango/pango-context.c (pango_itemize): A bit of code
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
3800 * pango/pango-layout.c: Hnadle PangoAttrShape.
3802 * pango/pango-context.[ch]:
3804 Fri Jul 21 09:59:10 2000 Owen Taylor <otaylor@redhat.com>
3806 * pango/modules.c (process_module_file): Free buffer strings.
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.
3813 * pango/pango-context.c (pango_context_finalize): Free
3814 the font description.
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.
3820 * configure.in (X_LIBS): Add a check to detect fribidi being
3821 compiled against glib-1.2.x.
3823 2000-07-20 Tor Lillqvist <tml@iki.fi>
3825 * examples/pangowin32.aliases: Add some more fonts. Document where
3828 * pango/pangowin32.c (subfont_has_glyph): Use 0xFFFE to produce
3830 (create_bitmap_dibsection): Zero out the bitmap.
3832 * pango/pangowin32-fontmap.c (pango_win32_guess_subranges): Set
3833 some additional Unicode subranges for fonts that claim covering
3834 the Vietnamese codepage.
3836 2000-07-19 Tor Lillqvist <tml@iki.fi>
3838 * configure.in: Don't try to use the ! command, not available in all
3839 systems. Move the ! inside the test instead.
3841 * pango-config.in: Change order of --cflags output, so that we can
3842 build with both GLib 1.2 and 1.3 installed.
3844 * modules/devanagari/dev-ligatures.h: No C++ comments, thanks.
3846 * pango/break.c: Fix gccism, non-constant initailiser.
3848 * pango/pango-fontmap.c (pango_font_map_list_fonts,
3849 pango_font_map_list_families): Don't return value from void
3852 * pango/pango-utils.c: Must have at least empty statement after
3855 * examples/pangowin32.aliases: Add Tahoma and Angsana New, these
3856 common fonts have Thai characters.
3858 * pango/pangowin32-private.h: Rename fonts and n_fonts members
3859 to logfonts and n_logfonts, as that is what they are.
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.
3866 2000-07-18 Tor Lillqvist <tml@iki.fi>
3868 * pango/Makefile.am (EXTRA_DIST): Add the pangowin32 sources.
3870 * pango/pangox.c (lang_texts): Add some non-ASCII to the
3871 Finnish and Swedish strings.
3873 * modules/module.def: New file.
3875 * modules/Makefile.am (EXTRA_DIST): Add it.
3877 * modules/basic/Makefile.am (EXTRA_DIST): Add basic-win32.c.
3879 * */makefile.mingw: Small updates.
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
3888 2000-07-16 Tor Lillqvist <tml@iki.fi>
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.
3898 * pango/pango.def: Export them.
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.
3905 * pango/pangowin32.c (pango_win32_list_subfonts): Don't g_free the
3906 subfont_list from the subfonts_by_subrange hash table...
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.
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.
3918 * examples/viewer-win32.c: (split_paragraphs): Don't include the
3920 (draw): Correct 1st parameter to gdk_win32_hdc_{get,release}.
3922 2000-07-15 Tor Lillqvist <tml@iki.fi>
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.
3936 * configure.in: Chek for dirent.h and unistd.h.
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".
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
3950 (read_config): Use pango_get_sysconf_subdirectory().
3952 * pango/modules.c (read_modules): Use pango_get_sysconf_subdirectory().
3953 Don't crash if a module file cannot be opened.
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().
3959 Thu Jul 6 15:24:38 2000 Owen Taylor <otaylor@redhat.com>
3963 * examples/pangox.aliases: Add clealyu fonts
3965 * configure.in: Use AM_PATH_GLIB_2_0()
3967 * pango-config.in: Use @FRIBIDI_LIBS@, not -lfribidi
3969 * pango-config.in: Fix accidental inclusion
3970 -I lib/glib/include/
3972 Mon Jul 10 10:42:42 2000 Owen Taylor <otaylor@redhat.com>
3974 * pango/pango-utils.c (pango_split_file_list): Fix
3975 bug in home directory substitution.
3977 2000-07-06 Havoc Pennington <hp@redhat.com>
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
3983 Thu Jul 6 15:24:38 2000 Owen Taylor <otaylor@redhat.com>
3985 * gdk/Makefile.am: Fix missing \ which was causing
3986 srcdir != builddir builds to fail.
3988 Thu Jul 6 15:16:28 2000 Owen Taylor <otaylor@redhat.com>
3990 * docs/pango-sections.txt docs/tmpl/*: Update
3992 2000-07-03 Havoc Pennington <hp@redhat.com>
3994 * pango/pango-layout.c (pango_layout_index_to_pos): Handle the
3995 case where the byte offset is outside the layout.
3997 Sun Jul 2 18:06:01 2000 Owen Taylor <otaylor@redhat.com>
3999 * pango/pango-layout.c (get_tab_pos): Fix up set_font_description()
4002 Sun Jul 2 17:59:56 2000 Owen Taylor <otaylor@redhat.com>
4004 * pango/pango-attributes.[ch] (pango_attr_list_insert_before): New
4005 function that inserts before other attributes with matching
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.
4012 Sun Jul 2 17:19:11 2000 Owen Taylor <otaylor@redhat.com>
4014 * pango/pango-types.h: Add a PANGO_PIXELS macro to convert
4015 from pango units to device units and round.
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.
4021 Fri Jun 30 16:46:31 2000 Owen Taylor <otaylor@redhat.com>
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
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.
4032 * pango/pangox-fontmap.c: Read list of files from
4033 PangoX/AliasFiles key. Rewrite parsing code for alias files using
4036 * examples/pangox.aliases: Move to new name from pangox_aliases,
4037 reformat using new parsing code.
4039 * examples/pangorc (AliasFiles) examples/pango-viewer: Add a
4040 pangorc file for in-place testing.
4042 * pango/querymodules.c (main): Add comment to the top of
4043 the output indicating that the file should not be hand-edited.
4045 Thu Jun 29 18:13:47 2000 Owen Taylor <otaylor@redhat.com>
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.)
4051 Thu Jun 29 16:35:41 2000 Owen Taylor <otaylor@redhat.com>
4053 * modules/arabic/{*.c,Makefile.am}: New version from Karl
4054 Koehler merged with the changes for the GLib unicode functions.
4056 Wed Jun 21 12:11:56 2000 Owen Taylor <otaylor@redhat.com>
4058 * configure.in: Remove tests for libunicode
4060 * pango/utils.[ch]: Removed. The functions from here are now in
4063 * **.[ch]: Removed use of libunicode and utils.c in favor of
4064 Unicode functions in GLib. Requires latest GLib from CVS.
4066 2000-06-14 Havoc Pennington <hp@redhat.com>
4068 * pango/pango-attributes.c (pango_attr_list_copy): Function to
4069 copy the attribute list.
4071 2000-06-13 Havoc Pennington <hp@redhat.com>
4073 * pango/pango-layout.h: Convert PangoLayout to GObject
4075 * pango/pango-context.h: Convert to PangoContext to GObject
4077 2000-06-11 Elliot Lee <sopwith@redhat.com>
4079 * pango/fonts.c (pango_font_description_compare): g_strcasecmp
4080 returns 0 when strings are equal - negate return value.
4082 2000-06-09 Elliot Lee <sopwith@redhat.com>
4084 * pango/pango-coverage.[ch]: Return 'coverage' from
4087 2000-06-08 Elliot Lee <sopwith@redhat.com>
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()
4095 Thu Jun 8 14:43:35 2000 Owen Taylor <otaylor@redhat.com>
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.
4101 2000-06-08 Elliot Lee <sopwith@redhat.com>
4103 * pango-config.in: Include X_LIBS in libraries for 'pangox' target.
4105 2000-06-07 Havoc Pennington <hp@redhat.com>
4107 * pango/pango-attributes.c (pango_attr_iterator_copy): New
4108 function to copy a PangoAttrIterator.
4110 Mon Jun 5 20:45:12 2000 Owen Taylor <otaylor@redhat.com>
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())
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.
4119 Mon Jun 5 15:56:25 2000 Owen Taylor <otaylor@redhat.com>
4121 * pango/pangox-fontmap.c (pango_x_font_map_for_display): Remove
4124 * pango/pangox-fontcache.c (pango_x_font_cache_unload): Fix
4125 problem with unloading fonts.
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
4131 Wed May 31 16:11:46 2000 Owen Taylor <otaylor@redhat.com>
4133 * pango/pango-fontmap.h (struct _PangoFontMapClass): Remove unused
4136 Sat Jun 3 06:01:38 Pablo Saratxaga <pablo@mandrakesoft.com>
4138 * modules/thai/thai.c: added other common X11 font encoding
4139 names fortis-620 fonts.
4141 Thu Jun 1 13:04:06 CEST 2000 Paolo Molaro <lupus@debian.org>
4143 * configure.in: look for qt also in /usr/lib/qt2.
4145 Wed May 31 10:46:53 2000 Owen Taylor <otaylor@redhat.com>
4147 * configure.in: Release 0.11
4149 * pango.spec.in: Add missing make command.
4151 * modules/basic/Makefile.am (EXTRA_DIST): Fix up extra-dist.
4153 * pango/Makefile.am (libpangox_la_SOURCES): Add pangox-private.h
4155 Tue May 30 14:30:24 2000 Owen Taylor <otaylor@redhat.com>
4157 * pango/fonts.c (pango_font_description_from_string): Use g_strtod().
4159 * pango/fonts.c (pango_font_description_to_string): Fix bug
4160 where spaces where not properly inserted into font description
4163 * pango/fonts.c (pango_font_get_glyph_extents): Fix some
4164 1000 <=> PANGO_SCALE bugs.
4166 * pango/pangox-fontcache.c (pango_x_font_cache_load): Fix list
4169 Mon May 29 13:22:36 2000 Owen Taylor <otaylor@redhat.com>
4171 * pango/pangox.c pango/pangox.h (pango_x_font_subfont_xlfd): New
4172 function to retrieve the XLFD for a given subfont.
4174 Mon May 29 11:14:34 2000 Owen Taylor <otaylor@redhat.com>
4176 * pango/pangox-fontcache.c (pango_x_font_cache_load): Fix bug
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.
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
4187 Sun May 28 16:24:43 2000 Owen Taylor <otaylor@redhat.com>
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...)
4197 * configure.in: Added checks for Qt.
4199 * pango/pango-layout.h: Fix constness.
4201 Sat May 27 22:05:53 2000 Owen Taylor <otaylor@redhat.com>
4203 * pango/Makefile.am (pangoinclude_HEADERS): Install
4206 * pango/pangox-fontcache.c pango/pangox.h: Add a simple
4207 cache from XLFD => font struct.
4209 * pango/pango-fontmap.c: Use this when loading and unloading
4212 Sat May 27 21:57:03 2000 Owen Taylor <otaylor@redhat.com>
4214 * pango/pango-context.c (pango_context_add_font_map):
4217 Sat May 27 21:06:13 2000 Owen Taylor <otaylor@redhat.com>
4219 * modules/thai/thai.c modules/basic/basic:
4220 s/pango_font_set_data/g_object_set_qdata/
4222 * pango/*.c: s/pango_font_[un]ref/g_object_un[ref]
4224 * pango/pango-font.h fonts.c: GObject'ify PangoFont.
4226 Sat May 27 20:36:56 2000 Owen Taylor <otaylor@redhat.com>
4228 * pango/Makefile.am configure.in: Add libgobject.
4230 * pango/pango-fontmap.[ch]: GObject'ify PangoFontMap.
4231 (Pango now requires GLib-1.3 to compile)
4233 * pango/pangox-fontmap.c pango/pangox-private.h: Break
4234 the fontmap code in libpangox out into a separate file.
4236 Tue May 23 10:32:25 2000 Owen Taylor <otaylor@redhat.com>
4238 * pango/pango-layout.c (pango_layout_set_text): Allow -1 for
4241 2000-05-24 Matt Wilson <msw@redhat.com>
4243 * modules/basic/basic.c (conv_8bit): use size_t for arguments to
4244 iconv, not int. Fixes 64 bit platforms.
4246 * modules/basic/basic.c (conv_euc): likewise
4248 Mon May 22 18:19:32 2000 Owen Taylor <otaylor@redhat.com>
4250 * pango/pango-layout.c (process_item): Fix <, <= confusion.
4252 Thu May 18 17:30:00 2000 Robert Brady <rwb197@zepler.org>
4254 * fonts/devnag18.bdf: Fix advance widths of some glyphs.
4256 Tue May 9 22:09:42 2000 Owen Taylor <otaylor@redhat.com>
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.
4263 * pango/pango-layout.c (pango_layout_unref): Free the
4264 actual layout structure as well.
4266 * pango/pangox.c: Various optimizations of the code for
4267 looking up characters. (mark a few functions inline,
4268 precompute signficiant quantities)
4270 Tue May 9 03:22:11 2000 Owen Taylor <otaylor@redhat.com>
4272 * pango/pango-layout.c (pango_layout_check_lines): Fix
4273 memory leak by freeing correct list.
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?)
4281 Mon May 8 16:39:48 2000 Owen Taylor <otaylor@redhat.com>
4283 * pango/pango-layout.c (free_run): Call pango_item_free
4284 to free items properly including attributes.
4286 Mon May 8 16:19:22 2000 Owen Taylor <otaylor@redhat.com>
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
4293 * pango/pangox.h (PANGO_X_GLYPH_INDEX): Protect
4294 arguments to macros.
4296 Sun May 7 06:15:34 2000 Owen Taylor <otaylor@redhat.com>
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)
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
4310 * modules/basic/basic.c (basic_engine_shape): Don't
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.
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.
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
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.
4332 Fri May 5 18:56:45 2000 Owen Taylor <otaylor@redhat.com>
4334 * pango/break.c (pango_break): Add ZWS to hacky
4337 * modules/basic/basic.c (basic_engine_shape): Special
4338 case zero-width-space as a temporary hack. (What's the
4341 * modules/basic/tables-big.i: Added support for TIS-620
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
4351 Tue May 2 22:59:52 2000 Owen Taylor <otaylor@redhat.com>
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.)
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.
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.
4370 * pango/pango-context.c (add_engines): Remove unused
4371 lookup of shape mask.
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.
4377 * modules/basic/basic.c (find_converter): Get rid
4378 of gratuitous use of hash tables for looking up
4381 * modules/basic/tables-{small,big}.i modules/basic/basic.c:
4382 Use conv_ucs4 instead of conv_8bit for latin-1.
4384 * pango/pango-layout.c: Avoid calling pango_glyph_string_extents() -
4385 just add up the widths from shaping.
4387 Tue May 2 19:16:17 PDT 2000 Manish Singh <yosh@gimp.org>
4389 * examples/Makefile.am: typo fix
4391 Mon May 1 15:04:02 PDT 2000 Manish Singh <yosh@gimp.org>
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.
4397 * examples/Makefile.am
4398 * pango/Makefile.am: use $(FRIBIDI_LIBS)
4400 Mon May 1 11:58:55 2000 Owen Taylor <otaylor@redhat.com>
4402 * modules/arabic/*: Misc bug fixes from Karl Koehler.
4404 Wed Apr 26 19:55:40 2000 Owen Taylor <otaylor@redhat.com>
4406 * configure.in: Add checks looking for iconv in libiconv.
4407 (Thanks to Ross Campbell for helping me test this
4410 Mon Apr 24 22:51:06 2000 Owen Taylor <otaylor@redhat.com>
4412 * configure.in: Released 0.10
4414 * modules/arabic/*: Update from Karl Koehler, including
4415 support for LangBox fonts
4417 Mon Apr 24 20:28:31 2000 Owen Taylor <otaylor@redhat.com>
4419 * docs/**: Updates for recent API changes.
4421 Mon Apr 24 18:09:29 2000 Owen Taylor <otaylor@redhat.com>
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.
4427 * modules/devanagari/devanagari.c (devanagari_engine_shape): A couple
4428 of trivial fixups to make things compile.
4430 Sun Apr 23 23:33:10 2000 Owen Taylor <otaylor@redhat.com>
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.
4436 Thu Apr 20 22:16:39 2000 Owen Taylor <otaylor@redhat.com>
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
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
4452 * pango/break.c (pango_break): Always allow a break before
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.
4459 Fri Apr 7 03:08:09 2000 Owen Taylor <otaylor@redhat.com>
4461 * configure.in (UNICODE_LIBS): Add back in flockfile
4462 check which was accidentally removed.
4464 2000-04-21 Robert Brady <rwb197@zepler.org>
4466 * modules/devanagari/dev-ligatures.h: Add some more ligature
4469 * modules/devanagari.c: New version, now syllable-based, with
4472 Mon Apr 17 12:04:20 2000 Owen Taylor <otaylor@redhat.com>
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.
4479 Fri Apr 14 13:20:05 2000 Owen Taylor <otaylor@redhat.com>
4481 * pango/pango-layout.c (pango_layout_check_lines): Fix bug with
4484 * pango/pango-layout.c (process_item): Never break a line at
4485 a non-break position, even if that position ends an item.
4487 Fri Apr 14 10:43:09 2000 Owen Taylor <otaylor@redhat.com>
4489 * pango/pangox.c (pango_x_render_layout_line): Fix a missing
4490 PANGO_SCALE factor for UNDERLINE_SINGLE.
4492 * pango/pango-layout.c (pango_layout_get_cursor_pos): New function
4493 to determine cursor positions corresponding to a particular
4496 Wed Apr 12 15:44:22 2000 Owen Taylor <otaylor@redhat.com>
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.
4502 Wed Apr 12 13:59:22 2000 Owen Taylor <otaylor@redhat.com>
4504 * configure.in modules/Makefile.am modules/devanagari/*: Added Devanagari
4505 shaper from Robert Brady <rwb197@zepler.org>
4507 * examples/HELLO.utf8: Added Hindi from Emacs
4509 * examples/dev-example.utf: Some syllable strings for testing
4510 the Devanagari shaper.
4512 * examples/pangox_aliases: Added
4513 -*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev
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.
4519 Tue Apr 4 22:03:42 2000 Owen Taylor <otaylor@redhat.com>
4521 * configure.in: Released 0.9
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.
4527 Tue Apr 4 20:56:29 2000 Owen Taylor <otaylor@redhat.com>
4529 * docs/tmpl/* docs/Makefile.am docs/pango-sections.txt
4530 pango/pango-attributes.c pango/pangox.c: Doc updates.
4532 Tue Apr 4 20:13:06 2000 Owen Taylor <otaylor@redhat.com>
4534 * pango/pango-context.h: Add user data to PangoContext
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()
4540 * pango/utils.[ch] pango/pango-context.c: fribidi-0.1.9
4541 wants UCS-4 not UCS2; switch accordingly.
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.
4548 Mon Apr 3 20:30:20 2000 Owen Taylor <otaylor@redhat.com>
4550 * pango/mapping.c (pango_glyph_string_x_to_index): Fix handling
4551 of positions at character limits.
4553 * modules/basic/basic.c (basic_engine_shape): Fix bug that
4554 was causing mirrored characters not to mirror.
4556 Mon Apr 3 15:16:06 2000 Owen Taylor <otaylor@redhat.com>
4558 * pango/glyphstring.c (pango_glyph_string_get_logical_widths):
4559 Fix off-by-one error for RTL runs.
4561 * configure.in: Add -lglib to AC_CHECK_LIB(fribidi...)
4562 (How did this work?) From Matt Wilson.
4564 * pango/pango-layout.c (pango_layout_check_lines): Correctly deal
4565 with handling character offsets when breaking lines.
4567 * modules/arabic/arabic.c (arabic_engine_shape): Fix problem with
4568 setting unknown glyph when no arabic-capable font found.
4570 Fri Mar 31 11:29:47 2000 Owen Taylor <otaylor@redhat.com>
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.
4577 Thu Mar 30 17:06:39 2000 Owen Taylor <otaylor@redhat.com>
4579 * modules/arabic/*.[ch]: New version of Arabic module
4580 from Karl Koehler, supporting:
4582 - More extensive ligatures
4583 - Some Hamza handling
4587 - Persian (farsi) (needs testing)
4589 Thu Mar 30 16:49:06 2000 Owen Taylor <otaylor@redhat.com>
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>)
4595 * pango/pango-layout.[ch]: Add function to get logical attributes
4598 Mon Mar 13 11:47:53 2000 Owen Taylor <otaylor@redhat.com>
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.
4603 Mon Mar 13 10:54:48 2000 Owen Taylor <otaylor@redhat.com>
4605 * pango/pango-item.[ch]: Memory management functions for PangoItem.
4607 * pango/*.[ch]: Random constification.
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
4613 * examples/viewer.c (reload_font): Make paragraphs global
4614 to save the complexity of passing it around all over the place.
4616 * pango/pango-layout.[ch] (pango_layout_context_changed): Add
4617 a function to reset the layout on changes to the layout's
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.)
4624 * pango/pangox.c (pango_x_font_map_for_display): Fix resolution
4627 * pango/pango-layout.c (pango_layout_check_lines): Handle
4628 text with embedded newlines.
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
4634 * pango/pango-layout.c (process_item): Don't wrap if width is
4637 * Makefile.am configure.in **/*.[ch]: move libpango/ directory
4638 and fix all headers to install under include/pango/
4640 Thu Mar 9 19:55:21 2000 Owen Taylor <otaylor@redhat.com>
4644 * docs/TEXT/coding-style: Added some notes about coding style
4647 * modules/*.[ch]: New version from Karl Koehler adding support
4648 for vowels marks, better ligatures.
4650 * docs/tmpl/*: Doc updates
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.
4656 * examples/viewer.c: Simplify using the now 2-D layout-capabable
4659 * libpango/fonts.c (pango_font_{get_coverage,find_shaper}): Allow
4662 * libpango/modules.c (_pango_find_map): Fix for allowing
4665 Wed Mar 8 13:34:57 2000 Owen Taylor <otaylor@redhat.com>
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
4672 * examples/viewer.c: Move over to new layout driver
4673 (much of the code moved into pango-layout.c)
4675 * libpango/glyphs.c libpango/pango-glyphs.h: Fixes to get_extents(),
4676 add pango_glyph_string_get_logical_widths.
4678 * libpango/pango-itemize.c: Handle 0-length text properly.
4680 * libpango/pangox.c: When loading particular sized fonts,
4681 use the original XLFD, since XFree86 doesn't handle wildcards
4682 in aliases properly.
4684 * libpango/pangox.[ch] (pango_x_render_layout_line): Add function
4685 to render an entire PangoLayoutLine.
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.
4691 Wed Mar 8 10:58:56 2000 Owen Taylor <otaylor@redhat.com>
4693 * modules/arabic/arconv.c (shapecount): Fix from Karl
4694 Koehler to joining behavior.
4696 * modules/Makefile.am modules/arabic/*: Added arabic
4697 shaper from Karl Koehler <koehler@or.uni-bonn.de>
4699 * modules/basic/tables-{small,big}.i: Remove arabic
4700 from the ranges that the basic shaper marks as "exact".
4702 * examples/HELLO.utf8: Partially alphabetize, add arabic.
4704 Mon Mar 6 21:03:28 2000 Owen Taylor <otaylor@redhat.com>
4706 * libpango/pango-layout.[ch]: Started work on highlevel layout driver.
4708 Mon Mar 6 20:55:32 2000 Owen Taylor <otaylor@redhat.com>
4710 * libpango/mapping.c example/viewer.c:
4711 * modules/hangul/hangul.c modules/basic/basic.c modules/tamil/tamil.c:
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.
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.
4719 * libpango/pango-types.h: Add a rectangle type for use in storing
4720 glyph/glyph-string extents, plus macros for extracting ascent/descent.
4722 * libpango/fonts.c libpango/pango-font.h libpango/pangox.c: Virtualize
4723 glyph extents function into the font.
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.
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)
4734 Mon Feb 28 19:46:35 2000 Owen Taylor <otaylor@redhat.com>
4736 * libpango/fonts.c libpango/pango-fonts.h: Add functions
4737 to convert font descriptions to and from human-readable
4740 * examples/viewer.c: Use functions from libpango instead
4741 of rolling our own font-description conversion functions.
4743 Fri Feb 25 15:04:21 2000 Owen Taylor <otaylor@redhat.com>
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.
4750 * libpango/pangox.c: Take screen resolution into account when
4751 choosing fonts, instead of assumming point == pixel.
4753 Fri Feb 25 12:32:01 2000 Owen Taylor <otaylor@redhat.com>
4755 * configure.in examples/Makefile.am: If GTK+ test fails,
4756 just skip the example program.
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
4763 Sat Feb 19 18:51:35 2000 Owen Taylor <otaylor@redhat.com>
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.
4769 Sat Feb 19 17:46:49 2000 Owen Taylor <otaylor@redhat.com>
4771 * README: Fix Dov's name.
4773 Wed Feb 16 19:55:05 2000 Owen Taylor <otaylor@redhat.com>
4775 * configure.in: Release 0.7
4777 * examples/Makefile.am (aliasdir): Install example
4778 pangox_aliases file.
4780 * examples/Makefile.am (bin_PROGRAMS): Install
4783 * docs/tmpl/*: Updated templates.
4785 Wed Feb 16 16:39:46 2000 Owen Taylor <otaylor@redhat.com>
4787 * libpango/pango-coverage.c (pango_coverage_get): Make refcounted.
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)
4793 * libpango/pango-context.c (pango_context_get_font_description):
4794 Added a global font description.
4796 * libpango/modules.c (_pango_find_map): Allow NULL
4799 * libpango/pango-context.c (pango_itemize) examples/viewer.c:
4800 Switch itemize over to take a PangoAttrList.
4802 * examples/viewer.c: Conform to changes in itemization interface
4804 * libpango/font.[ch]: Add a compare function for FontDescription
4806 * libpango/pango-attributes.[ch]: Change the iteration iterface
4807 to be more convenient.
4809 * libpango/pango-context.[ch]: Add the ability to set a default font.
4811 * libpango/pango-context.[ch]: Take the font for itemization from
4812 the attributes on the text.
4814 * libpango/pangox.c: Cache currently loaded fonts, and cache
4817 Tue Feb 15 02:35:56 2000 Owen Taylor <otaylor@redhat.com>
4819 * docs/**: Add documentation for attributes.
4821 * Makefile.am libpango/pango-attributes.[ch]: Finish initial
4822 implementation of attributes APIs.
4824 Mon Feb 14 22:04:38 2000 Owen Taylor <otaylor@redhat.com>
4826 * libpango/pango-attributes.[ch]: Start of attribute lists.
4828 Fri Feb 11 16:04:50 2000 Owen Taylor <otaylor@redhat.com>
4830 * libpango/Makefile.am: make dist fixups.
4832 * Makefile.am pango.spec.in: Add a spec file
4834 * examples/HELLO.utf8: Change Maltese to a different
4835 phrase to include some unique Maltese characters.
4836 (Suggestion from Steven R. Loomis)
4838 * libpango/Makefile.am modules/Makefile.am libpango/modules.c:
4839 Move pango.modules file to /var
4841 Thu Feb 10 23:45:49 2000 Owen Taylor <otaylor@redhat.com>
4843 * docs/**: Added recent API changes.
4844 * libpango/pango-context.c: Doc comment fixes
4846 * configure.in: Add in directories from unicode-config
4847 when running AC_CHECK_LIB on libunicode.
4849 Thu Feb 10 23:45:27 2000 Owen Taylor <otaylor@redhat.com>
4851 * configure.in: Up version to match 0.6 release that
4854 * examples/viewer.c (main): Look for fixed if sans
4855 isn't found as an initial font.
4857 * modules/Makefile.am: Add an install rule to
4858 run pango-querymodules.
4860 * modules/*/Makefile.am (module_LTLIBRARIES): Set up
4861 appropriate install rules.
4863 * libpango/Makefile.am: Break the X code out into a
4866 Thu Feb 10 20:19:39 2000 Owen Taylor <otaylor@redhat.com>
4868 * examples/viewer.c: Fix some runtime and compile-time warnings.
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.
4874 Thu Feb 10 19:57:27 2000 Owen Taylor <otaylor@redhat.com>
4876 * examples/viewer.c: Add style selector, rewrite family
4877 selector to use list_families().
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.
4884 Wed Feb 9 14:04:35 2000 Owen Taylor <otaylor@redhat.com>
4888 * docs/*: Added some docs on font handling, both general
4891 Tue Feb 8 15:05:17 2000 Owen Taylor <otaylor@redhat.com>
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.
4900 Mon Feb 7 20:27:35 2000 Owen Taylor <otaylor@redhat.com>
4902 * libpango/pangox.c (pango_x_names_for_size): Start at reworking
4903 code to do size and charset lookups simultaneously. twill compile
4906 Mon Feb 7 16:49:32 2000 Owen Taylor <otaylor@redhat.com>
4908 * examples/viewer.c (make_families_menu): Switch the option
4909 menu for a combo box.
4911 * examples/pangox_aliases: Add a demo alias file.
4913 * libpango/pangox.c: Add a font-alias mechanism allowing.
4915 * examples/viewer.c (make_font_selector): Added a spin-button for
4918 Wed Feb 2 20:49:21 2000 Owen Taylor <otaylor@redhat.com>
4920 * libpango/pangox.c (pango_x_get_unknown_glyph): Add a call to get
4921 a glyph for unknown an unknown char.
4923 * modules/basic/basic.c: use pango_x_get_unknown_glyph.
4925 * libpango/utils.[ch] (_pango_guchar4_to_utf8): Added util function
4926 for coverting wide chars to utf8.
4928 * libpango/pangox.c (pango_x_font_get_coverage pango_x_font_get_shaper):
4929 Initial implementations.
4931 Wed Feb 2 11:12:12 2000 Owen Taylor <otaylor@redhat.com>
4933 * libpango/pango-types.h: Conditionally define G_N_ELEMENTS() when
4936 * modules/basic/basic.c modules/hangul/hangul.c modules/tamil/tamil.c:
4937 Replace MEMBERS() with G_N_ELEMENTS().
4939 * libpango/pango-engine.h: Added a get_coverage() function
4940 to the PangoEngineShape vtable.
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.
4947 Wed Feb 2 00:07:13 2000 Owen Taylor <otaylor@redhat.com>
4949 * libpango/pango-*.h: The great header file reorganization.
4950 Split up roughtly by objects.
4952 * libpango/pango-font.h libpango/fonts.h: Add generic
4953 font-loading and listing interfaces.
4955 * libpango/pangox.c: Implement font-listing/loading interfaces
4958 * libpango/pango-context.[ch]: Flesh out context structure.
4959 Add appropriate accesors, font loading-methods, etc.
4961 * libpango/pango-coverage.[ch]: Coverage map objects.
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.
4967 Thu Jan 27 16:50:51 2000 Owen Taylor <otaylor@redhat.com>
4969 * docs/**: Updates to match recent API changes.
4971 Mon Jan 17 22:03:24 2000 Owen Taylor <otaylor@redhat.com>
4973 * modules/hangul/hangul.c modules/tamil/tamil.c:
4974 Updated to use new X font mechanism.
4976 * libpango/pangox.[ch]: Misc bugfixes, no longer segfaults.
4978 Mon Jan 17 18:29:39 2000 Owen Taylor <otaylor@redhat.com>
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.
4984 Add a function pango_x_list_subfonts() function that lists
4985 subfonts in the proper order for a given list of charsets.
4987 (segfaults currently, will fix pronto)
4989 Sat Jan 15 03:17:35 2000 Owen Taylor <otaylor@redhat.com>
4991 * pango/glyphstring.c pango/mapping.c pango/pangox.c
4992 modules/basic.c examples/viewer.c:
4994 Switch GlyphStrings to have a single array of
4995 PangoGlyphInfo instead of multiple arrays. Rename
4996 PangoGlyphIndex to PangoGlyph.
4998 Sat Jan 15 01:06:45 2000 Owen Taylor <otaylor@redhat.com>
5000 * libpango/pangox.c libpango/pangox.h libpango/fonts.c
5001 libpango/glyphstring.c modules/basic/basic.c:
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.
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.
5011 Rework operation of basic module to be faster and simple.
5013 * modules/Makefile.am: temporarily comment out Tamil and
5014 Hangul modules until I finish mucking with the
5017 Fri Jan 14 12:08:43 2000 Owen Taylor <otaylor@redhat.com>
5019 * examples/HELLO.utf8: Add Pango properly spelled.
5021 * **/Makefile.am: make dist fixes.
5023 Thu Jan 13 17:49:45 2000 Owen Taylor <otaylor@redhat.com>
5027 Thu Jan 13 16:57:22 2000 Owen Taylor <otaylor@redhat.com>
5029 * examples/viewer.c: reindented.
5032 Wed Jan 12 16:49:03 2000 Owen Taylor <otaylor@redhat.com>
5034 * Huge rename from GScript to Pango.
5036 * modules/tamil/* examples/muru.utf fonts/tscakaram.pcf:
5038 Tamil module from Sivaraj Doddannan <sivaraj@intelligroup.com>
5040 Mon Aug 2 18:32:59 1999 Owen Taylor <otaylor@redhat.com>
5042 * configure.in: Check for libunicode.
5044 * examples/viewer.c libgscript/break.c
5045 libgscript/itemize.c modules/basic/basic.c:
5047 Use libunicode functions for conversion.
5049 * modules/basic/basic.c: Add support for
5050 simple accent composition; fix bidi
5051 swapping to correctly swap clusters
5054 1999-07-26 <otaylor@localhost.localdomain>
5056 * libgscript/mapping.c (g_script_cp_to_x): Fix
5059 1999-07-31 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
5061 * modules/hangul/Makefile.am (EXTRA_DIST): Added tables-*.i
5064 1999-07-29 Raja R Harinath <harinath@cs.umn.edu>
5066 * modules/hangul/Makefile.am (INCLUDES): Use
5067 -I$(top_srcdir)/libgscript.
5069 1999-07-30 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
5071 * modules/hangul/*, Makefile.am, configure.in: Added the Hangul
5074 Wed Jul 28 14:45:00 1999 Owen Taylor <otaylor@redhat.com>
5076 * Released version 0.4
5078 Wed Jul 28 14:43:41 1999 Owen Taylor <otaylor@redhat.com>
5080 * libgscript/reorder-items.c: Return NULL correctly.
5082 * libgscript/mapping.c:
5083 Fixed buggy algorithm for cp to x.
5084 Fixed reversed interpolation for x to cp.
5086 Wed Jul 28 14:42:40 1999 Owen Taylor <otaylor@redhat.com>
5088 * libgscript/mapping.c: Fix bugs
5090 Thu Jul 22 09:36:08 1999 Owen Taylor <otaylor@redhat.com>
5092 * Released version 0.3
5094 Wed Jul 21 18:46:14 1999 Owen Taylor <otaylor@redhat.com>
5096 * libgscript/gscriptx.c (g_script_x_extents): Fix
5097 same off-by-one bug here too...
5099 Wed Jul 21 18:44:55 1999 Owen Taylor <otaylor@redhat.com>
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.
5105 Tue Jul 20 20:09:09 1999 Owen Taylor <otaylor@redhat.com>
5107 * docs/tmpl/engines.sgml: First pass at documenting
5110 Tue Jul 20 16:10:48 1999 Owen Taylor <otaylor@redhat.com>
5112 * **: Documentation improvements.
5114 Tue Jul 20 15:05:45 1999 Owen Taylor <otaylor@redhat.com>
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.
5123 Added support for ISO-10646-1 fonts.
5125 * libgscript/fonts.c (g_script_font_[get/set]_data): Add the
5126 ability to add user data to a font.
5128 * libgscript/gscriptx.[ch]: Add functions to allow:
5129 - Querying all XLFD's matching a set of character
5131 - Loading a component font with a particular XLFD.
5132 - Finding the range of present characters for a given XLFD.
5134 Also added tons of caching.
5136 Wed Jul 14 19:11:41 1999 Owen Taylor <otaylor@redhat.com>
5138 * libgscript/gscriptx.c (g_script_x_glyph_extents):
5139 Fixed min/max confusion.
5141 Mon Jul 12 17:14:53 1999 Owen Taylor <otaylor@redhat.com>
5143 * docs/TEXT/glossary (CFont): Expanded.
5145 * libgscript/fonts.c (g_script_cfont_unref): Fixed
5146 leak. (Pointed out by Raph)
5148 * libgscript/gscriptx.c: Handle the case where
5149 fontstruct->per_char == NULL.
5151 Sun Jul 11 23:44:42 1999 Owen Taylor <otaylor@redhat.com>
5155 * **/Makefile.am: Fixes for srcdir != builddir
5157 Sun Jul 11 23:41:19 1999 Owen Taylor <otaylor@redhat.com>
5159 * docs/tmpl/glyphs.sgml: SGML fix.
5161 Sun Jul 11 22:53:11 1999 Owen Taylor <otaylor@redhat.com>
5163 * libgscript/mapping.c: Implemented g_script_cp_to_x()
5164 and g_script_x_to_cp().
5166 * examples/viewer.c: Added clicking on a character to
5167 identify it as a test of the above.
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.
5173 * libgscript/gscript.h (struct _GScriptLangRange):
5174 Make it start-length like everything else, not
5177 Sun Jul 11 00:18:56 1999 Owen Taylor <otaylor@redhat.com>
5179 * docs/tmpl/gscript-x.sgml: Fix sgml error.
5181 Sat Jul 10 23:40:40 1999 Owen Taylor <otaylor@redhat.com>
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).
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.
5194 * libgscript/reorder-items.c (reorder_items_recurse): Fix
5195 bug with variable initialization.
5197 * examples/viewer.c (draw): Compute line increments.
5199 * libgscript/gscriptx.c (g_script_x_[glyph]_extents): Added
5200 logical_ascent/descent parameters.
5202 * examples/viewer.c: Commented
5204 Sat Jul 10 04:35:10 1999 Owen Taylor <otaylor@redhat.com>
5206 * configure.in Makefile.am: automake'd and libtoolized.
5208 Sat Jul 10 00:00:00 1999 Owen Taylor <otaylor@redhat.com>
5210 * It renders! Start a ChangeLog