summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix docBehdad Esfahbod2007-10-241-1/+1
| | | | svn path=/trunk/; revision=2462
* Bug 471601 – Pass pango version information to fontconfigBehdad Esfahbod2007-10-246-20/+78
| | | | | | | | | | | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 471601 – Pass pango version information to fontconfig * pango/pangofc-fontmap.h: New public API: PANGO_FC_GRAVITY PANGO_FC_VERSION * pango/pangofc-fontmap.c (pango_fc_make_pattern): Set PANGO_FC_VERSION in pattern. * docs/pango-sections.txt: * docs/tmpl/pangofc-fontmap.sgml: Update. svn path=/trunk/; revision=2461
* Bug 472629 – Add pango_renderer_get_layout(_line)Behdad Esfahbod2007-10-247-12/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 472629 – Add pango_renderer_get_layout(_line) * pango/pango-renderer.h: * pango/pango-renderer.c: New public API: pango_renderer_get_layout() pango_renderer_get_layout_line() * pango/pangocairo-render.c (pango_cairo_renderer_draw_shape), (release_renderer), (_pango_cairo_do_layout_line), (_pango_cairo_do_layout): Use above API to simplify shape_renderer implementation. * pango/pango.def: * docs/pango-sections.txt: * docs/tmpl/pango-renderer.sgml: Update. svn path=/trunk/; revision=2460
* Fix couple Oopses from my last commit.Behdad Esfahbod2007-10-242-2/+7
| | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> * pango/pango-attributes.c: Fix couple Oopses from my last commit. svn path=/trunk/; revision=2459
* Bug 469641 – Initialize attribute start/end to [0..MAXUINT]Behdad Esfahbod2007-10-248-19/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 469641 – Initialize attribute start/end to [0..MAXUINT] * pango/pango-attributes.h: * pango/pango-attributes.c: New public API: pango_attribute_init() * pango/pango-attributes.c: (pango_attr_string_new), (pango_attr_language_new), (pango_attr_color_new), (pango_attr_int_new), (pango_attr_float_new), (pango_attr_size_new_internal), (pango_attr_font_desc_new), (pango_attr_shape_new_with_data): Initialize attributes using pango_attribute_init(). * pango/pango.def: * docs/pango-docs.sgml: * docs/pango-sections.txt: * docs/tmpl/text-attributes.sgml: Update. svn path=/trunk/; revision=2458
* Bug 471577 – GBoxed GType for PangoGlyphItemBehdad Esfahbod2007-10-2415-63/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 471577 – GBoxed GType for PangoGlyphItem * pango/pango-glyph-item.h: * pango/pango-glyph-item.c: New public API: PANGO_TYPE_GLYPH_ITEM pango_glyph_item_copy() pango_glyph_item_get_type() * pango/pango-layout.c: New public API: pango_layout_iter_copy() * pango/fonts.c (pango_font_description_copy), (pango_font_description_copy_static), (pango_font_description_free), (pango_font_descriptions_free), (pango_font_metrics_ref), (pango_font_metrics_unref): * pango/glyphstring.c (pango_glyph_string_copy), (pango_glyph_string_free): * pango/pango-attributes.c (pango_attr_list_ref), (pango_attr_list_unref), (pango_attr_list_copy): * pango/pango-color.c (pango_color_copy), (pango_color_free): * pango/pango-item.c (pango_item_copy), (pango_item_free): * pango/pango-layout.c (pango_layout_line_ref), (pango_layout_line_unref), (pango_layout_iter_copy), (pango_layout_iter_free): * pango/pango-layout.h: * pango/pango-matrix.c (pango_matrix_copy), (pango_matrix_free): Update all copy/free functions to accept NULL as legitimate input. Previously all were g_return_[val_]if_fail()ing it. * pango/pango.def: * docs/pango-sections.txt: * docs/tmpl/glyphs.sgml: * docs/tmpl/layout.sgml: Update. svn path=/trunk/; revision=2457
* Bug 471571 – Add pango_layout_iter_get_layout()Behdad Esfahbod2007-10-226-3/+47
| | | | | | | | | | | | | | | | 2007-10-22 Behdad Esfahbod <behdad@gnome.org> Bug 471571 – Add pango_layout_iter_get_layout() * docs/pango-sections.txt: * docs/tmpl/layout.sgml: * pango/pango-layout.c (pango_layout_iter_get_layout): * pango/pango-layout.h: * pango/pango.def: Add trivial yet missing pango_layout_iter_get_layout(). svn path=/trunk/; revision=2456
* Remove obsolete comment. PangoLayoutRun is not deprecated. It's just sameBehdad Esfahbod2007-10-222-1/+6
| | | | | | | | | | 2007-10-22 Behdad Esfahbod <behdad@gnome.org> * docs/tmpl/layout.sgml: Remove obsolete comment. PangoLayoutRun is not deprecated. It's just same type as PangoGlyphItem. svn path=/trunk/; revision=2455
* Remove obsolete comment. PangoLayoutRun is not deprecated. It's just sameBehdad Esfahbod2007-10-222-1/+5
| | | | | | | | | | 2007-10-21 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.h: Remove obsolete comment. PangoLayoutRun is not deprecated. It's just same type as PangoGlyphItem. svn path=/trunk/; revision=2454
* Bug 488840 – harfbuzz: protect against ligid overflowBehdad Esfahbod2007-10-213-1/+18
| | | | | | | | | | | | | | | 2007-10-21 Behdad Esfahbod <behdad@gnome.org> Bug 488840 – harfbuzz: protect against ligid overflow * pango/opentype/harfbuzz-buffer.c (_hb_buffer_allocate_ligid): Never return zero, even in case of overflow. * pango/opentype/harfbuzz-impl.h: Define dummy HB_LIKELY() and HB_UNLIKELY(), to be filled later. svn path=/trunk/; revision=2453
* Fixed my email adress in the comment.Dov Grobgeld2007-10-201-1/+1
| | | | svn path=/trunk/; revision=2452
* Implement bezier curve length function that flattens the curve and sum theBehdad Esfahbod2007-10-202-7/+75
| | | | | | | | | | | 2007-10-20 Behdad Esfahbod <behdad@gnome.org> * examples/cairotwisted.c (curve_length): Implement bezier curve length function that flattens the curve and sum the length of straight lines approximating it. svn path=/trunk/; revision=2451
* Bug 483600 – Leak of font family name inPANGO_1_18_3Behdad Esfahbod2007-10-152-0/+13
| | | | | | | | | | | | | | | | 2007-10-15 Behdad Esfahbod <behdad@gnome.org> Bug 483600 – Leak of font family name in pango_win32_font_description_from_logfont(w) Patch from Daniel Atallah * pango/pangowin32-fontmap.c (pango_win32_font_description_from_logfont), (pango_win32_font_description_from_logfontw): Free family. svn path=/trunk/; revision=2446
* Bug 486932 – Apply vkrn GPOS feature in vertical writingBehdad Esfahbod2007-10-152-2/+15
| | | | | | | | | | | | | 2007-10-15 Behdad Esfahbod <behdad@gnome.org> Bug 486932 – Apply vkrn GPOS feature in vertical writing * modules/basic/basic-fc.c (basic_engine_shape): Apply vkrn GPOS feature in vertical writing mode. Previously we had no GPOS feature for vertical mode. svn path=/trunk/; revision=2445
* Bug 481537 – compiler warning fixes Patch from Kjartan MaraasBehdad Esfahbod2007-10-1512-16/+28
| | | | | | | | | | | | | | | | | | | | | | | | 2007-10-15 Behdad Esfahbod <behdad@gnome.org> Bug 481537 – compiler warning fixes Patch from Kjartan Maraas * pango/break.c (pango_get_log_attrs): * pango/pango-attributes.c (pango_attr_list_insert_internal): * pango/pango-layout.c (process_item), (justify_clusters): * pango/pango-markup.c (span_parse_boolean): * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize), (pango_ot_ruleset_new): * pango/pango-utils.c (pango_scan_int): * pango/pangocairo-font.c (_pango_cairo_font_install): * pango/pangofc-font.c (pango_fc_font_create_metrics_for_context): * pango/pangoft2.c (load_fallback_face): * pango/pangox-fontmap.c (pango_x_get_coverage_win): * pango/pangox.c (itemize_string_foreach): Fix warnings. svn path=/trunk/; revision=2444
* Bug 485566 – Cache one OpenType BufferBehdad Esfahbod2007-10-113-4/+53
| | | | | | | | | | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> Bug 485566 – Cache one OpenType Buffer * pango/pango-ot-buffer.c (acquire_buffer), (release_buffer), (pango_ot_buffer_new), (pango_ot_buffer_destroy): * pango/pango-ot-private.h: Cache one HB_Buffer that is acquired using a lock. A new one is created if the shared buffer is locked. The shared buffer is cleared when released. May want to make it free shared buffer if buffer->allocated is too large. Not sure. svn path=/trunk/; revision=2443
* Mark internal symbols as HB_INTERNAL and define that to static inBehdad Esfahbod2007-10-1117-235/+322
| | | | | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/*: Mark internal symbols as HB_INTERNAL and define that to static in harfbuzz.c. * pango/opentype/harfbuzz-buffer-internal.h: New file. svn path=/trunk/; revision=2442
* Remove FTGLUE_API/APIDEF cruft.Behdad Esfahbod2007-10-113-24/+20
| | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/ftglue.[ch]: Remove FTGLUE_API/APIDEF cruft. svn path=/trunk/; revision=2441
* Build harfbuzz.c instead of individual source files, to let compiler goBehdad Esfahbod2007-10-112-4/+10
| | | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/Makefile.am: Build harfbuzz.c instead of individual source files, to let compiler go wild with optimizations! svn path=/trunk/; revision=2440
* Same here.Behdad Esfahbod2007-10-112-1/+4
| | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz.c: Same here. svn path=/trunk/; revision=2439
* Don't include harfbuzz-dump.[ch] in libharfbuzz.a. Those are just used byBehdad Esfahbod2007-10-112-2/+7
| | | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/Makefile.am: Don't include harfbuzz-dump.[ch] in libharfbuzz.a. Those are just used by the harfbuzz-dump tool. svn path=/trunk/; revision=2438
* Some more cleanup.Behdad Esfahbod2007-10-112-9/+6
| | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz-buffer.c: Some more cleanup. svn path=/trunk/; revision=2437
* Move some code around.Behdad Esfahbod2007-10-112-43/+52
| | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz-buffer.c: Move some code around. svn path=/trunk/; revision=2436
* Minor.Behdad Esfahbod2007-10-111-1/+1
| | | | svn path=/trunk/; revision=2435
* Rename buffer->inplace to buffer->separate_out with the inverted meaning,Behdad Esfahbod2007-10-113-18/+24
| | | | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz-buffer.[ch]: Rename buffer->inplace to buffer->separate_out with the inverted meaning, such that buffer is initialization is memset(0). svn path=/trunk/; revision=2434
* Allocate buffer->positions lazily.Behdad Esfahbod2007-10-115-9/+41
| | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/*: Allocate buffer->positions lazily. svn path=/trunk/; revision=2433
* Bug 485621 – Get rid of freetype memory allocator in harfbuzzBehdad Esfahbod2007-10-1117-714/+452
| | | | | | | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> Bug 485621 – Get rid of freetype memory allocator in harfbuzz * pango/opentype/*: Remove all occurences of FT_Memory. Use malloc/realloc/free directly. * pango/pango-ot*: Update to above. svn path=/trunk/; revision=2432
* Bug 485559 – Boston Summit HarfBuzz optimizationsBehdad Esfahbod2007-10-1123-1318/+1281
| | | | | | | | | | | | | | | | | | | | | | 2007-10-10 Behdad Esfahbod <behdad@gnome.org> Bug 485559 – Boston Summit HarfBuzz optimizations * pango/opentype/*: HarfBuzz hacking to: - Rename last remaining FT_Err stuff to HB_Err. - Fix a couple invalid table paths to be permissive so fonts work better. Particularly GDEF table for Nafees Nastaliq is loaded and works great now. - Optimize harfbuzz buffer to not copy/swap for simple one-to-one and "copy" GSUB operations. * pango/pango-ot*: Update to FT_Err to HB_Err renaming. svn path=/trunk/; revision=2431
* Improve docs.Behdad Esfahbod2007-10-101-1/+1
| | | | svn path=/trunk/; revision=2430
* Add empty line between maintainersOlav Vitters2007-09-211-0/+1
| | | | svn path=/trunk/; revision=2429
* Fix typo in comments.Behdad Esfahbod2007-09-212-1/+5
| | | | | | | | | 2007-09-21 Behdad Esfahbod <behdad@gnome.org> * pango/pangofc-fontmap.c: Fix typo in comments. svn path=/trunk/; revision=2428
* === Released 1.18.2 ===PANGO_1_18_2Behdad Esfahbod2007-09-173-2/+22
| | | | | | | | | | | | | 2007-09-17 Behdad Esfahbod <behdad@gnome.org> * === Released 1.18.2 === * configure.in: Version 1.18.2 * NEWS: Updated. svn path=/trunk/; revision=2426
* Bug 474708 – pangocairo leaks memoryBehdad Esfahbod2007-09-082-1/+10
| | | | | | | | | | | | | | 2007-09-07 Behdad Esfahbod <behdad@gnome.org> Bug 474708 – pangocairo leaks memory * pango-view/viewer-pangocairo.c (pangocairo_view_create): Use pango_cairo_font_map_new() instead of pango_cairo_font_map_get_default(), so the font map is freed at the end so we can use valgrind to detect leaks without noise. svn path=/trunk/; revision=2425
* Part of Bug 474708 – pangocairo leaks memoryBehdad Esfahbod2007-09-089-15/+23
| | | | | | | | | | | | | | | | | | | | | | | | | 2007-09-07 Behdad Esfahbod <behdad@gnome.org> Part of Bug 474708 – pangocairo leaks memory * pango/pangocairo-font.c (_pango_cairo_font_private_get_hex_box_info): Fix a couple leaks. * pango/pangocairo-atsui.h: * pango/pangocairo-atsuifontmap.c (pango_cairo_atsui_font_map_finalize): * pango/pangocairo-fc.h: * pango/pangocairo-fcfontmap.c (pango_cairo_fc_font_map_finalize): * pango/pangocairo-win32.h: * pango/pangocairo-win32fontmap.c (pango_cairo_win32_font_map_finalize): Remove unused leftover renderer variable. * pango/pangofc-fontmap.c (pango_fc_font_map_finalize): Fix thinko. svn path=/trunk/; revision=2424
* Switch some g_new (*, 1) to g_slice_new ()... I know...Behdad Esfahbod2007-09-071-7/+14
| | | | | | | | | | | | | | | | | | 2007-09-07 Behdad Esfahbod <behdad@gnome.org> * pango/pangox-fontcache.c (free_cache_entry), (pango_x_font_cache_free), (pango_x_font_cache_new), (pango_x_font_cache_load): * pango/pangox-fontmap.c (pango_x_font_map_finalize), (pango_x_insert_font): * pango/pangox.c (free_context_info), (pango_x_get_context), (pango_x_font_init), (pango_x_font_get_metrics), (pango_x_insert_subfont), (free_metrics_info), (pango_x_font_finalize): Switch some g_new (*, 1) to g_slice_new ()... I know... svn path=/trunk/; revision=2423
* Switch some g_new (*, 1) to g_slice_new ()... I know...Behdad Esfahbod2007-09-074-7/+27
| | | | | | | | | | | | | | | | | | 2007-09-07 Behdad Esfahbod <behdad@gnome.org> * pango/pangox-fontcache.c (free_cache_entry), (pango_x_font_cache_free), (pango_x_font_cache_new), (pango_x_font_cache_load): * pango/pangox-fontmap.c (pango_x_font_map_finalize), (pango_x_insert_font): * pango/pangox.c (free_context_info), (pango_x_get_context), (pango_x_font_init), (pango_x_font_get_metrics), (pango_x_insert_subfont), (free_metrics_info), (pango_x_font_finalize): Switch some g_new (*, 1) to g_slice_new ()... I know... svn path=/trunk/; revision=2422
* Patch from Chris WilsonBehdad Esfahbod2007-09-072-2/+8
| | | | | | | | | | | | 2007-09-07 Behdad Esfahbod <behdad@gnome.org> Patch from Chris Wilson * pango/pangoft2.c (load_fallback_face): Use g_error() instead of g_warning()+exit(). svn path=/trunk/; revision=2421
* Bug 472891 – Bad consistency check in pango_get_log_attrsMathias Hasselmann2007-09-022-1/+7
| | | | | | | | | | | 2007-09-02 Mathias Hasselmann <mathias.hasselmann@gmx.de> Bug 472891 – Bad consistency check in pango_get_log_attrs * pango/break.c: Invert the consistency check. svn path=/trunk/; revision=2420
* MinorBehdad Esfahbod2007-08-301-3/+4
| | | | svn path=/trunk/; revision=2419
* Bug 302952 – The placement of a diacritic marks for an arabic ligatureBehdad Esfahbod2007-08-292-1/+9
| | | | | | | | | | | | | 2007-08-29 Behdad Esfahbod <behdad@gnome.org> Bug 302952 – The placement of a diacritic marks for an arabic ligature is not correct * pango/opentype/harfbuzz-buffer.c (hb_buffer_allocate_ligid): Don't use zero as allocated ligature id. Zero means no ligature id. svn path=/trunk/; revision=2418
* Move ruleset initialization to _init() instead of _new().Behdad Esfahbod2007-08-292-5/+10
| | | | | | | | | | | 2007-08-28 Behdad Esfahbod <behdad@gnome.org> * pango/pango-ot-ruleset.c (pango_ot_ruleset_init), (pango_ot_ruleset_new): Move ruleset initialization to _init() instead of _new(). svn path=/trunk/; revision=2417
* Bug 410152 – testboundaries test failsBehdad Esfahbod2007-08-282-1/+7
| | | | | | | | | | | 2007-08-28 Behdad Esfahbod <behdad@gnome.org> Bug 410152 – testboundaries test fails * configure.in: Require libthai >= 0.1.9 svn path=/trunk/; revision=2416
* === Released 1.18.1 ===PANGO_1_18_1Behdad Esfahbod2007-08-283-2/+20
| | | | | | | | | | | | | 2007-08-27 Behdad Esfahbod <behdad@gnome.org> * === Released 1.18.1 === * configure.in: Version 1.18.1 * NEWS: Updated. svn path=/trunk/; revision=2414
* Bug 470042 – missing Macedonian OT tag Patch from Denis JacqueryeBehdad Esfahbod2007-08-242-0/+8
| | | | | | | | | | | | 2007-08-24 Behdad Esfahbod <behdad@gnome.org> Bug 470042 – missing Macedonian OT tag Patch from Denis Jacquerye * pango/pango-ot-tag.c: Add Macedoninan language tag. svn path=/trunk/; revision=2413
* Bug 468953 – pango-renderer.c: using function without prototypeBehdad Esfahbod2007-08-212-0/+7
| | | | | | | | | | | 2007-08-21 Behdad Esfahbod <behdad@gnome.org> Bug 468953 – pango-renderer.c: using function without prototype * pango/pango-renderer.c: #include <pango-impl-utils.h> svn path=/trunk/; revision=2412
* Bug 463430 – Gets stuck while "formatting message"Behdad Esfahbod2007-08-213-6/+21
| | | | | | | | | | | | | | | 2007-08-21 Behdad Esfahbod <behdad@gnome.org> Bug 463430 – Gets stuck while "formatting message" * pango/opentype/harfbuzz-gpos.c (Lookup_PairPos1), (Lookup_PairPos2), (Lookup_PairPos), (Do_ContextPos): * pango/opentype/harfbuzz-gsub.c (Do_ContextSubst): Change type of intermediate index variable from FT_UShort to FT_ULong as it was overlowing with more than 65536 glyphs. svn path=/trunk/; revision=2411
* Remove reference to required version of glib. It falls out of synch everyBehdad Esfahbod2007-08-212-2/+7
| | | | | | | | | | 2007-08-20 Behdad Esfahbod <behdad@gnome.org> * README: Remove reference to required version of glib. It falls out of synch every single time. svn path=/trunk/; revision=2410
* === Released 1.18.0 ===PANGO_1_18_0Behdad Esfahbod2007-08-213-2/+38
| | | | | | | | | | | | | 2007-08-20 Behdad Esfahbod <behdad@gnome.org> * === Released 1.18.0 === * configure.in: Version 1.18.0 * NEWS: Updated. svn path=/trunk/; revision=2408
* Remove use of pango-script-table.hBehdad Esfahbod2007-08-211-30/+0
| | | | svn path=/trunk/; revision=2407
* Bug 348348 – Add a way to get the script name of a gunicharBehdad Esfahbod2007-08-2111-3139/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-08-20 Behdad Esfahbod <behdad@gnome.org> Bug 348348 – Add a way to get the script name of a gunichar * configure.in: Require glib 2.14, for GUnicodeScript stuff. * docs/tmpl/scripts.sgml: Document that #PangoScript is interchangeable with GUnicodeScript. * pango/pango-script.c (pango_script_for_unichar): Use g_unichar_get_script(), and document it. * tools/Makefile.am: * tools/gen-script-table.pl: * pango/Makefile.am: * pango/pango-script-table.h: Remove pango-script-table.h and its generator. * pango/pango-gravity.c (get_script_properties): * pango/pango-language.c (pango_script_get_sample_language): * pango/pango-ot-tag.c (pango_ot_tag_from_script): Protect against unexpected script values. svn path=/trunk/; revision=2406