1 Mon Sep 13 17:38:58 2004 Owen Taylor <otaylor@redhat.com>
3 * === Released 1.6.0 ===
5 * configure.in: Update versions for 1.6.0
11 * pango/fonts.c pango/pango-context.c pango/pango-types.h
12 pango/pango-utils.c pango/pangoft2.c pango/pango-layout.c
13 pango/opentype/pango-ot-buffer.c: Add a bunch of missing
16 Mon Aug 16 14:17:56 2004 Owen Taylor <otaylor@redhat.com>
18 * examples/renderdemo.c (fc_substitute_func): Fix reversed
21 2004-08-26 Tor Lillqvist <tml@iki.fi>
23 * pango/pangoft2.def: Add pango_ot_buffer_set_zero_width_marks,
26 * pango/Makefile.am: Don't use -lm on Windows.
27 (pangoinclude_HEADERS): Put them on one line, automake 1.8 (at
28 least on Windows) otherwise drops the backslashes but still
29 outputs separate lines.
31 2004-08-26 Dov Grobgeld <dov.grobgeld@weizmann.ac.il>
33 * modules/hebrew/hebrew-fc.c (hebrew_engine_shape): Added
34 open-type support for Hebrew.
36 2004-08-22 Tor Lillqvist <tml@iki.fi>
38 * pango/pangowin32-fontmap.c (pango_win32_inner_enum_proc): Ignore
39 synthetic vertical writing versions of East Asian fonts. (#145322,
42 Mon Aug 16 13:58:04 2004 Owen Taylor <otaylor@redhat.com>
44 * examples/renderdemo.[ch] examples/pangoft2topgm.c:
45 add a --hinting command line flag.
47 Mon Aug 16 13:42:38 2004 Owen Taylor <otaylor@redhat.com>
49 * pango/pango-ot.h (struct _PangoOTGlyph): Sync with
50 change to OTL_GlyphItemRec.
51 (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=129982,
54 Tue Aug 10 11:51:10 2004 Owen Taylor <otaylor@redhat.com>
56 * modules/arabic/arabic-fc.c (arabic_engine_shape): Fix
57 bug where cluster was getting set to 0 for non-spacing
58 marks rather than to the cluster of the base character.
59 (#149126, Behdad Esfahbod)
61 2004-08-06 Hans Breuer <hans@breuer.org>
63 * pango/pango.def pango/pangoft2.def pango/pangowin32.def
64 pango/makefile.msc : updated
66 * pango/pangofc-decoder.c : static the pango_fc_decoder_*init
69 * pango/pangowin32.c : remove the duplicated, empty implementation
70 of pango_win32_font_init(), also replace parent_class variable
71 with pango_win32_font_parent_class as defined by G_DEFINE_TYPE
73 * modules/basic/basic-win32.c : implement basic_engine_covers
75 * pango/testfonts.c : iterate three common font names as was
76 intended orginally and said in the comment for years
78 2004-08-06 Tor Lillqvist <tml@iki.fi>
80 * pango/pangowin32-fontmap.c: Typedef PangoWin32FontMapClass.
82 (pango_win32_font_map_class_init): Match what G_DEFINE_TYPE
85 2004-08-05 Tor Lillqvist <tml@iki.fi>
87 * pango/pangoft2.def: Add pango_ot_buffer_set_zero_width_marks.
89 Mon Aug 2 17:09:47 2004 Owen Taylor <otaylor@redhat.com>
91 * === Released 1.5.2 ==
93 * configure.in: Version 1.5.2
97 Mon Aug 2 17:00:19 2004 Owen Taylor <otaylor@redhat.com>
99 * modules/indic/indic-fc.c modules/indic/indic-ot.[ch]:
100 Add support for 'init' feature for Bengali.
101 (#130966, Sayamindu Dasgupta)
103 Fri Jul 30 17:17:05 2004 Owen Taylor <otaylor@redhat.com>
105 * pango/opentype/ftxgpos.[ch] pango/opentype/ftxgsub.[ch]
106 pango/opentype/ftxopen.[ch]: Finish extending properties
107 flags from FT_UShort => FT_UInt. (OTLBuffer was already
110 Fri Jul 30 14:05:25 2004 Owen Taylor <otaylor@redhat.com>
112 Improve handling of decomposed two-part vowels
113 (#121882, Jungshik Shin)
115 * modules/indic/indic-ot-class-tables.c (stateTable):
116 allow a dependent vowel to be followed by another
119 * modules/indic/indic-ot.c (indic_ot_reorder): Handle
120 multiple vowel matras.
122 Fri Jul 30 13:33:49 2004 Owen Taylor <otaylor@redhat.com>
124 * modules/indic/indic-ot.c (indic_ot_reorder): Suppress
125 blwf on the first consonant in a syllable. (#118301,
128 Thu Jul 29 16:10:06 2004 Owen Taylor <otaylor@redhat.com>
130 Fix Malayalam double-consonant conjuncts: #121671, Rajkumar S
132 * modules/indic/indic-ot.[ch]: Add a new feature
133 set pstf_p and use it for post-base consonants, since
134 the existing nukt_p suppressed the pstf feature.
135 (#121671, Rajkumar S)
137 * modules/indic/indic-ot-class-tables.c (mlymCharClasses):
138 make U+D2F (MALAYALAM LETTER YA) _pb not _ct.
140 * modules/indic/indic-ot-class-tables.c (mlymCharClasses):
141 Classify U/UU/VOCALIC R as _dr not _db since they should
142 be ordered after post-base consonants.
144 Wed Jul 28 17:00:23 2004 Owen Taylor <otaylor@redhat.com>
146 * modules/indic/mprefixups.c (indic_mprefixups_apply):
147 Check glyphs[mpreLimit] not glyphs[mpreIndex]. (Found
150 Wed Jul 28 09:49:29 2004 Owen Taylor <otaylor@redhat.com>
152 * pango/pango-layout.c (pango_layout_set_ellipsize): Fix
153 API docs. (#148627, Keith Sharp)
155 Tue Jul 27 14:07:44 2004 Behdad Esfahbod <pango@behdad.org>
157 * modules/arabic/arabic-fc.c: Don't substitute FARSI YEH
158 with ARABIC YEH if the font does not have any ARABIC YEH.
160 Tue Jul 27 12:38:05 2004 Owen Taylor <otaylor@redhat.com>
162 * pango/opentype/ftxopen.[ch] pango/opentype/ftxgsub.c
163 pango/opentype/ftxpos.c: Save the order in which
164 features were added and use that when applying features.
165 (Patch from Soheil Hassas Yeganeh, #122330)
167 Tue Jul 27 09:11:40 2004 Behdad Esfahbod <pango@behdad.org>
169 * pango/opentype/ftxgpos.c: Remove the unused parameter
170 from the IN_CURITEM() and IN_CURGLYPH macros.
172 Tue Jul 27 06:35:25 2004 Behdad Esfahbod <pango@behdad.org>
174 * pango/opentype/otlbuffer.c (otl_buffer_copy_output_glyph):
175 Fix bug to copy glyph from in_string, not out_string.
177 Mon Jul 26 19:11:46 2004 Owen Taylor <otaylor@redhat.com>
179 * pango/opentype/ftxgdef.c: Fix allocation and indexing
180 in NewGlyphClasses array. (#130661, Masatake YAMATO)
182 Mon Jul 26 15:55:03 2004 Owen Taylor <otaylor@redhat.com>
184 * pango/pangoxft-font.c (get_glyph_extents_missing):
185 mini_width/height are still (before render patch) in
186 pixels, not Pango units.
188 Mon Jul 26 15:24:11 2004 Owen Taylor <otaylor@redhat.com>
190 * pango/opentype/ftxgsub.c (ADD_Glyph): Remove the
191 unused parameter from the IN_CURITEM() and IN_CURGLYPH
194 Mon Jul 26 15:21:23 2004 Owen Taylor <otaylor@redhat.com>
196 * pango/opentype/ftxgsub.c: Add missing macro to make the
197 last change actually compile.
199 Mon Jul 26 15:16:07 2004 Owen Taylor <otaylor@redhat.com>
201 * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst[123]):
202 Match backtrack context against the output glyphs not
203 the input glyphs (#145174, Aamir Wali)
205 Mon Jul 26 14:49:22 2004 Owen Taylor <otaylor@redhat.com>
207 * ftxgdef.[ch] otlbuffer.[ch]: Make Check_Property() take a
208 OTL_GlyphItem, add a gproperties field to OTLGlyphItem,
209 and use that to cache the properties for a glyph.
211 * ftxgsub.c ftxgdef.c: Adapt to Check_Property() changes.
213 * otlbuffer.[ch] ftxgsub.c: Add otl_buffer_copy_output_glyph()
214 to use when we are copying an unmodified glyph from input
215 to output that preserves the cached properties.
217 2004-07-23 Morten Welinder <terra@gnome.org>
219 * examples/renderdemo.c (parse_ellipsis): Fix C99ism. I am clearly
220 the last man stuck in the dark age of C.
222 Tue Jul 20 12:10:42 2004 Owen Taylor <otaylor@redhat.com>
224 * pango/pango-script.c (pango_language_includes_script):
225 return TRUE for PANGO_SCRIPT_COMMON and PANGO_SCRIPT_INHERITED.
227 Mon Jul 19 16:48:23 2004 Owen Taylor <otaylor@redhat.com>
229 * === Released 1.5.1 ===
231 * configure.in: Pango 1.5.1
235 Mon Jul 19 17:09:11 2004 Owen Taylor <otaylor@redhat.com>
237 * pango/opentype/disasm.c: Add support for
238 ChainContextSubstFormat3.
240 Mon Jul 19 16:29:45 2004 Owen Taylor <otaylor@redhat.com>
242 * pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c:
243 Fix pervasive buffer overruns when skipping glyphs
244 when matching contexts. (#118592, Kailash C. Chowksey)
246 Fri Jul 16 10:29:40 2004 Owen Taylor <otaylor@redhat.com>
248 * pango/pangofc-font.c pango/pangofc-private.h
249 (pango_fc_font_get_raw_extents): Need to export this
250 function as a symbol if not in the header file since
251 it is used by PangoXft.
253 Fri Jul 16 07:43:04 2004 Owen Taylor <otaylor@redhat.com>
255 #143601: Felipe Heidrich
257 * pango/pango-layout.c (pango_layout_line_x_to_index):
258 Go into painful detail about the behavior for X positions
261 * pango/pango-layout.c (pango_layout_xy_to_index):
262 Add some more details about handling of positions
263 outside the layout, reference
264 pango_layout_line_x_to_index().
266 Thu Jul 15 10:48:01 2004 Owen Taylor <otaylor@redhat.com>
268 * pango/pangofc-font.c (pango_fc_font_get_glyph): Replace
269 non-breaking-space with a normal space before looking it up.
270 (Inspired by http://bugzilla.ximian.com/show_bug.cgi?id=60549)
272 Wed Jul 14 17:47:38 2004 Owen Taylor <otaylor@redhat.com>
274 * pango/pango-layout.[ch] pango/ellipsize.c pango/Makefile.am:
275 Add PangoEllipsizeMode, pango_layout_set_ellipsize(), implement.
278 * pango/pango-layout-private.h pango/pango-layout.c:
279 Move PangoLayout structure into a separate header file.
281 * pango/pango-glyph-item.[ch]: Add pango_glyph_item_free().
283 * pango/pango-glyph-item-private.h pango/pango-glyph-item.c:
284 Internally export the PangoGlyphItemIter functionality.
286 * examples/renderdemo.[ch]: Add --ellipsize option.
288 Wed Jul 14 17:42:49 2004 Owen Taylor <otaylor@redhat.com>
290 * pango/pango-script.c (pango_language_includes_script):
291 Fix problem when we only figured out latin script for 'en'
292 not for 'en-us'. Fix reversed arguments to bsearch.
294 Tue Jul 13 16:23:15 2004 Owen Taylor <otaylor@redhat.com>
296 * pango/pango-types.h pango/pango-utils.c
297 docs/pango-sections.txt: Add a GType for PangoMatrix
298 (#145532, Torsten Schoenfeld)
300 Tue Jul 13 14:12:06 2004 Owen Taylor <otaylor@redhat.com>
302 * pango/pangoft2-render.c (compare_points): Make
303 static. (#147512, Morten Welinder)
305 Tue Jul 13 10:07:44 2004 Owen Taylor <otaylor@redhat.com>
307 * pango/Makefile.am: Reverse order of pangoft2/pangoxft
308 in Makefile; apparently automake doesn't figure out
309 the correct installation order. (#146472)
311 Tue Jul 13 10:02:53 2004 Owen Taylor <otaylor@redhat.com>
313 * pango/pango-utils.c (pango_language_get_sample_string):
314 Make table constant. (#145515, Morten Welinder)
316 2004-07-12 Morten Welinder <terra@gnome.org>
318 * pango/pangoxft-font.c (get_glyph_extents_xft): Fix C99ism.
321 2004-07-12 Changwoo Ryu <cwryu@debian.org>
323 * modules/hangul/hangul-fc.c (render_basic): Render U+00A0
324 (non-break-space) as a space.
326 Sat Jul 10 18:06:21 2004 Owen Taylor <otaylor@redhat.com>
328 * examples/renderdemo.[ch] examples/Makefile.am
329 examples/pangoft2topgm.c: Split most of the guts
330 of pangoft2topgm.c into separate source files
331 to allow creation of new rendering demos for
334 Sat Jul 10 18:03:58 2004 Owen Taylor <otaylor@redhat.com>
336 * pango/pangofc-fontmap.c (pango_fc_font_map_new_font):
339 Sat Jul 10 17:55:03 2004 Owen Taylor <otaylor@redhat.com>
341 * pango/pango-types.h pango/pango-utils.c (pango_matrix_concat):
342 One more constification.
344 Sat Jul 10 17:45:05 2004 Owen Taylor <otaylor@redhat.com>
346 * pango/pangoft2-private.h: Add _pango prefix for
347 _pango_ft2_font_get_cache_glyph_data and friends
348 defined only in private header file.
350 Sat Jul 10 17:33:38 2004 Owen Taylor <otaylor@redhat.com>
352 * pango/pangoft2-private.h pango/pangoft2-render.c
353 pango/pango-context.[ch] pango/pangoft2.[ch] pango/pango-utils.
354 pango/pango-types.h pango/pangofc-fontmap.c: Make PangoMatrix
355 arguments const where appropriate.
357 * pango/pango-context.c pango/fonts.c pango/pangofc-font.c
358 pangofc-fontmap.c pango/pangoft2.c pango/pangoft2-fontmap.c
359 pango/pangoxft-font.c pango/pangoxft-fontmap.c
360 pango/pangowin32-fontmap.c: Use G_DEFINE_TYPE comprehensively.
362 * pango/pangoft2-private.h pangoft2.c: Un-staticify
363 pango_ft2_font_get_type.
365 Sat Jul 10 16:55:46 2004 Owen Taylor <otaylor@redhat.com>
367 * pango/pangofc-font.h (struct _PangoFcFont):
368 s/hinted/is_hinted/ s/transform/is_transformed/.
370 Sat Jul 10 16:39:44 2004 Owen Taylor <otaylor@redhat.com>
372 * pango/pangofc-font.[ch]: Add hinted/transform flags
373 to the font structure to allow efficient conditionalization
374 of behavior rather than repeatedly extracting the information
377 * pango/pangofc-font.c pango/pangofc-private.h pango/pangoft2.c:
378 Move the glyph metrics computation into a
379 _pango_fc_font_get_raw_extents() function that can be
380 shared with the Xft backend.
382 * pango/pangoxft.c: When a transform is in effect, don't
383 get glyph extents from Xft ... they are device space
384 and not useful, use _pango_fc_font_get_raw_extents() instead.
386 Fri Jul 9 15:23:39 2004 Manish Singh <yosh@gimp.org>
388 * pango/pango-ot.h: Add declaration for pango_ot_buffer_set_rtl.
390 2004-07-08 Owen Taylor <otaylor@redhat.com>
392 * pango/break.c: Add missing row for the WORD_JOINER
393 class. (#145833, Billy Biggs)
395 Thu Jul 8 15:25:29 2004 Owen Taylor <otaylor@redhat.com>
397 * pango/pango-context.[ch]: Add pango_context_get_font_map()
399 * pango/pango-fonts.c pango/pango-fontset.c pango/pango-context.c:
400 Some s/PangoMetrics/PangoFontMetrics/ in docs.
402 * pango/pango-context.c: Fix problem with unsetting
403 the matrix for a context.
405 * pango/pango-types.h: Switch to a much more efficient
406 implementation of PANGO_SCALE.
408 2004-07-07 Morten Welinder <terra@gnome.org>
410 * pango/pango-layout.c (process_item): Add letter spacing
411 correction to the last character, not the one just beyond the
412 table. (#145517, self.)
414 Thu Jun 24 14:07:10 2004 Owen Taylor <otaylor@redhat.com>
416 * === Released 1.5.0 ===
420 Thu Jun 24 13:35:03 2004 Owen Taylor <otaylor@redhat.com>
422 * pango/pango-glyph-item.c (pango_glyph_item_apply_attrs):
423 Fix double cluster increment.
425 Thu Jun 24 00:50:46 2004 Owen Taylor <otaylor@redhat.com>
427 * pango/pango-layout.c (pango_layout_run_get_extents): Fix
428 bug with using wrong uline value.
430 Wed Jun 23 17:26:50 2004 Owen Taylor <otaylor@redhat.com>
432 * tests/Makefile.am (pango.modules): Don't generate
433 all-unicode.txt when cross-compiling. (#135503,
436 Wed Jun 23 16:51:51 2004 Owen Taylor <otaylor@redhat.com>
438 * pango/pango-layout.[ch]: Add PANGO_TYPE_LAYOUT_ITER.
439 (#138408, Johan Dahlin)
441 Wed Jun 23 16:13:53 2004 Owen Taylor <otaylor@redhat.com>
443 #143693, Sayamindu Dasgupta
445 * pango/opentype/pango-ot-buffer.c (pango_ot_buffer_set_zero_width_marks) pango/opentype/pango-ot-private.h:
446 Allow setting for whether marks should be given zero width,
449 * modules/arabic/arabic-fc.c (arabic_engine_shape): Turn
450 on zero-width-marks setting.
452 Wed Jun 23 11:17:51 2004 Owen Taylor <otaylor@redhat.com>
454 * pango/pango-attributes.[ch]: Add new letter_spacing
457 * pango/pango-attributes.c (pango_attr_rise_new): Correct
458 description; rise is in Pango units, not em-relative.
460 * pango/pango-glyph-item.c: Break out iteration-over-clusters
461 from ApplyAttrsState into a separate GlyphItemIter.
463 * pango/pango-glyph-item.[ch]: New function
464 pango_glyph_item_letter_space() to add add letter spacing
465 to a single glyph item.
467 * pango/pango-markup.c: Add a letter_spacing attribute.
469 * pango/pango-layout.c: Use G_DEFINE_TYPE().
471 * pango/pango-layout.c (pango_layout_get_item_properties):
472 Switch to use a structure rather than a pile of out
475 * pango/pango-layout.c (pango_run_get_extents): Remove
476 the unused shape_set out parameter.
478 * pango/pangofc-decoder.[ch] pango/pangofc-fontmap.[ch]:
481 * pango/pango-types.h: Deprecate pango_get_mirror_char()
483 * pango/pango-utils.c (pango_get_mirror_char): Add docs.
485 * docs/pango-sections.txt docs/pango-docs.sgml: Add
486 PangoFcDecoder and letter spacing.
488 Tue Jun 22 14:10:41 2004 Owen Taylor <otaylor@redhat.com>
490 * pango/break.c: Handle new Unicode-4.0 WORD_JOINER
491 and NEXT_LINE classes. (#143436, Jeroen Zwartepoorte)
493 * pango/break.c (pango_default_break): Handle space
494 followed by a combining character as called for by
497 * tests/testboundaries.c (check_line_char): Fix up
498 for space+combining mark
500 * pango/break.c (pango_default_break): Change fixme
501 for G_UNICODE_BREAK_SURROGATE to g_assert_not_reached().
503 Tue Jun 22 10:39:32 2004 Owen Taylor <otaylor@redhat.com>
505 * pango/pangoft2-render.c (_pango_ft2_draw_error_underline,
506 _pango_ft2_draw_rect): Allow %NULL for @matrix.
507 (#144775, Diego González)
509 Mon Jun 21 16:02:04 2004 Owen Taylor <otaylor@redhat.com>
513 * pango/Makefile.am: Add $(no_undefined) when building libpangox,
514 libpangoxft for cygwin builds.
516 * modules/basic/Makefile.am (pango_basic_x_la_LDFLAGS):
517 Add $(no_undefined) for basic-x module.
519 * pango/Makefile.am: Add $(GLIB_LIBS) for pangox, pangoxft,
520 for benefit of cygwin, AIX, etc.
522 Mon Jun 21 15:26:44 2004 Owen Taylor <otaylor@redhat.com>
524 * pango/pango-context.c (update_attr_iterator): Initialize
525 state->lang from context->language if not otherwise set.
526 Without doing this, the default language tag was, not
527 suprisingly, having no effect! (#137334, Frederic Zhang)
529 * pango/pango-attributes.c (pango_attr_iterator_get_font):
530 Fix typo in doc comment.
532 Mon Jun 21 14:42:02 2004 Owen Taylor <otaylor@redhat.com>
534 * docs/pango_markup.sgml: use x-large instead of 100
535 in the markup example. (#142355, Doug Quale).
536 Fix the 'size' documentation to say 1024ths rather
537 than 1000ths. Document using font_desc='12.5' instead.
539 Mon Jun 21 14:34:34 2004 Owen Taylor <otaylor@redhat.com>
541 #142355, Sven Neumann
543 * pango/pangoft2.c (pango_ft2_font_get_face): Mention
544 pango_fc_font_lock/unlock face as the correct
547 * pango/pangofc-font.h: Move lock/unlock_face outside
548 of the #ifdef PANGO_ENABLE_ENGINE.
550 Mon Jun 21 14:23:05 2004 Owen Taylor <otaylor@redhat.com>
552 * pango/pango-layout.c (no_shape_filter_func)
553 pango/pango-script.c (get_pair_index):
554 pango/modules.c (append_engines): Fix
555 some missing statics. (#142237, Morten Welinder)
557 * pango/mini-fribidi/fribidi_types.c: Move
558 fribidi_type_name inside the #ifdef DEBUG.
560 Mon Jun 21 13:55:17 2004 Owen Taylor <otaylor@redhat.com>
562 * pango/opentype/otlbuffer.c: Use the gcc-3.3
563 strict-aliasing compatible macros from fterrcompat.h
564 (#140495, reported by Stanislav Brabec)
566 Mon Jun 21 11:47:41 2004 Owen Taylor <otaylor@redhat.com>
568 * configure.in pango.pc.in: Missed commit: add
569 -lm dependency to pkg-config files.
571 * docs/pango-sections.txt: Add PangoMatrix and rotated
574 Mon Jun 21 11:41:18 2004 Owen Taylor <otaylor@redhat.com>
576 * pango/pango-attributes.c (pango_attr_list_change):
577 Fix leak when inserting an empty attributes. (#140771,
580 Mon Jun 21 11:38:22 2004 Owen Taylor <otaylor@redhat.com>
582 * pango/pango-context.c (pango_context_set_font_map):
583 Handle setting the same object back. (#143523,
586 Mon Jun 21 11:35:29 2004 Owen Taylor <otaylor@redhat.com>
588 * pango/pangoft2-fontmap.c (pango_ft2_font_map_new):
589 Revert the last change, assert that initialization
592 Mon Jun 21 11:29:39 2004 Owen Taylor <otaylor@redhat.com>
594 * pango/pangoft2-fontmap.c (pango_ft2_font_map_new):
595 For cleanliness, unref the fontmap if we get an error
596 from FreeType. (#143524, Morten Welinder)
598 * pango/pangoft2-fontmap.c (pango_ft2_font_map_finalize):
599 Deal with NULL ft2fontmap->library.
601 2004-06-17 Christopher Blizzard <blizzard@redhat.com>
603 * pango/pangofc-decoder.c (pango_fc_decoder_get_glyph,
604 pango_fc_decoder_get_charset): Changes to support extra arguments.
606 * pango/pangofc-decoder.h (struct _PangoFcDecoderClass): Add the
607 PangoFcDecoder * as the first argument to the callbacks for
608 get_glyph and get_charset.
610 Wed Jun 9 17:32:59 2004 Christopher Blizzard <blizzard@redhat.com>
612 * pango/Makefile.am: Add export of pangofc-decoder.h. Build
615 * pango/pangofc-decoder.h pango/pangofc-decoder.c: New files.
616 Virtual base class for any custom font decoders.
618 * pango/pangofc-font.c: Add new PangoFcFontPrivate structure.
620 * pango/pangofc-font.c (pango_fc_font_class_init): Attach new
621 private structure using g_type_class_add_private().
623 * pango/pangofc-font.c (pango_fc_font_finalize): Make sure to
624 unset any decoders that are attached to the font.
626 * pango/pangofc-font.c (pango_fc_font_get_coverage): When
627 determining coverage, use a custom decoder if available.
629 * pango/pangofc-font.c (pango_fc_font_has_char): When determining
630 if a font has a character, use a custom decoder if available.
632 * pango/pangofc-font.c (pango_fc_font_get_glyph): When doing
633 single character to glyph convertions, use a custom decoder if
636 * pango/pangofc-font.c (_pango_fc_font_get_decoder): New
637 function. Get the custom decoder for the given font.
639 * pango/pangofc-font.c (_pango_fc_font_set_decoder): New
640 function. Set a custom decoder for the given font.
642 * pango/pangofc-fontmap.c: Add structure PangoFcFindFuncInfo to
643 keep track of callbacks to create custom decoders. Modify
644 PangoFcFontMapPrivate by adding a list of PangoFcFontFuncInfo
645 callbacks that have been registered.
647 * pango/pangofc-fontmap.c (pango_fc_font_map_add_find_func): New
648 function. Add callbacks to the fontmap that will create custom
649 decoders when pango creates new fonts.
651 * pango/pangofc-fontmap.c (pango_fc_font_map_finalize): Clear out
652 any findfuncs that have been registered and notify them about
655 * pango/pangofc-fontmap.c (pango_fc_font_map_new_font): When
656 creating new fonts, call back to any registered find functions so
657 they can create custom decoders for those fonts. Attach those
658 custom decoders to the newly created fonts.
660 * pango/pangofc-fontmap.c (_pango_fc_font_map_get_coverage):
661 Change the argument to take a PangoFcFont instead of an FcPattern.
662 Call _pango_fc_font_map_fc_to_coverage instead of doing the
665 * pango/pangofc-fontmap.c (_pango_fc_font_map_fc_to_coverage): New
666 function. Convert an FcCharSet to a PangoCoverage object.
668 * pango/pangofc-fontmap.h: New declarations for
669 pango_fc_font_map_add_decoder_find_func and
670 PangoFcDecoderFindFunc.
672 * pango/pangofc-private.h: New declarations for
673 _pango_fc_font_map_fc_to_coverage, _pango_fc_font_get_decoder and
674 _pango_fc_font_set_decoder.
676 Mon Jun 7 2004 Theppitak Karoonboonyanan <thep@linux.thai.net>
678 * modules/thai/Makefile.am modules/thai/thai-shaper.c
679 (thai_engine_shape) +modules/thai/thai-ot.c +modules/thai/thai-ot.h:
680 Add OpenType support in Thai module. (#141541)
682 Wed Jun 2 10:07:06 2004 Owen Taylor <otaylor@redhat.com>
684 * pango/pango-types.h (PANGO_MATRIX_INIT): Remove
685 stray semi-colon. (#143516, Morten Welinder)
687 Mon May 31 07:39:01 2004 Owen Taylor <otaylor@redhat.com>
689 * pango/pango-utils.c pango/pango-types.h (pango_matrix_concat):
690 Fix 'new' as parameter name (C++ compatibility issue).
691 (#143430, David Hawthorne)
693 Fri May 28 11:39:39 2004 Owen Taylor <otaylor@redhat.com>
695 * pango/pango-types.h pango/pango-utils.c: Add PangoMatrix
696 type for affine transforms.
698 * configure.in pango.pc.in pango/Makefile.am: Add a -lm
699 dependency for PangoMatrix operations.
701 * pango/pango-context.[ch]: Add pango_context_set/get_matrix().
703 * pango/pangoft2-render.c pango/pangoft2-private.h: Add
704 code for drawing antialiased transformed rectangles and
705 squiggly error underlines.
707 * pango/pangoft2.[ch]: Add pango_ft2_render_transformed(),
708 pango_ft2_render_layout_subpixel(),
709 pango_ft2_render_layout_line_subpixel(), implement transformed
712 * pango/pangofc-font.c: Pass any transformation matrix on to
713 fontconfig when creating the pattern for a PangoFcFont.
715 Fri May 28 2004 Theppitak Karoonboonyanan <thep@linux.thai.net>
717 * pango/opentype/pango-ot-buffer.c (apply_gpos_ltr): Negate y offset
718 according to different conventions between PangoGlyphString and OTL
721 Thu May 27 17:54:24 2004 Owen Taylor <otaylor@redhat.com>
723 * pango/opentype/otlbuffer.c: Revert error return changes
726 Thu May 27 16:57:30 2004 Owen Taylor <otaylor@redhat.com>
728 * pango/opentype/otlbuffer.c: Free buffer->positions,
729 clean up error returns that were returning uninitialized
730 values. (#139239, Behdad Esfahbod)
732 Thu May 27 15:42:20 2004 Owen Taylor <otaylor@redhat.com>
734 * pango/pangox-fontmap.c pango/pangox.c: Add some missing
735 statics. (#142299, Morten Welinder)
737 Thu May 27 15:32:03 2004 Owen Taylor <otaylor@redhat.com>
739 * pango/pango-font.h pango/fonts.c: Add underline and
740 strikethrough position and thickness metrics.
742 * pango/pangofc-font.c: Implement underline and strikethrough
743 position and thickness metrics.
745 * pango/pango-fontset.c (pango_fontset_real_get_metrics):
746 Initialize metrics from the metrics of the first font
749 Thu May 27 15:08:32 2004 Owen Taylor <otaylor@redhat.com>
751 * configure.in: Increment version to 1.5 for devel branch.
753 2004-05-06 Theppitak Karoonboonyanan <thep@linux.thai.net>
755 * pango/break.c (pango_break):
756 Fix incorrect casts to get the class object of lang engine. (#141931)
758 2004-04-29 Jody Goldberg <jody@gnome.org>
760 * pango/pango-layout.c (get_alignment) : only invert if the layout and
761 the context really disagree, not if they are WEAK_LTR vs LTR
763 2004-03-11 Jody Goldberg <jody@gnome.org>
765 * pango/pango-attributes.h : Add a comment clarifying that
766 PangoAttribute::end_index is _exclusive_. The range is [start..end)
767 Additionally clarify that that the indicies are in _bytes_ not
770 2004-04-29 Tor Lillqvist <tml@iki.fi>
772 * pango/pangowin32-fontmap.c (pango_win32_font_map_for_display):
773 Use floating-point math in resolution calculation. (#141229, John
776 * pango/pangowin32-fontmap.c (pango_win32_insert_font): Don't leak
777 family_name. (#140772, John Ehresman)
779 2004-04-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
781 * modules/thai/thai-shaper.c (get_adjusted_glyphs_list):
782 * modules/thai/thai-fc.c (tis620_2):
783 Use dottedcircle as the base for individual combining characters.
785 2004-04-18 Changwoo Ryu <cwryu@debian.org>
787 * modules/hangul/hangul-defs.h (IS_JAMO):
788 * modules/hangul/hangul-fc.c (hangul_engine_shape, render_basic):
789 handle non-Hangul unicode chars, fixes #129741, #137347.
791 2004-04-05 Anders Carlsson <andersca@gnome.org>
793 * examples/argcontext.c (arg_context_parse):
794 Handle '--' correctly.