platform/upstream/libHarfBuzzSharp.git
11 years ago[OTLayout] Fix feature iteration in collect_lookups
Behdad Esfahbod [Thu, 3 Jan 2013 06:04:40 +0000 (00:04 -0600)]
[OTLayout] Fix feature iteration in collect_lookups

Previous logic was just wrong.

11 years ago[OTLayout] Whitespace
Behdad Esfahbod [Thu, 3 Jan 2013 06:00:23 +0000 (00:00 -0600)]
[OTLayout] Whitespace

11 years ago[OTLayout] Handle required_feature_index in collect_lookups
Behdad Esfahbod [Thu, 3 Jan 2013 05:57:36 +0000 (23:57 -0600)]
[OTLayout] Handle required_feature_index in collect_lookups

11 years ago[OTLayout] Fix various introspection issues with ClassDef's
Behdad Esfahbod [Thu, 3 Jan 2013 05:36:37 +0000 (23:36 -0600)]
[OTLayout] Fix various introspection issues with ClassDef's

As reported by Jonathan Kew.

11 years ago[tests] Finish test-set.c
Behdad Esfahbod [Thu, 3 Jan 2013 05:22:54 +0000 (23:22 -0600)]
[tests] Finish test-set.c

All passing now.

11 years agoProtect sets in-error from further modication
Behdad Esfahbod [Thu, 3 Jan 2013 05:02:59 +0000 (23:02 -0600)]
Protect sets in-error from further modication

Fixes test-set.c

11 years ago[tests] Start adding tests for hb-set.h
Behdad Esfahbod [Thu, 3 Jan 2013 04:50:36 +0000 (22:50 -0600)]
[tests] Start adding tests for hb-set.h

Fails now.  Fixing.

11 years ago[tests] Add set object to test-object.c
Behdad Esfahbod [Thu, 3 Jan 2013 04:49:58 +0000 (22:49 -0600)]
[tests] Add set object to test-object.c

11 years agoMinor
Behdad Esfahbod [Wed, 2 Jan 2013 23:41:27 +0000 (17:41 -0600)]
Minor

11 years ago[Indic] Insert dottedcircle after a lone Malayalam dot-reph
Behdad Esfahbod [Sat, 22 Dec 2012 00:41:04 +0000 (19:41 -0500)]
[Indic] Insert dottedcircle after a lone Malayalam dot-reph

11 years agoRemove TODO that I don't intend to fix
Behdad Esfahbod [Fri, 21 Dec 2012 21:54:22 +0000 (16:54 -0500)]
Remove TODO that I don't intend to fix

11 years agoMinor
Behdad Esfahbod [Fri, 21 Dec 2012 21:51:15 +0000 (16:51 -0500)]
Minor

11 years agoMinor
Behdad Esfahbod [Fri, 21 Dec 2012 21:48:51 +0000 (16:48 -0500)]
Minor

11 years agoMinor
Behdad Esfahbod [Fri, 21 Dec 2012 21:48:47 +0000 (16:48 -0500)]
Minor

11 years ago[util] List supported output formats in --help output
Behdad Esfahbod [Fri, 21 Dec 2012 21:46:53 +0000 (16:46 -0500)]
[util] List supported output formats in --help output

11 years ago[util] List supported output formats in hb-view
Behdad Esfahbod [Fri, 21 Dec 2012 21:35:28 +0000 (16:35 -0500)]
[util] List supported output formats in hb-view

11 years ago[util] Default to "text" output format in hb-shape
Behdad Esfahbod [Fri, 21 Dec 2012 21:01:52 +0000 (16:01 -0500)]
[util] Default to "text" output format in hb-shape

If you say:

  hb-shape font.ttf text --output-file out.txt

