framework/uifw/harfbuzz.git
14 years ago[GSUB] Start Ligature subtable support
Behdad Esfahbod [Thu, 16 Apr 2009 20:53:40 +0000 (16:53 -0400)]
[GSUB] Start Ligature subtable support

14 years ago[GSUB] Implement Alternate subtables
Behdad Esfahbod [Thu, 16 Apr 2009 18:19:42 +0000 (14:19 -0400)]
[GSUB] Implement Alternate subtables

14 years ago[GSUB] Implement Extension subtables
Behdad Esfahbod [Thu, 16 Apr 2009 17:40:13 +0000 (13:40 -0400)]
[GSUB] Implement Extension subtables

14 years ago[GSUB] Fix reverse lookup loop like we did in the old code before
Behdad Esfahbod [Thu, 16 Apr 2009 16:30:51 +0000 (12:30 -0400)]
[GSUB] Fix reverse lookup loop like we did in the old code before

14 years ago[harfbuzz/GSUB] towards a partially working GSUB
Behdad Esfahbod [Thu, 16 Apr 2009 08:45:30 +0000 (04:45 -0400)]
[harfbuzz/GSUB] towards a partially working GSUB

14 years agoImplement the first substitute()
Behdad Esfahbod [Thu, 16 Apr 2009 02:56:15 +0000 (22:56 -0400)]
Implement the first substitute()

14 years agoMerge harfbuzz-ng
Behdad Esfahbod [Mon, 2 Nov 2009 19:35:51 +0000 (14:35 -0500)]
Merge harfbuzz-ng

15 years agoUse git.mk
Behdad Esfahbod [Fri, 17 Apr 2009 21:03:39 +0000 (17:03 -0400)]
Use git.mk

15 years agoGive it a start at GSUB
Behdad Esfahbod [Wed, 15 Apr 2009 23:50:16 +0000 (19:50 -0400)]
Give it a start at GSUB

15 years agoBug 577952 – Error loading {GDEF,GSUB,GPOS} table 0x6EAD
Behdad Esfahbod [Thu, 9 Apr 2009 17:30:26 +0000 (13:30 -0400)]
Bug 577952 – Error loading {GDEF,GSUB,GPOS} table 0x6EAD

Detect TrueType Collections by checking the font data header instead
of checking for "face->num_faces >1".

15 years ago[opentype] Protect against illegal access for arrays of length zero
Behdad Esfahbod [Mon, 2 Mar 2009 11:46:11 +0000 (15:16 +0330)]
[opentype] Protect against illegal access for arrays of length zero

15 years ago[opentype] Use size_t instead of uint for malloc wrappers
Behdad Esfahbod [Mon, 2 Mar 2009 10:50:20 +0000 (14:20 +0330)]
[opentype] Use size_t instead of uint for malloc wrappers

15 years agoFix Bug 572529 – Poor -I ordering can break build
Behdad Esfahbod [Mon, 2 Mar 2009 07:39:29 +0000 (11:09 +0330)]
Fix Bug 572529 – Poor -I ordering can break build

15 years agoAllocate all array rows in a single ALLOC call. Saves over 100 alloc calls
Behdad Esfahbod [Mon, 2 Feb 2009 00:13:07 +0000 (00:13 +0000)]
Allocate all array rows in a single ALLOC call. Saves over 100 alloc calls

2009-01-31  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-gpos.c (Load_Mark2Array),
        (Free_Mark2Array):
        Allocate all array rows in a single ALLOC call.  Saves over 100
        alloc calls when loading DejaVu Sans,

15 years agoRemove ClassDef->Defined field. This is the comment accompanying it:
Behdad Esfahbod [Thu, 29 Jan 2009 09:20:08 +0000 (09:20 +0000)]
Remove ClassDef->Defined field. This is the comment accompanying it:

