1 Wed Dec 15 23:49:14 2004 Owen Taylor <otaylor@redhat.com>
3 * === Released 1.8.0 ===
5 * configure.in: Version 1.8.0
11 Wed Dec 15 23:13:57 2004 Owen Taylor <otaylor@redhat.com>
13 * modules/basic/basic-win32.c (uniscribe_shape): Emergency
14 fix for #151068... if uniscribe shaping comes up with
15 no glyphs, fall back to non-uniscribe shaping.
17 Wed Dec 15 22:09:42 2004 Owen Taylor <otaylor@redhat.com>
19 Add pixel sizes for fonts (#119081, patch from Chris Lahey)
21 * pango/fonts.c pango/pango-font.h:
22 Add pango_font_description_set_absolute_size(),
23 pango_font_description_get_size_is_absolute()
25 * pango/pango-attributes.[ch]: Add pango_attr_size_new_absolute(),
26 change PANGO_ATTR_SIZE from PangoAttrInt to PangoAttrSize
27 (preserves compat because first component is identical)
29 * pango/pangowin32-fontmap.c (pango_win32_font_map_load_font):
30 For absolute sizes, convert pixels to points, before
31 calling pango_win32_font_new().
33 * pango/pangofc-fontmap.c pango/pangoft2.c pango/pangoxft-font.c:
34 Handle absolute sizes.
36 Wed Dec 15 18:50:18 2004 Owen Taylor <otaylor@redhat.com>
38 * modules/indic/indic-fc.c modules/indic/indic-ot.h:
39 Force zero-width marks to glyph index 0 so they
40 won't be drawn. (#145233, Aniruddha Shankar)
42 Wed Dec 15 11:15:37 2004 Owen Taylor <otaylor@redhat.com>
44 * configure.in modules/Makefile.am modules/tibetan/*:
45 Add simple tibetan module. (#148566, G Karunakar)
47 Wed Dec 15 08:38:52 2004 Owen Taylor <otaylor@redhat.com>
49 * modules/indic/indic-ot-class-tables.c: Split
50 U+DDE as U+DD9, U+DDF.
52 Tue Dec 14 20:44:53 2004 Owen Taylor <otaylor@redhat.com>
54 Sinhala support (#153517, Anuradha Ratnaweera)
56 * modules/indic/indic-ot.h modules/indic/indic-fc.c
57 modules/indic/indic-ot-class-tables.c: Add tables for Sinhala.
59 * modules/indic/indic-ot.c (indic_ot_reorder): Add handling
60 of Virama for two-part dependent vowels.
62 Tue Dec 14 18:36:57 2004 Owen Taylor <otaylor@redhat.com>
64 * pango/pango-layout.c (pango_layout_copy): Copy
65 layout->auto_dir. (#153547, Morten Welinder)
67 Tue Dec 14 18:32:46 2004 Owen Taylor <otaylor@redhat.com>
69 * pango/Makefile.am (libpangoft2_1_0_la_LIBADD): Add $(libm),
70 needed for no-undefined platforms like AIX. (#160773,
73 Tue Dec 14 18:08:36 2004 Owen Taylor <otaylor@redhat.com>
75 * pango/pango-font.h: Add PANGO_WEIGHT_SEMIBOLD.
76 (#86957, Lars Clausen)
78 * pango/fonts.c: s/600/PANGO_WEIGHT_SEMIBOLD.
80 * pango/pangofc-fontmap.c (pango_fc_convert_weight_to_fc)
81 * pango/pangofc-fontmap.c (pango_fc_convert_weight_to_pango):
82 Handle PANGO_WEIGHT_SEMIBOLD, use additional weights added
85 2004-12-14 Dan Winship <danw@novell.com>
87 * examples/Makefile.am (INCLUDES): add XFT_CFLAGS
89 Tue Dec 14 17:27:14 2004 Owen Taylor <otaylor@redhat.com>
91 * modules/indic/indic-ot-class-tables.c (guruCharClasses):
92 Add the correct char classes for Unicode-4.0 characters
93 U+A01, U+A03. (#158943, Sukhjinder Sidhu)
95 2004-12-14 Matthias Clasen <mclasen@redhat.com>
97 * pango.pc.in: Require gmodule-no-export
99 * configure.in: Use gmodule-no-export-2.0.pc, require glib 2.5.7
101 2004-12-14 Tor Lillqvist <tml@iki.fi>
103 * pango/pangowin32.c (pango_win32_font_get_metrics): Set also
104 underline and strikethrough position and thickness. (#161205)
106 Mon Dec 13 14:44:40 2004 Owen Taylor <otaylor@redhat.com>
108 * pango/pango-layout.[ch] pango/pango.def docs/pango-sections.txt:
109 Add pango_layout_get_font_description. (#153548, Morten Welinder)
111 * pango/pango-layout.c (pango_layout_set_font_description):
112 Guard against the same description being set back.
114 2004-12-12 Tor Lillqvist <tml@iki.fi>
116 * pango/modules.c (read_modules)
117 * pango/pango-utils.c (read_alias_file,read_config_file): Use
118 gstdio wrappers. (#16111, Robert Ă–gren)
120 * pango/pangoft2-fontmap.c: Remove unneded includes of <dirent.h>
123 Fri Dec 10 16:30:40 2004 Owen Taylor <otaylor@redhat.com>
125 * pango/pangoxft-render.c (draw_glyph): Fix problem
126 where the font would get unset after flushing at MAX_GLYPHS.
129 Thu Dec 2 15:47:44 2004 Owen Taylor <otaylor@redhat.com>
131 * === Released 1.7.0 ===
135 Thu Dec 2 15:31:33 2004 Owen Taylor <otaylor@redhat.com>
137 * pango/break.c (pango_default_break): Ignore formatting
138 characters when determining word boundaries (Part of
139 #97545, Behdad Esfahbod)
141 2004-11-30 Matthias Clasen <mclasen@redhat.com>
143 * pango/pango-renderer.c (pango_renderer_default_prepare_run): Set
144 the background color instead of setting underline twice.
146 2004-11-28 Theppitak Karoonboonyanan <thep@linux.thai.net>
148 Add Lao support to Thai module. (#156781)
150 * modules/thai/Makefile.am modules/thai/thai-shaper.[ch]
151 +modules/thai/thai-charprop.[ch]: Split WTT tables into a separate
152 source. Extend the tables for Lao. 3 new classes are added (AM for
153 SaraAm, AD4 for Nikkhahit, BCON for Lao semivowels). Now the range
154 0x00-0x7f in TIS is used to store Lao characters. Rewrite ucs2tis()
155 et al macros accordingly.
157 * modules/thai/thai-shaper.c (get_next_cluster): Rewrite the
158 clusterization code, so it's not specific to Thai-English texts. (Note
159 that the special case of SaraAm is now handled by the new WTT character
160 class. So, the extra checks are now eliminated.)
162 * modules/thai/thai-shaper.c (get_glyphs_list, add_cluster):
163 Add glyph calculation for Lao clusters.
165 * modules/thai/thai-shaper.c (ThaiShapeTable structs,
166 get_adjusted_glyphs_list): Generalize the shaping maps according to
167 the new 8-bit internal encoding scheme. Now the character ranges are
168 relocatable rather than hard-coded. Add Lao shaping table.
170 * modules/thai/thai-shaper.c (get_adjusted_glyphs_list): Add special
171 case for Lao, where clusters can be longer than those of Thai.
173 * modules/thai/thai-fc.c (get_glyph_index_tis): Add Lao glyphs lookup.
175 * modules/thai/thai-ot.c (thai_ot_shape, +lao_ot_get_ruleset): Add Lao
176 OT rulesets retrieval.
178 * modules/thai/thai-fc.c (PangoEngineScriptInfo thai_scripts[]):
179 Add Lao script entry.
181 Thu Nov 25 14:10:53 2004 Manish Singh <yosh@gimp.org>
183 * autogen.sh: rm autom4te.cache, since it might interfere with
184 differing autoconf versions.
186 Tue Nov 23 10:23:43 2004 Owen Taylor <otaylor@redhat.com>
188 * pango/pango-attributes.[ch]: Add underline_color
189 and strikethrough_color attribute types. (#147616, Morten
192 * pango/pango-markup.c docs/pango_markup.sgml: Add
193 corresponding 'underline_color' and
194 'strikethrough_color' attributes for <span>.
196 * pango/pango-renderer.c (pango_renderer_default_prepare_run):
197 Implement underline and strikethrough colors.
199 * pango/pango-renderer.c: Fix some bigs with updating
200 underlines/strikethrough state.
202 * pango/pango-renderer.c (get_total_matrix): Fix a const
205 * docs/pango-sections.txt: Update
207 Mon Nov 22 15:53:37 2004 Manish Singh <yosh@gimp.org>
209 * modules/thai/Makefile.am: Remove stray 'x' character.
211 Mon Nov 22 18:30:14 2004 Owen Taylor <otaylor@redhat.com>
213 * pango/opentype/Makefile.am pango/Makefile.am
214 modules/*/Makefile.am: Set G_LOG_DOMAIN (#151923,
217 Mon Nov 22 15:21:11 2004 Owen Taylor <otaylor@redhat.com>
219 * modules/syriac configure.in modules/Makefile.am
220 modules/makefile.msc: Add Syriac module by Emil
221 Soleyman-Zomalan. (#147779)
223 * examples/Makefile.am examples/syriac.utf: Syriac
226 2004-11-21 Hans Breuer <hans@breuer.org>
228 * pango/makefile.msc : updated
230 * pango/pangowin32.[ch] pango/pangowin32.def : implement
231 pango_win32_render_transformed() by using the transformation
232 capabilities of GDI (not available on win9x)
234 Sun Nov 21 11:43:00 2004 Owen Taylor <otaylor@redhat.com>
236 * pango/break.c: Turn off backspace-deletes-character behavior
237 for Kana and Hangul. It's wrong for Kana, and for Hangul it's
238 theoretically right but interacts badly with current input
239 methods. (#155897, Leon Ho)
241 Sun Nov 21 11:40:03 2004 Owen Taylor <otaylor@redhat.com>
243 * pango/pango-layout.c (pango_layout_get_log_attrs): Return n+1
244 logical attributes not n logical attributes (#155912)
246 Sun Nov 21 10:52:03 2004 Owen Taylor <otaylor@redhat.com>
248 * pango/pango-context.c: Don't just call pango_fontset_get_metrics()
249 to implement pango_context_get_metrics(), since that skips our
250 normal font selection algorithm. Rather itemize the sample string
251 and get the metrics from that. (#149438, Felipe Heidrich)
253 Sun Nov 21 10:46:34 2004 Owen Taylor <otaylor@redhat.com>
255 * pango/pango-layout.c (pango_layout_set_text): Fix UTF8 => UTF-8
256 in warning and doc comment. (#153551, Morten Welinder)
258 Sat Nov 20 23:50:40 2004 Owen Taylor <otaylor@redhat.com>
260 * pango/pangoxft-font.c (get_glyph_extents_missing): Fix double
261 multiplication by PANGO_SCALE. (#157419, Matthias Clasen)
263 * pango/pangoxft-render.c (box_in_bounds): Fix sign typo.
265 * pango/pangoxft-render.c (pango_xft_renderer_draw_glyphs):
266 * pango/pangoxft-font.c (get_glyph_extents_missing):
267 Adjust vertical positioning so that we get integral positioning of
268 the box without a transform.
270 Fri Nov 19 18:45:24 2004 Owen Taylor <otaylor@redhat.com>
272 * pango/pango-renderer.c (pango_renderer_default_draw_error_underline):
273 Fix crash when renderer->matrix is NULL.
275 Fri Nov 19 17:44:33 2004 Owen Taylor <otaylor@redhat.com>
277 * pango/pango-renderer.[ch]: Remove color_set() virtual
278 function ... it's not absolutely necessary for chaining
279 renderers, and it's not clear that chaining renderers
280 is actually useful, anyways.
282 * pango/pango-renderer.[ch] (pango_renderer_set_color): Constify
285 * pango/pango-render.c: Fix various bugs.
287 * pango/pango-attributes.[ch] (pango_attr_shape_new_with_data):
288 Add the ability to create a shape attribute with user data.
290 * pango/pango-renderer.[ch] (PangoRendererClass): Add a draw_shape
291 virtual function, to draw content for PangoAttrShape.
293 * pango/pangoxft-fontmap.c (pango_xft_shutdown_display):
294 Add note to docs that XCloseDisplay() will automatically take care
295 of releasing Pango's allocated resources for the display.
297 * docs/Makefile.am (SCAN_OPTIONS): Add the appropriate
298 --deprecated-guards option.
300 * docs/tmpl/xft-fonts.sgml: Add long description.
302 * docs/tmpl/x-fonts.sgml: Document as dead.
304 2004-10-26 Matthias Clasen <mclasen@redhat.com>
306 * docs/tmpl/text-attributes.sgml: Document PANGO_UNDERLINE_ERROR
307 as a 1.4 addition. (#156533, Morten Welinder)
309 2004-10-12 Theppitak Karoonboonyanan <thep@linux.thai.net>
311 * modules/thai/thai-shaper.h (thai_get_glyph_tis,
312 thai_make_glyph_tis): Use guchar instead of gchar as argument type.
314 * modules/thai/thai-fc.c (thai_get_glyph_tis, thai_make_glyph_tis):
315 Make *_tis functions wrappers to *_uni functions.
317 2004-10-09 Theppitak Karoonboonyanan <thep@linux.thai.net>
319 Explicitly handle dangling upper/lower marks by optionally using
320 dottedcircle as base, rather than requiring it.
322 * modules/thai/thai-shaper.h: Explicitly declare make_glyph and
323 get_glyph functions for 8-bit and Unicode chars as separate functions.
325 * modules/thai/thai-shaper.c (get_adjusted_glyphs_list): Rename
326 function calls to the new ones. Conditionally use dottedcircle glyph
327 as base for dangling upper/lower marks if available; simply expand
328 width to that of inkrect otherwise.
330 * modules/thai/thai-fc.c: Implement those new functions declared in
331 thai-shaper.h. Remove 0x25cc from tis620_2 glyph set.
333 2004-10-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
335 * modules/thai/thai-ot.c (thai_ot_get_ruleset): Return NULL if ruleset
336 is empty, to indicate the lack of OT features.
338 * modules/thai/thai-fc.c (tis620_1): Fix the PUA glyph table, after
339 actually checked with sample OSX (Jaguar) fonts. This actually turns
340 on PUA-based shaping with Thai OSX fonts in Pango.
342 2004-10-07 Theppitak Karoonboonyanan <thep@linux.thai.net>
344 * modules/thai/thai-shaper.c (groups, group1_map, group2_map):
345 Remove unused data for XTIS.
347 * modules/thai/thai-shaper.[ch] (enum ThaiFontSet, get_glyphs_list),
348 modules/thai/thai-fc.c (thai_get_font_info, thai_make_glyph):
349 Remove THAI_FONT_ISO10646 font set, as it's already covered by
352 Sat Oct 2 10:08:13 2004 Manish Singh <yosh@gimp.org>
354 * modules/thai/thai-ot.c (thai_ot_get_ruleset): Use
355 g_return_val_if_fail() instead of g_return_if_fail() since this
356 function returns a value.
358 2004-10-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
360 Make Thai module prefer OpenType tables, if available, to PUA
361 substitutions. (#153927)
363 * modules/thai/thai-ot.[ch]:
364 Merge get_gsub_ruleset() and get_gpos_ruleset() into an exported
365 function thai_ot_get_ruleset(). Rearrange thai_ot_shape() to call
368 * modules/thai/thai-fc.c:
369 Try OT ruleset before PUA glyph sets.
371 2004-09-25 Tor Lillqvist <tml@iki.fi>
373 * pango/pango.def: Add the new pango_renderer_* symbols.
375 * modules/basic/basic-win32.c (basic_engine_covers,
376 basic_engine_win32_class_init): Remove the implementation of the
377 covers method. It was wrong anyway, and unnecessary. No need to
378 override the default implementation. (#152997)
380 Fri Sep 24 15:05:02 2004 Owen Taylor <otaylor@redhat.com>
382 * pango/pango-renderer.c (pango_renderer_draw_glyphs):
383 Activate the renderer.
385 * pango/pango-renderer.c (pango_renderer_get_color,
386 pango_renderer_draw_rectangle, pango_renderer_draw_trapezoid,
387 pango_renderer_draw_error_underline, pango_renderer_draw_glyph):
388 Require the renderer to be active.
390 Fri Sep 24 12:59:22 2004 Owen Taylor <otaylor@redhat.com>
392 * configure.in: Up version to 1.7.0.
394 * pango/pango-renderer.[ch] pango/pango.h pango/Makefile.am:
395 Add PangoRenderer, a base class that is subclassed to produce
396 rendering drivers for different backends and purposes.
398 * pango/pangoft2-private.h pango/pangoft2-render.c
399 pango/pangoft2.c: Move rendering into pangoft2-render.c,
402 * pango/pangoft2-fontmap.c pango/pangoft2-private.h: Add
403 _pango_ft2_font_map_get_renderer() to retrieve a singleton
404 fontmap for the fontmap.
406 * pango/pangoxft-render.[ch] pango/pangoxft.c pango/Makefile.am:
407 Make Xft rendering use PangoRenderer, add publically
408 visible, subclassable PangoXftRenderer.
410 * pango/pangoxft-fontmap.c pango/pangoxft-private.h: Add
411 _pango_xft_font_map_get_renderer() to retrieve a singleton
412 fontmap for the fontmap.
414 * examples/xftview.c examples/Makefile.am: Add a test program
415 using the Xft backend.
417 * docs/*: Update minimally for PangoRenderer.
419 Wed Sep 22 16:15:40 2004 Owen Taylor <otaylor@redhat.com>
421 * pango/pangoxft-font.c (pango_xft_font_get_glyph_extents): Use
422 get_glyph_extents_raw() when hinting is disabled as well
423 as when we are transforming. (#152529, Vincent Noel)
425 * pango/pangofc-font.c (pango_fc_font_get_raw_extents): Duplicate
426 the fix for non-scalable fonts from get_face_metrics() here as
429 Wed Sep 22 15:57:30 2004 Owen Taylor <otaylor@redhat.com>
431 * pango/pango-layout.c (pango_layout_get_ellipsize): Fix
432 typo in docs. (#153390, Paolo Borelli)
434 Wed Sep 22 14:07:47 2004 Owen Taylor <otaylor@redhat.com>
436 Cleanups from 'sparse', #149922, Kjartan Maraas
438 * pango/pango-utils.c (read_config): () => (void) in
441 * pango/pangofc-fontmap.c (pango_fc_font_map_list_families):
442 Initialize *n_families, not n_families.
444 * pango/pangofc-fontmap.c pango/pangoft2.c opentype/ftxgdef.c
445 opentype/ftxgpos.c opentype/ftxgsub.c: : Fix various 0/NULL
448 Mon Sep 20 13:57:35 2004 Owen Taylor <otaylor@redhat.com>
450 * modules/indic/mprefixups.c (indic_mprefixups_apply):
451 Fix various bugs, make more robust. (#151689, Arun M)
453 Mon Sep 13 11:06:47 2004 Owen Taylor <otaylor@redhat.com>
455 * pango/ellipsize.c (init_state): Initialize
456 ellipsis_is_cjk (#151901, Christian Persch)
458 Mon Sep 13 10:18:51 2004 Owen Taylor <otaylor@redhat.com>
460 * pango/pango-context.c (itemize_state_process_run):
461 Except ideographic spaces from the !g_unichar_isgraph() test.
462 (#145275, Federic Zhang)
464 Mon Sep 20 12:17:37 2004 Owen Taylor <otaylor@redhat.com>
466 * pango/pangofc-font.c (get_face_metrics):
467 Don't use face->ascender/descender for non-scalable fonts,
468 since they aren't set. (#Enrico Scholz,
469 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=129246)
471 2004-09-18 Tor Lillqvist <tml@iki.fi>
473 * pango/pango.def: Add pango_context_set_matrix. (#152883, Ivan
476 2004-09-15 Tor Lillqvist <tml@iki.fi>
478 * pango/pangowin32-fontmap.c (pango_win32_insert_font): Ignore
479 fonts in SYMBOL_CHARSET. They don't have any Unicode mapping
482 * pango/querymodules.c (string_needs_escape, escape_string):
483 Escape also backslashes. (#152607, Kazuki Iwamoto)