This was previously failing:

  Unknown output format `txt'; supported formats are: TEXT / JSON

Now we simply fallback to TEXT if no explicit format was requested.

11 years ago[Indic] Reorder Malayalam dot-reph to after base
Behdad Esfahbod [Fri, 21 Dec 2012 20:48:32 +0000 (15:48 -0500)]
[Indic] Reorder Malayalam dot-reph to after base

Test sequence is simple: U+0D4E,U+0D15.  The doth-reph should be
reordered to after the Ka.

https://bugzilla.redhat.com/show_bug.cgi?id=799565

11 years agoMinor
Behdad Esfahbod [Fri, 21 Dec 2012 20:35:03 +0000 (15:35 -0500)]
Minor

11 years agoAdd Android.mk
Behdad Esfahbod [Fri, 21 Dec 2012 16:54:50 +0000 (11:54 -0500)]
Add Android.mk

11 years agoAdd build confirmation notice to configure
Behdad Esfahbod [Thu, 20 Dec 2012 06:02:36 +0000 (01:02 -0500)]
Add build confirmation notice to configure

11 years ago[TODO] Remove done items
Behdad Esfahbod [Wed, 19 Dec 2012 20:23:02 +0000 (15:23 -0500)]
[TODO] Remove done items

11 years agoBug 58498 - Tests fail with gold linker on ARM
Behdad Esfahbod [Wed, 19 Dec 2012 18:00:16 +0000 (13:00 -0500)]
Bug 58498 - Tests fail with gold linker on ARM

11 years agoUse C++ linker if ICU is disabled
Behdad Esfahbod [Wed, 19 Dec 2012 01:39:40 +0000 (20:39 -0500)]
Use C++ linker if ICU is disabled

Bug 54948 - Undefined symbols: "operator delete(void*)" "operator
new(unsigned long)" "___cxa_pure_virtual"

11 years ago[OTLayout] Limit alternate-location FeatureParams to 'size' feature
Behdad Esfahbod [Tue, 18 Dec 2012 04:29:15 +0000 (23:29 -0500)]
[OTLayout] Limit alternate-location FeatureParams to 'size' feature

11 years ago[OTLayout] Fix 'size' featureParams implementation
Behdad Esfahbod [Tue, 18 Dec 2012 04:21:05 +0000 (23:21 -0500)]
[OTLayout] Fix 'size' featureParams implementation

Looks at alternate location now.

11 years ago[OTLayout] Fix tracing
Behdad Esfahbod [Mon, 17 Dec 2012 23:42:59 +0000 (18:42 -0500)]
[OTLayout] Fix tracing

11 years ago[OTLayout] Towards correct FeatureParams handling
Behdad Esfahbod [Mon, 17 Dec 2012 18:55:36 +0000 (13:55 -0500)]
[OTLayout] Towards correct FeatureParams handling

11 years ago[OTLayout] Wire tag and list start all the way to Feature
Behdad Esfahbod [Fri, 14 Dec 2012 22:48:23 +0000 (17:48 -0500)]
[OTLayout] Wire tag and list start all the way to Feature

To fix FeatureParam issues.  No actual fix yet, just plumbing.

11 years ago[OTLayout] More 'size' feature sanity checking
Behdad Esfahbod [Wed, 12 Dec 2012 16:38:49 +0000 (11:38 -0500)]
[OTLayout] More 'size' feature sanity checking

We still don't look for the old incorrect place of the featureParams.
I'll wait till someone actually complains about it...

11 years ago[OTLayout] Add FeatureParamsCharacterVariants struct
Behdad Esfahbod [Tue, 11 Dec 2012 21:01:31 +0000 (16:01 -0500)]
[OTLayout] Add FeatureParamsCharacterVariants struct

No API yet.

11 years ago[OTLayout] Add UINT24 type
Behdad Esfahbod [Tue, 11 Dec 2012 21:00:43 +0000 (16:00 -0500)]
[OTLayout] Add UINT24 type

11 years agoMake test-size-params write size in points
Behdad Esfahbod [Tue, 11 Dec 2012 19:31:13 +0000 (14:31 -0500)]
Make test-size-params write size in points

11 years ago[OTLayout] Make hb_ot_layout_get_size_params() do some checks
Behdad Esfahbod [Tue, 11 Dec 2012 19:30:57 +0000 (14:30 -0500)]
[OTLayout] Make hb_ot_layout_get_size_params() do some checks

11 years ago[OTLayout] Change hb_ot_layout_get_params() API
Behdad Esfahbod [Tue, 11 Dec 2012 19:17:01 +0000 (14:17 -0500)]
[OTLayout] Change hb_ot_layout_get_params() API

And add implementation for StylisticSet UINameID.  No API yet.

11 years ago[uniscribe] Enable Uniscribe backend only if it has ScriptShapeOpenType()
Behdad Esfahbod [Mon, 10 Dec 2012 22:44:22 +0000 (17:44 -0500)]
[uniscribe] Enable Uniscribe backend only if it has ScriptShapeOpenType()

Bug 55494 - ScriptItemizeOpenType doesn't exists under Windows XP

11 years agoUpdate config template
Behdad Esfahbod [Mon, 10 Dec 2012 21:41:20 +0000 (16:41 -0500)]
Update config template

11 years ago[coretext] Better test for CoreText
John Ralls [Mon, 10 Dec 2012 21:24:24 +0000 (16:24 -0500)]
[coretext] Better test for CoreText

Instead of checking for ApplicationServices.h, which is present in all
versions of MacOSX, check for CTFontRef, a CoreText basic type.

11 years agoFix atomic ops on iOS
Behdad Esfahbod [Mon, 10 Dec 2012 20:25:21 +0000 (15:25 -0500)]
Fix atomic ops on iOS

Patch from John Ralls.

11 years agoMake older MSVC happy
Behdad Esfahbod [Mon, 10 Dec 2012 18:38:42 +0000 (13:38 -0500)]
Make older MSVC happy

11 years agoWork around missing OSAtomicCompareAndSwapPtrBarrier() on OS X 10.4
Behdad Esfahbod [Mon, 10 Dec 2012 05:57:00 +0000 (00:57 -0500)]
Work around missing OSAtomicCompareAndSwapPtrBarrier() on OS X 10.4

Not sure how to handle iOS.

11 years ago[coretext] Fixed typo
Behdad Esfahbod [Mon, 10 Dec 2012 00:39:40 +0000 (19:39 -0500)]
[coretext] Fixed typo

Oops.  Thanks Khaled for catching this.

11 years ago[coretext] Add hb_coretext_face_get_cg_font()
Behdad Esfahbod [Sun, 9 Dec 2012 23:47:36 +0000 (18:47 -0500)]
[coretext] Add hb_coretext_face_get_cg_font()

Not sure if it's useful, but it was missing.

11 years ago[coretext] Remove hack around GlyphID
Behdad Esfahbod [Sun, 9 Dec 2012 23:47:09 +0000 (18:47 -0500)]
[coretext] Remove hack around GlyphID

We not namespace our types, so the hack is not needed anymore.

11 years ago[graphite2] "Update to new API"
Behdad Esfahbod [Sun, 9 Dec 2012 23:45:47 +0000 (18:45 -0500)]
[graphite2] "Update to new API"

Part of patch from Martin Hosken.  I believe he knows what he's doing
:).

11 years ago[graphite2] Add hb_graphite2_face_get_gr_face and hb_graphite2_font_get_gr_font
Behdad Esfahbod [Sun, 9 Dec 2012 23:44:41 +0000 (18:44 -0500)]
[graphite2] Add hb_graphite2_face_get_gr_face and hb_graphite2_font_get_gr_font

Based on patch from Martin Hosken.  I believe it returns NULL if the
font doesn't have graphite tables, but have not tested.

11 years ago[graphite2] Preload all tables
Behdad Esfahbod [Sun, 9 Dec 2012 23:43:03 +0000 (18:43 -0500)]
[graphite2] Preload all tables

Part of patch from Martin Hosken.

11 years agoMinor
Behdad Esfahbod [Sun, 9 Dec 2012 23:37:38 +0000 (18:37 -0500)]
Minor

11 years agoRemove excess return
Behdad Esfahbod [Sun, 9 Dec 2012 23:20:19 +0000 (18:20 -0500)]
Remove excess return

Oops!

11 years agoUpdate OT language tags
Behdad Esfahbod [Sun, 9 Dec 2012 00:28:41 +0000 (19:28 -0500)]
Update OT language tags

Patch from Roozbeh Pournader.

11 years agoMinor
Behdad Esfahbod [Thu, 6 Dec 2012 00:54:48 +0000 (19:54 -0500)]
Minor

11 years agoFix test with gold linker
Behdad Esfahbod [Thu, 6 Dec 2012 00:42:10 +0000 (19:42 -0500)]
Fix test with gold linker

Bug 57633 - Symbol tests should ignore __bss_start, _edata, _end

11 years ago[Indic] Add link to Sinhala split matra section of the Sinhala spec
Behdad Esfahbod [Thu, 6 Dec 2012 00:20:31 +0000 (19:20 -0500)]
[Indic] Add link to Sinhala split matra section of the Sinhala spec

11 years agoFix build with C++11
Behdad Esfahbod [Thu, 6 Dec 2012 00:18:18 +0000 (19:18 -0500)]
Fix build with C++11

11 years agoFix warnings
Behdad Esfahbod [Wed, 5 Dec 2012 23:46:04 +0000 (18:46 -0500)]
Fix warnings

11 years ago0.9.9
Behdad Esfahbod [Wed, 5 Dec 2012 22:36:52 +0000 (17:36 -0500)]
0.9.9

11 years agoRename VOID and void_t to have HarfBuzz prefix
Behdad Esfahbod [Wed, 5 Dec 2012 21:49:47 +0000 (16:49 -0500)]
Rename VOID and void_t to have HarfBuzz prefix

Fixes build on Windows.  Ouch!

11 years ago[OTLayout] Reuse context in collect_glyphs() recursion
Behdad Esfahbod [Tue, 4 Dec 2012 22:13:09 +0000 (17:13 -0500)]
[OTLayout] Reuse context in collect_glyphs() recursion

11 years agoMinor
Behdad Esfahbod [Tue, 4 Dec 2012 22:08:41 +0000 (17:08 -0500)]
Minor

Use pointers instead of references, in preparation for upcoming change.

11 years ago[OTLayout] Don't recurse in collect_glyphs() for GPOS
Behdad Esfahbod [Tue, 4 Dec 2012 21:58:09 +0000 (16:58 -0500)]
[OTLayout] Don't recurse in collect_glyphs() for GPOS

11 years ago[ucdn] Match upstream changes
Behdad Esfahbod [Tue, 4 Dec 2012 20:57:02 +0000 (15:57 -0500)]
[ucdn] Match upstream changes

11 years ago0.9.8
Behdad Esfahbod [Tue, 4 Dec 2012 20:43:38 +0000 (15:43 -0500)]
0.9.8

11 years agoMove object mutext into the user-data array
Behdad Esfahbod [Mon, 3 Dec 2012 22:35:54 +0000 (00:35 +0200)]
Move object mutext into the user-data array

We are not using it for anything lse it seems.

11 years agoRemove unused functions
Behdad Esfahbod [Mon, 3 Dec 2012 22:29:35 +0000 (00:29 +0200)]
Remove unused functions

11 years ago"Update" to Unicode 6.2.0 tables
Behdad Esfahbod [Sun, 2 Dec 2012 17:14:29 +0000 (19:14 +0200)]
"Update" to Unicode 6.2.0 tables

Nothing changed...

11 years agoMinor
Behdad Esfahbod [Fri, 30 Nov 2012 13:02:04 +0000 (15:02 +0200)]
Minor

11 years agoMinor
Behdad Esfahbod [Fri, 30 Nov 2012 10:02:21 +0000 (12:02 +0200)]
Minor

11 years agoAdd Persian test cases from Mehran Mehr
Behdad Esfahbod [Fri, 30 Nov 2012 09:46:35 +0000 (11:46 +0200)]
Add Persian test cases from Mehran Mehr

11 years agoAdd test-size-params
Behdad Esfahbod [Fri, 30 Nov 2012 07:06:59 +0000 (09:06 +0200)]
Add test-size-params

Eventually this will become part of a yet-to-be-written hb-ot cmdline
tool.

11 years agoFix hb_buffer_guess_segment_properties() for empty buffer
Behdad Esfahbod [Fri, 30 Nov 2012 06:46:43 +0000 (08:46 +0200)]
Fix hb_buffer_guess_segment_properties() for empty buffer

Was causing assertion failure in shape_plan().

11 years ago[OTLayout] Fix collect_glyphs() recursion in ContextFormat3
Behdad Esfahbod [Fri, 30 Nov 2012 06:38:24 +0000 (08:38 +0200)]
[OTLayout] Fix collect_glyphs() recursion in ContextFormat3

11 years ago[OTLayout] Minor
Behdad Esfahbod [Fri, 30 Nov 2012 06:24:13 +0000 (08:24 +0200)]
[OTLayout] Minor

11 years ago[OTLayout] Look for any 'size' feature, not only in DFLT script
Behdad Esfahbod [Fri, 30 Nov 2012 06:14:20 +0000 (08:14 +0200)]
[OTLayout] Look for any 'size' feature, not only in DFLT script

The old code doesn't work with all fonts, as Khaled has reported.

11 years ago[OTLayout] Rename hb_ot_layout_position_get_size() to hb_ot_layout_get_size_params()
Behdad Esfahbod [Fri, 30 Nov 2012 06:10:26 +0000 (08:10 +0200)]
[OTLayout] Rename hb_ot_layout_position_get_size() to hb_ot_layout_get_size_params()

11 years ago[OTLayout] Return correct value from recursion
Behdad Esfahbod [Fri, 30 Nov 2012 06:07:06 +0000 (08:07 +0200)]
[OTLayout] Return correct value from recursion

Commit 4c4e8f0e754b79ac6190d21878eaaf0b790c7579 broke contextual lookups
by making the recurse() function always return false.

Reported by Khaled.  Test case: لا in Amiri.

11 years ago[OTLayout] Implement 'size' feature
Behdad Esfahbod [Mon, 26 Nov 2012 12:02:31 +0000 (14:02 +0200)]
[OTLayout] Implement 'size' feature

11 years ago[OTLayout] Remove operator() from ClassDef
Behdad Esfahbod [Sun, 25 Nov 2012 00:16:34 +0000 (19:16 -0500)]
[OTLayout] Remove operator() from ClassDef

11 years ago[OTLayout] Remove operator() from Coverage
Behdad Esfahbod [Sun, 25 Nov 2012 00:13:55 +0000 (19:13 -0500)]
[OTLayout] Remove operator() from Coverage

11 years ago[OTLayout] Implement hb_ot_layout_collect_lookups()
Behdad Esfahbod [Sat, 24 Nov 2012 07:31:02 +0000 (02:31 -0500)]
[OTLayout] Implement hb_ot_layout_collect_lookups()

Untested.

11 years ago[OTLayout] Only collect output glyphs during recursion in collect_glyphs()
Behdad Esfahbod [Sat, 24 Nov 2012 07:05:52 +0000 (02:05 -0500)]
[OTLayout] Only collect output glyphs during recursion in collect_glyphs()

11 years ago[OTLayout] Implement ChainContext collect_glyphs()
Behdad Esfahbod [Sat, 24 Nov 2012 06:55:34 +0000 (01:55 -0500)]
[OTLayout] Implement ChainContext collect_glyphs()

All of collect_glyphs() complete and untested now.

11 years ago[OTLayout] Implement GPOS collect_glyphs()
Behdad Esfahbod [Sat, 24 Nov 2012 06:38:41 +0000 (01:38 -0500)]
[OTLayout] Implement GPOS collect_glyphs()

11 years ago[OTLayout] Reuse apply context for recursion
Behdad Esfahbod [Sat, 24 Nov 2012 06:13:20 +0000 (01:13 -0500)]
[OTLayout] Reuse apply context for recursion

11 years ago[OTLayout] Remove unused members
Behdad Esfahbod [Sat, 24 Nov 2012 06:03:05 +0000 (01:03 -0500)]
[OTLayout] Remove unused members

11 years ago[OTLayout] Implement Context::collect_glyphs()
Behdad Esfahbod [Fri, 23 Nov 2012 23:54:59 +0000 (18:54 -0500)]
[OTLayout] Implement Context::collect_glyphs()

11 years ago[OTLayout] More collect_glyphs()
Behdad Esfahbod [Fri, 23 Nov 2012 23:13:48 +0000 (18:13 -0500)]
[OTLayout] More collect_glyphs()

11 years ago[OTLayout] Templatize process_recurse_func
Behdad Esfahbod [Fri, 23 Nov 2012 23:04:08 +0000 (18:04 -0500)]
[OTLayout] Templatize process_recurse_func

11 years ago[OTLayout] Clean up closure() a bit
Behdad Esfahbod [Fri, 23 Nov 2012 22:55:40 +0000 (17:55 -0500)]
[OTLayout] Clean up closure() a bit

11 years agoImprove debug log format in presence of templates
Behdad Esfahbod [Fri, 23 Nov 2012 22:32:00 +0000 (17:32 -0500)]
Improve debug log format in presence of templates

11 years ago[OTLayout] Start porting sanitize() to process()
Behdad Esfahbod [Fri, 23 Nov 2012 22:29:05 +0000 (17:29 -0500)]
[OTLayout] Start porting sanitize() to process()

11 years ago[OTLayout] Add process() tracing
Behdad Esfahbod [Fri, 23 Nov 2012 22:23:41 +0000 (17:23 -0500)]
[OTLayout] Add process() tracing

11 years ago[OTLayout] More Extension templatizing
Behdad Esfahbod [Fri, 23 Nov 2012 22:10:40 +0000 (17:10 -0500)]
[OTLayout] More Extension templatizing

11 years ago[OTLayout] More templatizing Extension
Behdad Esfahbod [Fri, 23 Nov 2012 22:04:55 +0000 (17:04 -0500)]
[OTLayout] More templatizing Extension

11 years agoMake Extension a template
Behdad Esfahbod [Fri, 23 Nov 2012 21:57:36 +0000 (16:57 -0500)]
Make Extension a template

11 years agoMinor
Behdad Esfahbod [Fri, 23 Nov 2012 21:51:43 +0000 (16:51 -0500)]
Minor

11 years agoMore tracing fixup
Behdad Esfahbod [Fri, 23 Nov 2012 21:49:19 +0000 (16:49 -0500)]
More tracing fixup

11 years ago[OTLayout] Start adding process() tracing
Behdad Esfahbod [Fri, 23 Nov 2012 21:40:04 +0000 (16:40 -0500)]
[OTLayout] Start adding process() tracing

11 years agoCleanup
Behdad Esfahbod [Fri, 23 Nov 2012 20:34:11 +0000 (15:34 -0500)]
Cleanup

11 years agoPass this object to trace macros
Behdad Esfahbod [Fri, 23 Nov 2012 20:32:14 +0000 (15:32 -0500)]
Pass this object to trace macros

11 years ago[OTLayout] Start unbreaking tracing
Behdad Esfahbod [Fri, 23 Nov 2012 20:06:59 +0000 (15:06 -0500)]
[OTLayout] Start unbreaking tracing