2009-01-29  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-open.h:
        * pango/opentype/harfbuzz-gdef.c (Make_ClassRange),
        (HB_GDEF_Build_ClassDefinition):
        * pango/opentype/harfbuzz-gpos.c (Load_PosClassRule),
        (Load_ChainPosClassRule):
        * pango/opentype/harfbuzz-gsub.c (Load_SubClassRule),
        (Load_ChainSubClassRule):
        * pango/opentype/harfbuzz-open.c (Load_ClassDef1),
        (Load_ClassDef2), (_HB_OPEN_Load_ClassDefinition),
        (_HB_OPEN_Load_EmptyClassDefinition),
        (_HB_OPEN_Free_ClassDefinition):
        Remove ClassDef->Defined field.  This is the comment accompanying it:

          The `Defined' field is not defined in the OpenType specification
          but apparently needed for processing fonts like trado.ttf: This
          font refers to a class which contains not a single element.  We
          map such classes to class 0.

        The comment is correct that trado.ttf (MS Traditional Arabic) uses
        such classes.  However, in my testing I couldn't identify any
        problems with the font if the special handling is removed.  I also
        processed as many fonts as I could get my hand on and trado.ttf was
        the only not-totally-broken font hitting the special-case code.
        DejaVu fonts hit it too, but I'm sure they do not require the
        special-handling code.  Most probably, that code introduces bugs
        in them.

        The special-casing was consuming lots of memory.  EIGHT MEGABYTES
        for loading DejaVu Sans!  While this could be complete fixed, I
        decided to remove the special-handling code altogether.  I don't
        think it will make any real difference, and if it does, we'll fix
        fonts.  Such hacks will not be in harfbuzz-ng anyway.

        Bug originally reported by nsf.

15 years agoUse calloc(), instead of malloc()ing and memset()ing.
Behdad Esfahbod [Thu, 29 Jan 2009 09:19:56 +0000 (09:19 +0000)]
Use calloc(), instead of malloc()ing and memset()ing.

2009-01-29  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-impl.c (_hb_alloc): Use calloc(),
        instead of malloc()ing and memset()ing.

15 years agoRemove old cruft.
Behdad Esfahbod [Thu, 29 Jan 2009 09:19:43 +0000 (09:19 +0000)]
Remove old cruft.

2009-01-29  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-dump-main.c (main): Remove old cruft.

15 years agoAllocate all array rows in a single ALLOC call. Saves over 2000 alloc
Behdad Esfahbod [Thu, 29 Jan 2009 09:19:20 +0000 (09:19 +0000)]
Allocate all array rows in a single ALLOC call. Saves over 2000 alloc

2009-01-29  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-gpos.c (Load_BaseArray), (Free_BaseArray):
        Allocate all array rows in a single ALLOC call.  Saves over 2000
        alloc calls when loading DejaVu Sans!

15 years agoBug 469049 – Fix all compiler warnings
Behdad Esfahbod [Fri, 26 Dec 2008 02:31:47 +0000 (02:31 +0000)]
Bug 469049 – Fix all compiler warnings

2008-12-25  Behdad Esfahbod  <behdad@gnome.org>

        Bug 469049 – Fix all compiler warnings

        * pango-view/viewer-pangocairo.c (render_callback):
        * pango/fonts.c (append_field), (pango_font_description_to_string):
        * pango/opentype/harfbuzz-dump.c:
        * pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels):
        * pango/pango-coverage.c (pango_coverage_set):
        * pango/pango-markup.c (span_parse_func):
        * pango/pango-renderer.c
        (pango_renderer_default_draw_error_underline):
        * pango/pango-utils.c (pango_scan_string):
        * pango/pangocairo-render.c (pango_cairo_renderer_draw_trapezoid),
        (draw_error_underline), (pango_cairo_renderer_class_init):
        Fix all the remaining warnings.

15 years agoFix more warnings.
Behdad Esfahbod [Fri, 26 Dec 2008 02:31:35 +0000 (02:31 +0000)]
Fix more warnings.

2008-12-25  Behdad Esfahbod  <behdad@gnome.org>

        * pango/modules.c (pango_module_load), (script_info_free):
        * pango/opentype/harfbuzz-gpos.c (HB_Load_GPOS_Table):
        * pango/pango-bidi-type.c:
        * pango/pango-coverage.c (pango_coverage_ref),
        (pango_coverage_unref):
        * pango/pango-engine.c (pango_engine_shape_real_covers),
        (fallback_engine_shape), (fallback_engine_covers):
        * pango/pango-fontmap.c (pango_font_map_init):
        * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize),
        (pango_ot_ruleset_new):
        * pango/pangofc-decoder.c (pango_fc_decoder_init),
        (pango_fc_decoder_class_init):
        * pango/pangofc-font.c (pango_fc_font_find_shaper),
        (pango_fc_font_get_coverage):
        * pango/pangofc-fontmap.c (pango_fc_font_map_list_families),
        (pango_fc_make_pattern), (pango_fc_font_map_get_patterns),
        (get_first_font), (_pango_fc_font_map_get_coverage),
        (cleanup_font), (pango_fc_font_description_from_pattern),
        (pango_fc_face_list_sizes), (pango_fc_family_list_faces):
        * pango/pangoft2-fontmap.c (pango_ft2_font_map_get_resolution):
        * pango/pangoft2-render.c (pango_ft2_renderer_init),
        (pango_ft2_renderer_draw_trapezoid):
        * pango/pangoft2.c (pango_ft2_font_get_face),
        (pango_ft2_font_real_unlock_face),
        (pango_ft2_free_glyph_info_callback):
        Fix more warnings.

15 years agoBug 528272 – "Error loading GPOS table 5503" when using katakana
Behdad Esfahbod [Wed, 15 Oct 2008 03:45:29 +0000 (03:45 +0000)]
Bug 528272 – "Error loading GPOS table 5503" when using katakana

2008-10-14  Behdad Esfahbod  <behdad@gnome.org>

        Bug 528272 – "Error loading GPOS table 5503" when using katakana
        characters

        * pango/opentype/harfbuzz-gpos.c (Load_Mark2Array): Skip parsing
        null anchor tables.

15 years agoFix left-to-right positioning. Reported by Peter Hunter.
Behdad Esfahbod [Mon, 29 Sep 2008 22:28:47 +0000 (22:28 +0000)]
Fix left-to-right positioning. Reported by Peter Hunter.

2008-09-29  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-gpos.c (Position_CursiveChain):
        Fix left-to-right positioning.  Reported by Peter Hunter.

16 years agoBug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font
Behdad Esfahbod [Sun, 29 Jun 2008 18:30:14 +0000 (18:30 +0000)]
Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font

2008-06-29  Behdad Esfahbod  <behdad@gnome.org>

        Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font

        * pango/opentype/harfbuzz-gsub.c (GSUB_Do_String_Lookup): Fix reverse
        loops for type 8 lookups.

16 years ago[hb-ot-layout] Add proper namespace to accessors
Behdad Esfahbod [Tue, 19 Feb 2008 02:14:23 +0000 (21:14 -0500)]
[hb-ot-layout] Add proper namespace to accessors

16 years agoFix typo, add TODOs
Behdad Esfahbod [Tue, 19 Feb 2008 01:58:39 +0000 (20:58 -0500)]
Fix typo, add TODOs

16 years agoFinish script, language, and feature public API
Behdad Esfahbod [Mon, 28 Jan 2008 12:40:10 +0000 (07:40 -0500)]
Finish script, language, and feature public API

16 years agoAdd script and language public getter API
Behdad Esfahbod [Mon, 28 Jan 2008 10:58:50 +0000 (05:58 -0500)]
Add script and language public getter API

16 years agoMake main.cc compile again, which means finished getter API
Behdad Esfahbod [Mon, 28 Jan 2008 07:30:48 +0000 (02:30 -0500)]
Make main.cc compile again, which means finished getter API

16 years agoRename HB_OT_Layout to hb_ot_layout_t
Behdad Esfahbod [Mon, 28 Jan 2008 05:16:49 +0000 (00:16 -0500)]
Rename HB_OT_Layout to hb_ot_layout_t

16 years agoRename hb_ot_layout_create() to hb_ot_layout_create_for_data()
Behdad Esfahbod [Mon, 28 Jan 2008 05:12:21 +0000 (00:12 -0500)]
Rename hb_ot_layout_create() to hb_ot_layout_create_for_data()

16 years agoGDEF completely working now
Behdad Esfahbod [Mon, 28 Jan 2008 02:19:51 +0000 (21:19 -0500)]
GDEF completely working now

16 years ago[GDEF] Finish internal API
Behdad Esfahbod [Fri, 25 Jan 2008 00:38:56 +0000 (19:38 -0500)]
[GDEF] Finish internal API

16 years ago[GDEF] Finish public API
Behdad Esfahbod [Fri, 25 Jan 2008 00:13:50 +0000 (19:13 -0500)]
[GDEF] Finish public API

16 years agoImplement glyph properties
Behdad Esfahbod [Thu, 24 Jan 2008 11:03:45 +0000 (06:03 -0500)]
Implement glyph properties

16 years agoMore public api
Behdad Esfahbod [Thu, 24 Jan 2008 08:54:09 +0000 (03:54 -0500)]
More public api

16 years agoStarting public interface
Behdad Esfahbod [Thu, 24 Jan 2008 08:11:09 +0000 (03:11 -0500)]
Starting public interface

16 years agoRemove unused macro
Behdad Esfahbod [Thu, 24 Jan 2008 04:42:24 +0000 (04:42 +0000)]
Remove unused macro

16 years agoMinor
Behdad Esfahbod [Wed, 23 Jan 2008 23:02:28 +0000 (18:02 -0500)]
Minor

16 years agoMinor renaming
Behdad Esfahbod [Wed, 23 Jan 2008 22:25:29 +0000 (17:25 -0500)]
Minor renaming

16 years agoInitial gsub stub
Behdad Esfahbod [Wed, 23 Jan 2008 22:01:55 +0000 (17:01 -0500)]
Initial gsub stub

16 years agoAdd copyright notices.
Behdad Esfahbod [Wed, 23 Jan 2008 21:14:38 +0000 (16:14 -0500)]
Add copyright notices.

16 years agoMinor cleanup, add LIKELY and UNLIKELY annotations
Behdad Esfahbod [Wed, 23 Jan 2008 20:50:38 +0000 (15:50 -0500)]
Minor cleanup, add LIKELY and UNLIKELY annotations

16 years agoClean up file names, add namespace
Behdad Esfahbod [Wed, 23 Jan 2008 10:00:30 +0000 (05:00 -0500)]
Clean up file names, add namespace

16 years agoMake all code NULL-free and assert-free
Behdad Esfahbod [Wed, 23 Jan 2008 09:36:40 +0000 (04:36 -0500)]
Make all code NULL-free and assert-free

16 years agoDefine get_for_data() factories
Behdad Esfahbod [Wed, 23 Jan 2008 07:01:37 +0000 (02:01 -0500)]
Define get_for_data() factories

16 years agoFinish and test GDEF
Behdad Esfahbod [Wed, 23 Jan 2008 06:38:10 +0000 (01:38 -0500)]
Finish and test GDEF

16 years agoMisc cleanup
Behdad Esfahbod [Wed, 23 Jan 2008 05:20:48 +0000 (00:20 -0500)]
Misc cleanup

16 years agoRemove COPYING.GPL and COPYING.FTL that are no longer there.
Behdad Esfahbod [Wed, 16 Jan 2008 20:39:29 +0000 (20:39 +0000)]
Remove COPYING.GPL and COPYING.FTL that are no longer there.

2008-01-16  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/Makefile.am: Remove COPYING.GPL and COPYING.FTL that
        are no longer there.

16 years agoHarfBuzz was relicensed to a more generous and simpler license. Adapt. See
Behdad Esfahbod [Tue, 15 Jan 2008 22:46:32 +0000 (22:46 +0000)]
HarfBuzz was relicensed to a more generous and simpler license. Adapt. See

2008-01-15  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/*:
        HarfBuzz was relicensed to a more generous and simpler license.
        Adapt.  See pango/opentype/COPYING for the new license which is
        LGPL-compatible.

16 years agoBug 501575 – Compile errors Patch from Jens Granseuer
Behdad Esfahbod [Wed, 5 Dec 2007 03:41:29 +0000 (03:41 +0000)]
Bug 501575 – Compile errors Patch from Jens Granseuer

2007-12-04  Behdad Esfahbod  <behdad@gnome.org>

        Bug 501575 – Compile errors
        Patch from Jens Granseuer

        * pango/opentype/harfbuzz-stream.c (_hb_font_goto_table):
        * pango/pango-utils.c (handle_alias_line):
        Fix C99ism.

16 years agoUndo accidental change.
Behdad Esfahbod [Fri, 30 Nov 2007 04:31:29 +0000 (04:31 +0000)]
Undo accidental change.

16 years agoBug 485536 – underline_position can be zero
Behdad Esfahbod [Fri, 30 Nov 2007 04:29:58 +0000 (04:29 +0000)]
Bug 485536 – underline_position can be zero

2007-11-29  Behdad Esfahbod  <behdad@gnome.org>

        Bug 485536 – underline_position can be zero

        * pango/pango-utils.c (pango_cairo_quantize_line_geometry):
        Document that returned position may be zero.

        * pango/pangocairo-win32font.c
        (pango_cairo_win32_font_create_metrics_for_context):
        * pango/pangofc-font.c (get_face_metrics):
        Handle case of underline_position==0 after rounding.

16 years agoRemove unused macro.
Behdad Esfahbod [Sat, 24 Nov 2007 01:40:13 +0000 (01:40 +0000)]
Remove unused macro.

2007-11-23  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-impl.c: Remove unused macro.

16 years agoMinor
Behdad Esfahbod [Sun, 18 Nov 2007 22:34:08 +0000 (22:34 +0000)]
Minor

16 years agoRemove dead code.
Behdad Esfahbod [Wed, 7 Nov 2007 10:04:11 +0000 (10:04 +0000)]
Remove dead code.

16 years agoAnd some more.
Behdad Esfahbod [Wed, 7 Nov 2007 09:59:18 +0000 (09:59 +0000)]
And some more.

2007-11-07  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/*: And some more.

16 years agoSome more cleanup and merging.
Behdad Esfahbod [Wed, 7 Nov 2007 08:06:01 +0000 (08:06 +0000)]
Some more cleanup and merging.

2007-11-07  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/*: Some more cleanup and merging.

16 years agoFix typo.
Behdad Esfahbod [Mon, 29 Oct 2007 23:51:48 +0000 (23:51 +0000)]
Fix typo.

16 years agoEven more cleanup and more type renames.
Behdad Esfahbod [Thu, 25 Oct 2007 23:37:11 +0000 (23:37 +0000)]
Even more cleanup and more type renames.

2007-10-25  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/*: Even more cleanup and more type renames.

16 years agoMore cleanup, remove redundant error types.
Behdad Esfahbod [Thu, 25 Oct 2007 23:22:17 +0000 (23:22 +0000)]
More cleanup, remove redundant error types.

2007-10-25  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/*: More cleanup, remove redundant error types.

16 years agoRename ftglue.c to harfbuzz-impl.c and more type renames and moving code
Behdad Esfahbod [Thu, 25 Oct 2007 00:23:46 +0000 (00:23 +0000)]
Rename ftglue.c to harfbuzz-impl.c and more type renames and moving code

2007-10-24  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/*: Rename ftglue.c to harfbuzz-impl.c and more
        type renames and moving code around.

16 years agoNew header file harfbuzz-global.h. Rename FT_* int types to HB_* types.
Behdad Esfahbod [Wed, 24 Oct 2007 22:44:47 +0000 (22:44 +0000)]
New header file harfbuzz-global.h. Rename FT_* int types to HB_* types.

2007-10-24  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/*: New header file harfbuzz-global.h.  Rename
        FT_* int types to HB_* types.

16 years agoAdd commented-out dummy struct for Extension lookups.
Behdad Esfahbod [Wed, 24 Oct 2007 21:35:03 +0000 (21:35 +0000)]
Add commented-out dummy struct for Extension lookups.

2007-10-24  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-gpos-private.h:
        * pango/opentype/harfbuzz-gsub-private.h:
        Add commented-out dummy struct for Extension lookups.

16 years agoBug 488840 – harfbuzz: protect against ligid overflow
Behdad Esfahbod [Sun, 21 Oct 2007 18:17:02 +0000 (18:17 +0000)]
Bug 488840 – harfbuzz: protect against ligid overflow

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.

16 years agoMark internal symbols as HB_INTERNAL and define that to static in
Behdad Esfahbod [Thu, 11 Oct 2007 08:30:50 +0000 (08:30 +0000)]
Mark internal symbols as HB_INTERNAL and define that to static in

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.

16 years agoRemove FTGLUE_API/APIDEF cruft.
Behdad Esfahbod [Thu, 11 Oct 2007 07:46:33 +0000 (07:46 +0000)]
Remove FTGLUE_API/APIDEF cruft.

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/ftglue.[ch]: Remove FTGLUE_API/APIDEF cruft.

16 years agoBuild harfbuzz.c instead of individual source files, to let compiler go
Behdad Esfahbod [Thu, 11 Oct 2007 07:45:26 +0000 (07:45 +0000)]
Build harfbuzz.c instead of individual source files, to let compiler go

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!

16 years agoSame here.
Behdad Esfahbod [Thu, 11 Oct 2007 07:34:08 +0000 (07:34 +0000)]
Same here.

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz.c: Same here.

16 years agoDon't include harfbuzz-dump.[ch] in libharfbuzz.a. Those are just used by
Behdad Esfahbod [Thu, 11 Oct 2007 07:33:19 +0000 (07:33 +0000)]
Don't include harfbuzz-dump.[ch] in libharfbuzz.a. Those are just used by

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.

16 years agoSome more cleanup.
Behdad Esfahbod [Thu, 11 Oct 2007 07:24:47 +0000 (07:24 +0000)]
Some more cleanup.

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-buffer.c: Some more cleanup.

16 years agoMove some code around.
Behdad Esfahbod [Thu, 11 Oct 2007 07:21:31 +0000 (07:21 +0000)]
Move some code around.

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-buffer.c: Move some code around.

16 years agoMinor.
Behdad Esfahbod [Thu, 11 Oct 2007 07:15:16 +0000 (07:15 +0000)]
Minor.

16 years agoRename buffer->inplace to buffer->separate_out with the inverted meaning,
Behdad Esfahbod [Thu, 11 Oct 2007 07:12:49 +0000 (07:12 +0000)]
Rename buffer->inplace to buffer->separate_out with the inverted meaning,

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).

16 years agoAllocate buffer->positions lazily.
Behdad Esfahbod [Thu, 11 Oct 2007 07:05:09 +0000 (07:05 +0000)]
Allocate buffer->positions lazily.

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/*: Allocate buffer->positions lazily.

16 years agoBug 485621 – Get rid of freetype memory allocator in harfbuzz
Behdad Esfahbod [Thu, 11 Oct 2007 06:52:07 +0000 (06:52 +0000)]
Bug 485621 – Get rid of freetype memory allocator in harfbuzz

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.

16 years agoBug 485559 – Boston Summit HarfBuzz optimizations
Behdad Esfahbod [Thu, 11 Oct 2007 00:07:58 +0000 (00:07 +0000)]
Bug 485559 – Boston Summit HarfBuzz optimizations

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.

16 years agoBug 302952 – The placement of a diacritic marks for an arabic ligature
Behdad Esfahbod [Wed, 29 Aug 2007 08:46:50 +0000 (08:46 +0000)]
Bug 302952 – The placement of a diacritic marks for an arabic ligature

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.

16 years agoBug 463430 – Gets stuck while "formatting message"
Behdad Esfahbod [Tue, 21 Aug 2007 08:03:26 +0000 (08:03 +0000)]
Bug 463430 – Gets stuck while "formatting message"

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.

16 years agoDon't ignore error return value of hb_buffer_copy_output_glyph(). Patch
Behdad Esfahbod [Tue, 21 Aug 2007 01:38:07 +0000 (01:38 +0000)]
Don't ignore error return value of hb_buffer_copy_output_glyph(). Patch

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.

17 years ago[gdef] Initial implementation
Behdad Esfahbod [Fri, 6 Jul 2007 15:29:21 +0000 (11:29 -0400)]
[gdef] Initial implementation

17 years ago[open] small fixes, including not using unions for main structs
Behdad Esfahbod [Fri, 6 Jul 2007 06:03:26 +0000 (02:03 -0400)]
[open] small fixes, including not using unions for main structs

17 years agoImprove stupid Makefile
Behdad Esfahbod [Thu, 5 Jul 2007 21:22:07 +0000 (17:22 -0400)]
Improve stupid Makefile

17 years agoLink freetype to harfbuzz-dump, for those systems that don't track
Behdad Esfahbod [Tue, 1 May 2007 02:32:12 +0000 (02:32 +0000)]
Link freetype to harfbuzz-dump, for those systems that don't track

2007-04-30  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/Makefile.am: Link freetype to harfbuzz-dump, for
        those systems that don't track dependencies automatically.

17 years agoCopy fixes from harfbuzz stable branch. Includes a leak fix, a kerning
Behdad Esfahbod [Tue, 3 Apr 2007 22:45:29 +0000 (22:45 +0000)]
Copy fixes from harfbuzz stable branch. Includes a leak fix, a kerning

2007-04-03  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-gdef.c (_HB_GDEF_Check_Property):
        * pango/opentype/harfbuzz-gpos.c (HB_Done_GPOS_Table),
        (Lookup_PairPos):
        * pango/opentype/harfbuzz-open.c (Get_Class1):
        Copy fixes from harfbuzz stable branch.  Includes a leak fix,
        a kerning fix, and an array out-of-bound access fix.

17 years agoupdated
Hans Breuer [Sat, 13 Jan 2007 21:31:41 +0000 (21:31 +0000)]
updated

2007-01-13  Hans Breuer  <hans@breuer.org>

* pango/makefile.msc pango/opentype/makefile.msc : updated

17 years agoRemove .cvsignore files (moved to svn:ignore prop)
Behdad Esfahbod [Tue, 9 Jan 2007 03:32:12 +0000 (03:32 +0000)]
Remove .cvsignore files (moved to svn:ignore prop)

17 years agoAdd stub GDEF files
Behdad Esfahbod [Thu, 28 Dec 2006 11:42:37 +0000 (06:42 -0500)]
Add stub GDEF files

17 years agoDon't shift down the mark attachment type
Behdad Esfahbod [Thu, 28 Dec 2006 11:31:18 +0000 (06:31 -0500)]
Don't shift down the mark attachment type

17 years agoRemove stale comment
Behdad Esfahbod [Thu, 28 Dec 2006 11:12:18 +0000 (06:12 -0500)]
Remove stale comment

17 years agoBreak and rename, in the layout of old HarfBuzz codebase
Behdad Esfahbod [Thu, 28 Dec 2006 11:10:59 +0000 (06:10 -0500)]
Break and rename, in the layout of old HarfBuzz codebase

17 years agoOops. s/OpenTypeFontFaceFile/OpenTypeFontFile/g
Behdad Esfahbod [Thu, 28 Dec 2006 01:08:07 +0000 (20:08 -0500)]
Oops. s/OpenTypeFontFaceFile/OpenTypeFontFile/g

17 years agoUse union for ClassDef
Behdad Esfahbod [Thu, 28 Dec 2006 01:06:42 +0000 (20:06 -0500)]
Use union for ClassDef

17 years agoUse union for Coverage
Behdad Esfahbod [Thu, 28 Dec 2006 01:05:16 +0000 (20:05 -0500)]
Use union for Coverage

17 years agoAdd GPOS stub
Behdad Esfahbod [Thu, 28 Dec 2006 00:59:07 +0000 (19:59 -0500)]
Add GPOS stub

17 years agos/OpenTypeFont/OpenTypeFontFace/g
Behdad Esfahbod [Thu, 28 Dec 2006 00:58:32 +0000 (19:58 -0500)]
s/OpenTypeFont/OpenTypeFontFace/g

17 years agoGSUBGPOSHeader
Behdad Esfahbod [Wed, 27 Dec 2006 06:29:24 +0000 (01:29 -0500)]
GSUBGPOSHeader

17 years agoFinished OpenType Common Table Formats
Behdad Esfahbod [Wed, 27 Dec 2006 05:21:31 +0000 (00:21 -0500)]
Finished OpenType Common Table Formats

17 years agoDevice tables.
Behdad Esfahbod [Wed, 27 Dec 2006 01:55:37 +0000 (20:55 -0500)]
Device tables.

17 years agoClassDef
Behdad Esfahbod [Wed, 27 Dec 2006 01:00:33 +0000 (20:00 -0500)]
ClassDef

17 years agoRename CoverageFormat to Coverage
Behdad Esfahbod [Wed, 27 Dec 2006 00:29:08 +0000 (19:29 -0500)]
Rename CoverageFormat to Coverage