| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/ftglue.[ch]: Remove FTGLUE_API/APIDEF cruft.
svn path=/trunk/; revision=2441
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz.c: Same here.
svn path=/trunk/; revision=2439
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz-buffer.c: Some more cleanup.
svn path=/trunk/; revision=2437
|
|
|
|
|
|
|
|
|
| |
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz-buffer.c: Move some code around.
svn path=/trunk/; revision=2436
|
|
|
|
| |
svn path=/trunk/; revision=2435
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: Allocate buffer->positions lazily.
svn path=/trunk/; revision=2433
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=2430
|
|
|
|
|
|
|
|
|
| |
2007-09-21 Behdad Esfahbod <behdad@gnome.org>
* pango/pangofc-fontmap.c: Fix typo in comments.
svn path=/trunk/; revision=2428
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-20 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz-gsub.c (GSUB_Do_String_Lookup): Don't
ignore error return value of hb_buffer_copy_output_glyph(). Patch
sent to harfbuzz-list.
svn path=/trunk/; revision=2405
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-15 Behdad Esfahbod <behdad@gnome.org>
Bug 462630 – pango_cairo_context_set_font_options() and some others
don't have a Since: tag
* pango/pangocairo-context.c: Add missing Since tags to docs.
svn path=/trunk/; revision=2404
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-15 Behdad Esfahbod <behdad@gnome.org>
Bug 467077 – Remove special-case for shape attribute in
pango_layout_line_index_to_x()
* pango/pango-layout.c (pango_layout_line_index_to_x): Remove
special-casing for shape-attribute runs. It all works because
pango_glyph_string_index_to_x() is perfectly correct to run on glyphs
returned by _pango_shape_shape().
svn path=/trunk/; revision=2403
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-15 Behdad Esfahbod <behdad@gnome.org>
Bug 462420 – Clicking on pixbuf should move the cursor to the position
nearest to the click point
* pango/pango-layout.c (pango_layout_line_x_to_index): Remove
special-casing for shape-attribute runs. It all works because
pango_glyph_string_x_to_index() is perfectly correct to run on glyphs
returned by _pango_shape_shape().
svn path=/trunk/; revision=2402
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-15 Behdad Esfahbod <behdad@gnome.org>
Bug 467056 – Shape attribute handling is not consistent
* pango/pango-impl-utils.h:
* pango/pango-layout.c (pango_layout_line_index_to_x), (shape_run),
(pango_layout_line_x_to_index), (pango_layout_run_get_extents),
(update_run):
* pango/pango-renderer.c (pango_renderer_draw_layout_line):
* pango/pango-utils.c (_pango_shape_shape),
(_pango_shape_get_extents):
Fix handling of extents for shaped runs. Previsouly a shaped run
with more than one character was not correctly positioned.
svn path=/trunk/; revision=2401
|
|
|
|
| |
svn path=/trunk/; revision=2400
|
|
|
|
| |
svn path=/trunk/; revision=2399
|
|
|
|
| |
svn path=/trunk/; revision=2398
|
|
|
|
| |
svn path=/trunk/; revision=2397
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-14 Behdad Esfahbod <behdad@gnome.org>
Bug 466755 – pango hangul is crashing in gnome-about because it is
failing to retrieve a font.
* pango/pangofc-font.c (pango_fc_font_real_get_glyph),
(pango_fc_font_kern_glyphs), (pango_fc_font_get_raw_extents):
Protect against NULL face.
* pango/shape.c (pango_shape): Improve error message by writing
out shaping engine type name and the text too.
svn path=/trunk/; revision=2396
|
|
|
|
|
|
|
|
|
| |
2007-08-14 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-script.h (pango_script_for_unichar): Mark G_GNUC_CONST.
svn path=/trunk/; revision=2395
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-09 Behdad Esfahbod <behdad@gnome.org>
Bug 465174 – TextView is ignoring multiple consecutive \t's
* pango/pango-layout.c (get_tab_pos), (shape_tab): Fix two problems
introduced with fix for bug 464183. The code now semantically
matches what it was before changes leading to revision 1734 for
the case that user has set no tabs.
svn path=/trunk/; revision=2394
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-07 Behdad Esfahbod <behdad@gnome.org>
Bug 464270 – ellipsize doesn't work consistent
* pango/pango-glyph-item.c (_pango_glyph_item_iter_prev_cluster):
Fix. Was jumping two clusters at a time. Oops!
* pango/ellipsize.c (init_state): Minor cleanup.
svn path=/trunk/; revision=2392
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-07 Behdad Esfahbod <behdad@gnome.org>
Bug 464183 – Minimum tab width enforcement in pango-layout breaks
TabArray positions
Patch by David Trowbridge
* pango/pango-layout.c (get_tab_pos), (shape_tab): Don't enforce any
minimum space between tabs if tab-array is set on the layout.
svn path=/trunk/; revision=2390
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-01 Behdad Esfahbod <behdad@gnome.org>
* pango/Makefile.am:
* pango/glyphstring.c (pango_glyph_string_index_to_x),
(pango_glyph_string_x_to_index):
* pango/mapping.c:
Move contents of mapping.c to glyphstring.c where they belong.
* pango/pango-layout.c (pango_layout_line_x_to_index):
Fix typo.
svn path=/trunk/; revision=2389
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-31 Behdad Esfahbod <behdad@gnome.org>
Bug 462137 – memory corruption in pango_default_break
* pango/break.c (pango_default_break): Handle the case of
an empty string correctly.
svn path=/trunk/; revision=2385
|
|
|
|
| |
svn path=/trunk/; revision=2376
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=2363
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=2356
|
|
|
|
|
|
|
|
|
| |
2007-06-15 Hans Breuer <hans@breuer.org>
* pango/makefile.msc : updated
svn path=/trunk/; revision=2355
|