summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Tagged for release 1.17.5.PANGO_1_17_5Behdad Esfahbod2007-07-30351-0/+139457
| | | | svn path=/tags/PANGO_1_17_5/; revision=2384
* Put cairotwisted in public domainPANGO_1_16_5Behdad Esfahbod2007-07-261-0/+1
| | | | svn path=/trunk/; revision=2379
* Bug 150883 – Unicode LRO defectBehdad Esfahbod2007-07-244-14/+32
| | | | | | | | | | | | | | | 2007-07-24 Behdad Esfahbod <behdad@gnome.org> Bug 150883 – Unicode LRO defect * modules/arabic/arabic-fc.c (arabic_engine_shape): * modules/arabic/arabic-ot.c (Get_Joining_Class), (Arabic_Assign_Properties): * modules/arabic/arabic-ot.h: Correctly handle Arabic shaping in left-to-right runs. svn path=/trunk/; revision=2378
* Remove unused file!Behdad Esfahbod2007-07-241-361/+0
| | | | svn path=/trunk/; revision=2377
* A bit moreBehdad Esfahbod2007-07-211-2/+2
| | | | svn path=/trunk/; revision=2376
* Part of Bug 347236 – provide pango_cairo_font_get_scaled_fontBehdad Esfahbod2007-07-2113-27/+84
| | | | | | | | | | | | | | | | | | | | | | | 2007-07-21 Behdad Esfahbod <behdad@gnome.org> Part of Bug 347236 – provide pango_cairo_font_get_scaled_font * docs/Makefile.am: * docs/pango-sections.txt: * docs/tmpl/atsui-fonts.sgml: * docs/tmpl/opentype.sgml: * docs/tmpl/pango-engine-lang.sgml: * docs/tmpl/pango-engine-shape.sgml: * docs/tmpl/pangocairo.sgml: * pango/pangoatsui.h: * pango/pangocairo-atsuifont.h: * pango/pangocairo-font.c (pango_cairo_font_get_scaled_font): * pango/pangocairo-private.h: * pango/pangocairo.h: Export PangoCairoFont and cleanup various standard macros. svn path=/trunk/; revision=2375
* OopsBehdad Esfahbod2007-07-201-2/+3
| | | | svn path=/trunk/; revision=2374
* Bug 449482 – Build error when xft not presentBehdad Esfahbod2007-07-202-2/+12
| | | | | | | | | | | 2007-07-21 Behdad Esfahbod <behdad@gnome.org> Bug 449482 – Build error when xft not present * docs/Makefile.am: Make docs build without xft. svn path=/trunk/; revision=2373
* Update copyright headers.Behdad Esfahbod2007-07-206-19/+35
| | | | | | | | | | | | | | 2007-07-21 Behdad Esfahbod <behdad@gnome.org> * modules/arabic/arabic-fc.c: * modules/basic/basic-fc.c: * modules/hebrew/hebrew-fc.c: * modules/syriac/syriac-fc.c: * modules/thai/thai-fc.c: Update copyright headers. svn path=/trunk/; revision=2372
* Remove list of supported scripts. Supporting all is what we really wantBehdad Esfahbod2007-07-092-27/+5
| | | | | | | | | | 2007-07-10 Behdad Esfahbod <behdad@gnome.org> * modules/basic/basic-atsui.c: Remove list of supported scripts. Supporting all is what we really want and that's already there. svn path=/trunk/; revision=2371
* Remove unused empty header file basic-common.hBehdad Esfahbod2007-07-056-37/+9
| | | | | | | | | | | | | | 2007-07-05 Behdad Esfahbod <behdad@gnome.org> * modules/basic/Makefile.am: * modules/basic/basic-fc.c: * modules/basic/basic-win32.c: * modules/basic/basic-x.c: * modules/basic/basic-common.h: Remove unused empty header file basic-common.h svn path=/trunk/; revision=2370
* === Released 1.17.4 ===Behdad Esfahbod2007-07-024-10/+19
| | | | | | | | | | | | | 2007-07-02 Behdad Esfahbod <behdad@gnome.org> * === Released 1.17.4 === * configure.in: Version 1.17.4 * NEWS: Updated. svn path=/trunk/; revision=2369
* Bug 451547 – FAIL: runtests.shBehdad Esfahbod2007-06-272-0/+12
| | | | | | | | | | | | | 2007-06-27 Behdad Esfahbod <behdad@gnome.org> Bug 451547 – FAIL: runtests.sh * tests/Makefile.am: Don't run tests if cross-compiling. (though cross-compiling tests work under scratchbox, so I'm not quite sure how good this change is.) svn path=/trunk/; revision=2368
* Move the remaining uses of font_id from PangoCairoATSUIFont toRichard Hult2007-06-263-23/+25
| | | | | | | | | | | | 2007-06-26 Richard Hult <richard@imendio.com> * pango/pangoatsui.c: (_pango_atsui_font_set_atsu_font_id): * pango/pangocairo-atsuifont.c: (pango_cairo_atsui_font_create_metrics_for_context), (_pango_cairo_atsui_font_new): Move the remaining uses of font_id from PangoCairoATSUIFont to PangoATSUIFont. svn path=/trunk/; revision=2367
* Bug 449543 - Ship pangoatsui.hRichard Hult2007-06-249-64/+206
| | | | | | | | | | | | | | | | | | | | | | 2007-06-24 Richard Hult <richard@imendio.com> Bug 449543 - Ship pangoatsui.h * pango/pangoatsui-fontmap.c: * pango/pangoatsui-private.h: * pango/pangoatsui.c: * pango/pangoatsui.h: * pango/pangocairo-atsuifont.c: * pango/pangocairo-atsuifont.h: Move get_atsu_font_id from the cairo atsui font class to the atsui base class. Make the members of the atsui font private and adapt all users of them. * pango/Makefile.am: Ship pangoatsui.h. * modules/basic/basic-atsui.c: (basic_engine_shape): Adapt to the above changes. svn path=/trunk/; revision=2366
* Add missing types.Behdad Esfahbod2007-06-212-2/+12
| | | | | | | | | 2007-06-21 Behdad Esfahbod <behdad@gnome.org> * docs/pango.types: Add missing types. svn path=/trunk/; revision=2365
* Add G_UNLIKELY() to type registration block in _get_type() functions.Behdad Esfahbod2007-06-2017-23/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-20 Behdad Esfahbod <behdad@gnome.org> * pango/fonts.c (pango_font_description_get_type), (pango_font_metrics_get_type): * pango/glyphstring.c (pango_glyph_string_get_type): * pango/pango-attributes.c (pango_attr_list_get_type): * pango/pango-color.c (pango_color_get_type): * pango/pango-item.c (pango_item_get_type): * pango/pango-language.c (pango_language_get_type): * pango/pango-layout.c (pango_layout_line_get_type), (pango_layout_iter_get_type): * pango/pango-matrix.c (pango_matrix_get_type): * pango/pango-ot-info.c (pango_ot_info_get_type): * pango/pango-ot-ruleset.c (pango_ot_ruleset_get_type): * pango/pango-tabs.c (pango_tab_array_get_type): * pango/pangoatsui-fontmap.c (pango_atsui_family_get_type), (pango_atsui_face_get_type): * pango/pangofc-fontmap.c (pango_fc_face_get_type), (pango_fc_family_get_type): * pango/pangowin32-fontmap.c (pango_win32_family_get_type), (pango_win32_face_get_type): * pango/pangox-fontmap.c (pango_x_font_map_get_type), (pango_x_face_get_type), (pango_x_family_get_type): * pango/pangox.c (pango_x_font_get_type): Add G_UNLIKELY() to type registration block in _get_type() functions. svn path=/trunk/; revision=2364
* minor whitespace fix.Behdad Esfahbod2007-06-201-3/+3
| | | | svn path=/trunk/; revision=2363
* Update.Behdad Esfahbod2007-06-201-0/+10
| | | | svn path=/trunk/; revision=2362
* === Released 1.17.3 ===PANGO_1_17_3Behdad Esfahbod2007-06-193-1/+44
| | | | | | | | | | | | | 2007-06-18 Behdad Esfahbod <behdad@gnome.org> * === Released 1.17.3 === * configure.in: Version 1.17.3 * NEWS: Updated. svn path=/trunk/; revision=2360
* Bug 448342 – pango_layout_index_to_line_x() counts lines from 1Behdad Esfahbod2007-06-192-1/+8
| | | | | | | | | | | | 2007-06-18 Behdad Esfahbod <behdad@gnome.org> Bug 448342 – pango_layout_index_to_line_x() counts lines from 1 * pango/pango-layout.c (pango_layout_index_to_line): Count lines from zero, not one! svn path=/trunk/; revision=2359
* Include pangocairo.h too.Behdad Esfahbod2007-06-193-1/+14
| | | | | | | | | | 2007-06-18 Behdad Esfahbod <behdad@gnome.org> * configure.in: * tests/cxx-test.C: Include pangocairo.h too. svn path=/trunk/; revision=2358
* Bug 447568 – improve docs on what absolute size meansBehdad Esfahbod2007-06-192-2/+12
| | | | | | | | | | | 2007-06-18 Behdad Esfahbod <behdad@gnome.org> Bug 447568 – improve docs on what absolute size means * pango/fonts.c: Improve docs. svn path=/trunk/; revision=2357
* Clarify docs.Behdad Esfahbod2007-06-151-1/+3
| | | | svn path=/trunk/; revision=2356
* updatedHans Breuer2007-06-152-3/+22
| | | | | | | | | 2007-06-15 Hans Breuer <hans@breuer.org> * pango/makefile.msc : updated svn path=/trunk/; revision=2355
* Check for NULL before dereferencing. Patch from Keith Packard.Behdad Esfahbod2007-06-142-2/+11
| | | | | | | | | | | 2007-06-14 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-font.c (_pango_cairo_font_private_scaled_font_data_destroy): Check for NULL before dereferencing. Patch from Keith Packard. svn path=/trunk/; revision=2354
* Bug 447189 – fonts.c: pango_font_face_is_synthesized returns NULLBehdad Esfahbod2007-06-132-1/+8
| | | | | | | | | | | | 2007-06-13 Behdad Esfahbod <behdad@gnome.org> Bug 447189 – fonts.c: pango_font_face_is_synthesized returns NULL * pango/fonts.c (pango_font_face_is_synthesized): Fix return value. svn path=/trunk/; revision=2353
* TypoTor Lillqvist2007-06-131-1/+1
| | | | svn path=/trunk/; revision=2352
* Compare set fields of two font descriptions for equality too, asBehdad Esfahbod2007-06-122-1/+10
| | | | | | | | | | | | 2007-06-12 Behdad Esfahbod <behdad@gnome.org> * pango/pango-attributes.c (pango_attr_font_desc_equal): Compare set fields of two font descriptions for equality too, as pango_font_description_equal() doesn't check the mask. svn path=/trunk/; revision=2351
* Implement get_font_type().Richard Hult2007-06-122-0/+12
| | | | | | | | | 2007-06-12 Richard Hult <richard@imendio.com> * pango/pangocairo-atsuifontmap.c: Implement get_font_type(). svn path=/trunk/; revision=2350
* Implement PangoCairoWin32FontMap::get_font_type().Tor Lillqvist2007-06-122-1/+14
| | | | | | | | | | 2007-06-12 Tor Lillqvist <tml@novell.com> * pango/pangowin32-fontmap.c: Implement PangoCairoWin32FontMap::get_font_type(). svn path=/trunk/; revision=2349
* TypoTor Lillqvist2007-06-121-1/+1
| | | | svn path=/trunk/; revision=2348
* Add is_synthetic field.Tor Lillqvist2007-06-125-288/+79
| | | | | | | | | | | | | | | | 2007-06-12 Tor Lillqvist <tml@novell.com> * pango/pangowin32-private.h (struct PangoWin32Face: Add is_synthetic field. * pango/pangowin32-fontmap.c: Implement is_synthesized. * pango/pangocairo-win32font.c * pango/pangocairo-win32fontmap.c: Update for the changes to PangoCairoFontMap and PangoCairoFont. svn path=/trunk/; revision=2347
* Bug 445832 – pango_cairo_update_layout() always invalidates layoutBehdad Esfahbod2007-06-122-24/+64
| | | | | | | | | | | | | 2007-06-12 Behdad Esfahbod <behdad@gnome.org> Bug 445832 – pango_cairo_update_layout() always invalidates layout * pango/pangocairo-context.c (_pango_cairo_update_context), (pango_cairo_update_context), (pango_cairo_update_layout): Don't invalidate layout if matrix and font options didn't change. svn path=/trunk/; revision=2346
* Add G_GNUC_CONST and G_GNUC_PURE annotations.Behdad Esfahbod2007-06-1231-80/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-11 Behdad Esfahbod <behdad@gnome.org> * pango/pango-attributes.h: * pango/pango-font.h: * pango/pango-glyph.h: * pango/pango-gravity.h: * pango/pango-language.h: * pango/pango-layout.h: * pango/pango-matrix.h: * pango/pango-ot-private.h: * pango/pango-ot.h: * pango/pango-renderer.h: * pango/pango-script.h: * pango/pango-tabs.h: * pango/pango-utils.h: * pango/pangoatsui-private.h: * pango/pangocairo-atsui.h: * pango/pangocairo-atsuifont.h: * pango/pangocairo-fc.h: * pango/pangocairo-private.h: * pango/pangocairo-win32.h: * pango/pangocairo.h: * pango/pangofc-decoder.h: * pango/pangofc-font.h: * pango/pangofc-fontmap.h: * pango/pangoft2-private.h: * pango/pangoft2.h: * pango/pangowin32-private.h: * pango/pangox-private.h: * pango/pangoxft-render.h: * pango/pangoxft.h: Add G_GNUC_CONST and G_GNUC_PURE annotations. svn path=/trunk/; revision=2345
* New engine public macros:Behdad Esfahbod2007-06-126-280/+337
| | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-11 Behdad Esfahbod <behdad@gnome.org> * pango/pango-ot.h: New engine public macros: PANGO_OT_TAG_MAKE() PANGO_OT_TAG_MAKE_FROM_STRING() * docs/pango-sections.txt: * docs/tmpl/opentype.sgml: Update. 2007-06-11 Behdad Esfahbod <behdad@gnome.org> Bug 446018 – Bus error in the pango_ot_tag_from_language() * pango/pango-ot-tag.c (pango_ot_tag_from_script), (pango_ot_tag_to_script), (pango_ot_tag_from_language), (pango_ot_tag_to_language): Make sure int access is aligned. svn path=/trunk/; revision=2344
* Implement is_synthesized for the ATSUI backend.Richard Hult2007-06-112-0/+14
| | | | | | | | | 2007-06-12 Richard Hult <richard@imendio.com> * pango/pangoatsui-fontmap.c (pango_atsui_face_is_synthesized): Implement is_synthesized for the ATSUI backend. svn path=/trunk/; revision=2343
* Bug 440588 – Add pango_font_face_is_synthesized()Behdad Esfahbod2007-06-117-11/+74
| | | | | | | | | | | | | | | | | | | | | | | | 2007-06-11 Behdad Esfahbod <behdad@gnome.org> Bug 440588 – Add pango_font_face_is_synthesized() * pango/pango-font.h: * pango/fonts.c: New PangoFontFace method is_synthesized. New public API: pango_font_face_is_synthesized() * pango/pangofc-fontmap.c (pango_fc_face_is_synthesized): Implement new method. * docs/pango-sections.txt: * docs/tmpl/fonts.sgml: * pango/pango.def: Update. svn path=/trunk/; revision=2342
* Update for the changes to PangoCairoFontMap and PangoCairoFont.Richard Hult2007-06-113-242/+58
| | | | | | | | | | 2007-06-12 Richard Hult <richard@imendio.com> * pango/pangocairo-atsuifont.c: * pango/pangocairo-atsuifontmap.c: Update for the changes to PangoCairoFontMap and PangoCairoFont. svn path=/trunk/; revision=2341
* Bug 446355 – the parsing with pango_parse_markup is not coherentBehdad Esfahbod2007-06-112-1/+11
| | | | | | | | | | | | | | | 2007-06-11 Behdad Esfahbod <behdad@gnome.org> Bug 446355 – the parsing with pango_parse_markup is not coherent * pango/pango-markup.c (pango_parse_markup): Use pango_attr_list_insert() instead of pango_attr_list_change() as merging adjacent attributes of the same kind is not a safe operation and can change the derived font of a segment in an unexpected and incorrect way. svn path=/trunk/; revision=2340
* Make sure all enabled font backends included (reported by VincentBehdad Esfahbod2007-06-112-2/+9
| | | | | | | | | | 2007-06-11 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-fontmap.c: Make sure all enabled font backends included (reported by Vincent Isambart). svn path=/trunk/; revision=2339
* Add 'gravity', 'gravity_hint', and 'letter_spacing' span attributes.Behdad Esfahbod2007-06-112-0/+23
| | | | | | | | | | 2007-06-11 Behdad Esfahbod <behdad@gnome.org> * docs/pango_markup.sgml: Add 'gravity', 'gravity_hint', and 'letter_spacing' span attributes. svn path=/trunk/; revision=2338
* Bug 438801 – underline should add "error" type.Behdad Esfahbod2007-06-112-1/+7
| | | | | | | | | | | 2007-06-11 Behdad Esfahbod <behdad@gnome.org> Bug 438801 – underline should add "error" type. * docs/pango_markup.sgml: Add "error" underline type to docs. svn path=/trunk/; revision=2337
* Bug 347236 – provide pango_cairo_font_get_scaled_font Bug 347235 – AddBehdad Esfahbod2007-06-1110-13/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-10 Behdad Esfahbod <behdad@gnome.org> Bug 347236 – provide pango_cairo_font_get_scaled_font Bug 347235 – Add pango_cairo_font_map_get_font_type Bug 353291 – Provide pango_cairo_font_map_new_for_font_type * pango/pangocairo-font.c: New public API: pango_cairo_font_get_scaled_font() * pango/pangocairo-fontmap.c: New public API: pango_cairo_font_map_new_for_font_type() pango_cairo_font_map_get_font_type() * pango/pangocairo-fcfontmap.c: Implement get_font_type() method. * pango/pangocairo.h: * pango/pangocairo-private.h: * docs/pango-sections.txt: * docs/tmpl/pangocairo.sgml: * pango/pangocairo.def: Update. svn path=/trunk/; revision=2336
* Bug 337593 – move glyph extents code (and cache) from pangocairo-*font.cBehdad Esfahbod2007-06-107-505/+586
| | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-09 Behdad Esfahbod <behdad@gnome.org> Bug 337593 – move glyph extents code (and cache) from pangocairo-*font.c into pangocairo-font.c * pango/pangocairo-fontmap.c: * pango/pangocairo-fcfontmap.c: Remove per-fontmap renderer. We've not been using it for a while and there is no reason to use it. * pango/pangocairo-font.c * pango/pangocairo-fcfont.c: Most most code (including glyph extents caching) from fcfont.c to font.c. Simplifies individual backends a lot. ATSUI and Win32 cairo backends should adapt. * pango/pangocairo-render.c * pango/pangocairo-private.h: Update to reflect above changes. svn path=/trunk/; revision=2335
* Use G_CONST_RETURNBehdad Esfahbod2007-06-101-1/+1
| | | | svn path=/trunk/; revision=2334
* Add missing g_return_if_fail()s. Pointed out by fcrozat.Behdad Esfahbod2007-06-052-7/+41
| | | | | | | | | | | | | | | 2007-06-05 Behdad Esfahbod <behdad@gnome.org> * pango/fonts.c (pango_font_description_merge), (pango_font_description_merge_static), (pango_font_description_copy), (pango_font_description_copy_static), (pango_font_description_hash), (pango_font_description_to_string), (pango_font_description_to_filename): Add missing g_return_if_fail()s. Pointed out by fcrozat. svn path=/trunk/; revision=2333
* Zero glyphs->num_glyphs before calling into shape engine.Behdad Esfahbod2007-06-054-4/+37
| | | | | | | | | | | | | | | | | | 2007-06-04 Behdad Esfahbod <behdad@gnome.org> * pango/shape.c (pango_shape): Zero glyphs->num_glyphs before calling into shape engine. * pango/pango-engine.c (fallback_engine_shape): Improve, to support clusters and what not. * pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info): Use "pango_script_get_sample_language (PANGO_SCRIPT_LATIN)" instead of hardcoding "en". Handle cairo_scaled_font_extents() failure. svn path=/trunk/; revision=2332
* === Released 1.17.2 ===PANGO_1_17_2Behdad Esfahbod2007-06-043-1/+26
| | | | | | | | | | | | | 2007-06-04 Behdad Esfahbod <behdad@gnome.org> * === Released 1.17.2 === * configure.in: Version 1.17.2 * NEWS: Updated. svn path=/trunk/; revision=2330
* Fix various typos reported by Peter Moulder.Behdad Esfahbod2007-06-035-6/+14
| | | | | | | | | | | | | 2007-06-03 Behdad Esfahbod <behdad@gnome.org> * docs/tmpl/main.sgml: * pango/pango-layout.c (process_item): * pango/pango-ot-info.c: * pango/pango-renderer.c (pango_renderer_draw_layout_line): Fix various typos reported by Peter Moulder. svn path=/trunk/; revision=2329