framework/uifw/harfbuzz.git
13 years agoFix ICU detection
Behdad Esfahbod [Thu, 6 Jan 2011 19:16:59 +0000 (14:16 -0500)]
Fix ICU detection

13 years agoRemove Graphite backend
Behdad Esfahbod [Mon, 27 Dec 2010 01:52:40 +0000 (20:52 -0500)]
Remove Graphite backend

It was unmaintained and the code has to be replaced to use the new
grphite-ng code base.

13 years agoDocs
Behdad Esfahbod [Wed, 22 Dec 2010 06:39:29 +0000 (01:39 -0500)]
Docs

13 years agoBug 32274 - classic mongolian shaper
Behdad Esfahbod [Tue, 21 Dec 2010 23:36:25 +0000 (18:36 -0500)]
Bug 32274 - classic mongolian shaper

Add support for classic Mongolian script to the Arabic shaper.

Still work to be done around U+180E MONGOLIAN VOWEL SEPARATOR as it
should not be included in the final glyph stream the same way that
ZWNJ, etc should not appear in the final glyph stream.

But the joining part should be done.

There remains the question of how should the U+18A9 MONGOLIAN LETTER ALI
GALI DAGALGA be handled as it has General Category NSM but a letter
nonetheless.  For now, our generic logic makes this a joining T instead
of joining D as other Mongolian letters are.

13 years agoReroute Mandaic shaping through the Arabic shaper
Behdad Esfahbod [Tue, 21 Dec 2010 19:19:32 +0000 (14:19 -0500)]
Reroute Mandaic shaping through the Arabic shaper

We added Mandaic joining data to the Arabic shaper a while ago, but
were not actually using the Arabic shaper for Mandaic.  Fixed.

13 years agoAnnotate the Arabic joining table with block information
Behdad Esfahbod [Tue, 21 Dec 2010 19:18:24 +0000 (14:18 -0500)]
Annotate the Arabic joining table with block information

13 years agoRename remaining metrics uses to extents
Behdad Esfahbod [Sat, 18 Dec 2010 01:15:05 +0000 (20:15 -0500)]
Rename remaining metrics uses to extents

13 years agoRename TableDirectory to TableRecord as per OpenType 1.6
Behdad Esfahbod [Wed, 15 Dec 2010 04:51:29 +0000 (23:51 -0500)]
Rename TableDirectory to TableRecord as per OpenType 1.6

13 years agoUpdate 'head' table to OpenType 1.6
Behdad Esfahbod [Mon, 13 Dec 2010 20:54:56 +0000 (15:54 -0500)]
Update 'head' table to OpenType 1.6

13 years agoDisallow ligature substitutions replacing one glyph
Behdad Esfahbod [Mon, 13 Dec 2010 19:22:35 +0000 (14:22 -0500)]
Disallow ligature substitutions replacing one glyph

13 years agoMozilla Bug 618592 - freeze on typekit
Behdad Esfahbod [Mon, 13 Dec 2010 19:13:35 +0000 (14:13 -0500)]
Mozilla Bug 618592 - freeze on typekit

Fix apply_lookup() for zero-input broken fonts.

13 years agoRename original_direction to target_direction
Behdad Esfahbod [Tue, 7 Dec 2010 21:22:02 +0000 (16:22 -0500)]
Rename original_direction to target_direction

13 years agoFix arabic shaping of LTR text
Behdad Esfahbod [Tue, 7 Dec 2010 21:20:42 +0000 (16:20 -0500)]
Fix arabic shaping of LTR text

We should ensure-direction before doing any complex work.  The only
exception is mirroring that needs to see the original / final direction,
not the native.  Handle that.

13 years agoBug 31965 - some GNU/Linux distributions lack icu.pc but have icu-config
Behdad Esfahbod [Tue, 30 Nov 2010 05:57:15 +0000 (00:57 -0500)]
Bug 31965 - some GNU/Linux distributions lack icu.pc but have icu-config

Patch from suzuki toshiya.

13 years agoAdjust pyx files to reflect change from int to hb_var_int_t
Behdad Esfahbod [Mon, 29 Nov 2010 00:39:47 +0000 (19:39 -0500)]
Adjust pyx files to reflect change from int to hb_var_int_t

Patch from Thomas Hunger.

13 years agoFix failing checks
Behdad Esfahbod [Mon, 22 Nov 2010 16:30:32 +0000 (11:30 -0500)]
Fix failing checks

13 years agoRemove email address from Copyright headers
Behdad Esfahbod [Mon, 22 Nov 2010 16:03:18 +0000 (11:03 -0500)]
Remove email address from Copyright headers

13 years agoClarify copyright notice
Behdad Esfahbod [Thu, 18 Nov 2010 18:58:32 +0000 (13:58 -0500)]
Clarify copyright notice

13 years agoMove generated table to its own file
Behdad Esfahbod [Wed, 17 Nov 2010 21:58:21 +0000 (16:58 -0500)]
Move generated table to its own file

13 years agoUpdate Arabic joining table to include Mandaic
Behdad Esfahbod [Wed, 17 Nov 2010 21:52:58 +0000 (16:52 -0500)]
Update Arabic joining table to include Mandaic

Mandaic was added to Unicode 6.0, but the joining data was not updated.
Draft ArabicShaping.txt from 6.1 includes the joining data for Mandaic.
Use that.

13 years agoAdd OpenType script tags for Unicode 5.2 and Unicode 6.0 scripts
Behdad Esfahbod [Wed, 17 Nov 2010 19:49:40 +0000 (14:49 -0500)]
Add OpenType script tags for Unicode 5.2 and Unicode 6.0 scripts

Based on tags proposed by Microsoft for inclusion in OpenType.

13 years agoAdd Unicode 6.0 scripts
Behdad Esfahbod [Wed, 17 Nov 2010 19:35:34 +0000 (14:35 -0500)]
Add Unicode 6.0 scripts

13 years agoChange HB_SCRIPT_MEITEI_MAYEK to HB_SCRIPT_MEETEI_MAYEK
Behdad Esfahbod [Wed, 17 Nov 2010 19:25:44 +0000 (14:25 -0500)]
Change HB_SCRIPT_MEITEI_MAYEK to HB_SCRIPT_MEETEI_MAYEK

The new name matches the Unicode name.  Reported by Jonathan Kew.

13 years agoAdd TODO item
Behdad Esfahbod [Wed, 17 Nov 2010 18:08:47 +0000 (13:08 -0500)]
Add TODO item

13 years agoAdd XXX marks
Behdad Esfahbod [Wed, 17 Nov 2010 17:57:23 +0000 (12:57 -0500)]
Add XXX marks

13 years agoAdd TODO item
Behdad Esfahbod [Fri, 5 Nov 2010 14:51:37 +0000 (10:51 -0400)]
Add TODO item

13 years agoSave general category and combining class in the buffer for reuse
Behdad Esfahbod [Wed, 3 Nov 2010 20:37:24 +0000 (16:37 -0400)]
Save general category and combining class in the buffer for reuse

13 years agoMore "unreached code" warning fixes
Behdad Esfahbod [Wed, 3 Nov 2010 19:50:36 +0000 (15:50 -0400)]
More "unreached code" warning fixes

Ugly :(.

13 years agoAdd comment
Behdad Esfahbod [Wed, 3 Nov 2010 19:47:12 +0000 (15:47 -0400)]
Add comment

13 years agoPedantic
Behdad Esfahbod [Wed, 3 Nov 2010 19:40:07 +0000 (15:40 -0400)]
Pedantic

13 years agoMinor code shuffling
Behdad Esfahbod [Wed, 3 Nov 2010 19:28:56 +0000 (15:28 -0400)]
Minor code shuffling

13 years agoFix a few more "unreachable code" warnings
Behdad Esfahbod [Wed, 3 Nov 2010 19:11:04 +0000 (15:11 -0400)]
Fix a few more "unreachable code" warnings

13 years agoRemove another couple lines of dead code
Behdad Esfahbod [Wed, 3 Nov 2010 16:46:58 +0000 (12:46 -0400)]
Remove another couple lines of dead code

13 years agoFix unreachable-code warning
Behdad Esfahbod [Wed, 3 Nov 2010 15:50:21 +0000 (11:50 -0400)]
Fix unreachable-code warning

13 years agoMove things around some more
Behdad Esfahbod [Thu, 28 Oct 2010 03:18:51 +0000 (23:18 -0400)]
Move things around some more

13 years agoMove buffer var allocation local
Behdad Esfahbod [Thu, 28 Oct 2010 03:09:10 +0000 (23:09 -0400)]
Move buffer var allocation local

13 years agoMove code around
Behdad Esfahbod [Thu, 28 Oct 2010 02:48:31 +0000 (22:48 -0400)]
Move code around

13 years agoMove some more code around
Behdad Esfahbod [Thu, 28 Oct 2010 02:37:59 +0000 (22:37 -0400)]
Move some more code around

13 years agoSimplify mark skipping logic
Behdad Esfahbod [Thu, 28 Oct 2010 02:11:32 +0000 (22:11 -0400)]
Simplify mark skipping logic

13 years agoRename lookup_flags to lookup_props since it's more than just flags
Behdad Esfahbod [Thu, 28 Oct 2010 02:07:49 +0000 (22:07 -0400)]
Rename lookup_flags to lookup_props since it's more than just flags

13 years agoWIP removing external synthesized GDEF support and implementing it internally
Behdad Esfahbod [Wed, 27 Oct 2010 21:39:01 +0000 (17:39 -0400)]
WIP removing external synthesized GDEF support and implementing it internally

13 years agoRemove unused function
Behdad Esfahbod [Wed, 27 Oct 2010 21:37:20 +0000 (17:37 -0400)]
Remove unused function

13 years agoMore cleanup
Behdad Esfahbod [Wed, 27 Oct 2010 21:07:04 +0000 (17:07 -0400)]
More cleanup

13 years agoMore lig-id cleanup
Behdad Esfahbod [Wed, 27 Oct 2010 21:06:12 +0000 (17:06 -0400)]
More lig-id cleanup

13 years agoMore removal of lig-id code from buffer
Behdad Esfahbod [Wed, 27 Oct 2010 21:01:03 +0000 (17:01 -0400)]
More removal of lig-id code from buffer

13 years agoMinor renaming
Behdad Esfahbod [Wed, 27 Oct 2010 20:57:01 +0000 (16:57 -0400)]
Minor renaming

13 years agoMove setting lig_id/component out of buffer and to the gsub code
Behdad Esfahbod [Wed, 27 Oct 2010 20:51:02 +0000 (16:51 -0400)]
Move setting lig_id/component out of buffer and to the gsub code

13 years agoAlways allocate new ligature id
Behdad Esfahbod [Wed, 27 Oct 2010 20:25:28 +0000 (16:25 -0400)]
Always allocate new ligature id

No practical point in reusing ligature ids.

13 years agoSet component=0 for ligature glyph
Behdad Esfahbod [Wed, 27 Oct 2010 20:19:13 +0000 (16:19 -0400)]
Set component=0 for ligature glyph

13 years agoRemove comment
Behdad Esfahbod [Wed, 27 Oct 2010 19:38:06 +0000 (15:38 -0400)]
Remove comment

13 years agoGet rid of the OpenType-specific internal buffer representation
Behdad Esfahbod [Wed, 27 Oct 2010 18:42:15 +0000 (14:42 -0400)]
Get rid of the OpenType-specific internal buffer representation

Add variant integers to buffer item types.  More cleanup coming.

13 years agoAdd hb_var_int_t
Behdad Esfahbod [Wed, 27 Oct 2010 18:27:03 +0000 (14:27 -0400)]
Add hb_var_int_t

13 years agoRemove trailing comma
Behdad Esfahbod [Tue, 2 Nov 2010 23:12:37 +0000 (19:12 -0400)]
Remove trailing comma

13 years agoSupposedly implement vertical support in GPOS
Behdad Esfahbod [Wed, 27 Oct 2010 18:09:27 +0000 (14:09 -0400)]
Supposedly implement vertical support in GPOS

Not tested at all.

13 years agoClarify cursive_chain (and change its sign)
Behdad Esfahbod [Wed, 27 Oct 2010 17:44:59 +0000 (13:44 -0400)]
Clarify cursive_chain (and change its sign)

13 years agoRemove more pointless LONGTERMTODO items
Behdad Esfahbod [Wed, 27 Oct 2010 16:34:50 +0000 (12:34 -0400)]
Remove more pointless LONGTERMTODO items

13 years agoRename hb_ot_layout_get_lig_carets() to hb_ot_layout_get_ligature_carets()
Behdad Esfahbod [Wed, 27 Oct 2010 16:32:02 +0000 (12:32 -0400)]
Rename hb_ot_layout_get_lig_carets() to hb_ot_layout_get_ligature_carets()

13 years agoImplement vertical support in get_lig_carets()
Behdad Esfahbod [Wed, 27 Oct 2010 16:30:46 +0000 (12:30 -0400)]
Implement vertical support in get_lig_carets()

13 years agoRemove LONGTERMTODO item that I'll never fix
Behdad Esfahbod [Wed, 27 Oct 2010 16:07:49 +0000 (12:07 -0400)]
Remove LONGTERMTODO item that I'll never fix

13 years agoRemove unused macro
Behdad Esfahbod [Wed, 27 Oct 2010 16:00:49 +0000 (12:00 -0400)]
Remove unused macro

13 years agoRewrite Cursive joining to act more like other pair lookups
Behdad Esfahbod [Wed, 27 Oct 2010 15:54:26 +0000 (11:54 -0400)]
Rewrite Cursive joining to act more like other pair lookups

Look forward for next character instead of joining to the last character.

13 years agoFix Cursive positioning
Behdad Esfahbod [Wed, 27 Oct 2010 15:09:48 +0000 (11:09 -0400)]
Fix Cursive positioning

Test case: "مرا" rendered using IranNastaliq.

13 years agoFix segfault with Arabic combining marks
Behdad Esfahbod [Wed, 27 Oct 2010 14:40:39 +0000 (10:40 -0400)]
Fix segfault with Arabic combining marks

13 years agoRemove obsolete TODO item
Behdad Esfahbod [Wed, 27 Oct 2010 05:28:28 +0000 (01:28 -0400)]
Remove obsolete TODO item

We don't cache any metrics internally, so the correct way to add more
glyph metrics items is to add new callbacks for them.  We already have
separeate callbacks for advance vs extents.

13 years agoOops, remove extra mask setting that broke complex shaping
Behdad Esfahbod [Wed, 27 Oct 2010 05:23:14 +0000 (01:23 -0400)]
Oops, remove extra mask setting that broke complex shaping

13 years agoDivide get_metrics into get_advance and get_extents
Behdad Esfahbod [Wed, 27 Oct 2010 05:13:56 +0000 (01:13 -0400)]
Divide get_metrics into get_advance and get_extents

Graphite module not updated.
Bump version to 0.3.

13 years agoFix blob leak
Behdad Esfahbod [Tue, 26 Oct 2010 15:28:14 +0000 (11:28 -0400)]
Fix blob leak

13 years agoMassage mask setting a bit more
Behdad Esfahbod [Wed, 13 Oct 2010 22:33:16 +0000 (18:33 -0400)]
Massage mask setting a bit more

Still finding the exact correct way the masks should be set.

13 years agoOops, actually set global mask
Behdad Esfahbod [Wed, 13 Oct 2010 21:17:00 +0000 (17:17 -0400)]
Oops, actually set global mask

13 years agoMake sure boolean features always use value=1
Behdad Esfahbod [Wed, 13 Oct 2010 19:54:06 +0000 (15:54 -0400)]
Make sure boolean features always use value=1

Previously boolean features turned on the entire feature mask.  This is
wrong if feature is Alternate and user has provided values bigger than one.
Though, I don't think other engines support such corner cases.

13 years agoReturn early if mask is 0
Behdad Esfahbod [Wed, 13 Oct 2010 19:38:52 +0000 (15:38 -0400)]
Return early if mask is 0

13 years agoMake sure feature values don't leak out of their mask
Behdad Esfahbod [Wed, 13 Oct 2010 19:36:38 +0000 (15:36 -0400)]
Make sure feature values don't leak out of their mask

13 years agoFix applying default-value for features
Behdad Esfahbod [Wed, 13 Oct 2010 19:34:50 +0000 (15:34 -0400)]
Fix applying default-value for features

Previously if a default global feature was overrided by a non-global
user feature, we were not setting any default mask for the feature,
essentially disabling the feature by default.  Fix that.

13 years agoSet user masks after complex masks
Behdad Esfahbod [Wed, 13 Oct 2010 19:18:29 +0000 (15:18 -0400)]
Set user masks after complex masks

13 years agoAdd TODO item
Behdad Esfahbod [Wed, 13 Oct 2010 18:20:48 +0000 (14:20 -0400)]
Add TODO item

13 years agoCleanup TODO
Behdad Esfahbod [Wed, 13 Oct 2010 14:57:27 +0000 (10:57 -0400)]
Cleanup TODO

Looks like a roadmap now.

13 years agoFix stupid bug, oops
Behdad Esfahbod [Wed, 13 Oct 2010 14:41:53 +0000 (10:41 -0400)]
Fix stupid bug, oops

13 years agoStep the version up to 0.2 now that Arabic shaper is in
Behdad Esfahbod [Tue, 12 Oct 2010 22:34:20 +0000 (18:34 -0400)]
Step the version up to 0.2 now that Arabic shaper is in

13 years agoFix Arabic shaper
Behdad Esfahbod [Tue, 12 Oct 2010 21:37:44 +0000 (17:37 -0400)]
Fix Arabic shaper

It's tested now.  It works!

13 years agoHookup Arabic shaper!
Behdad Esfahbod [Tue, 12 Oct 2010 21:23:54 +0000 (17:23 -0400)]
Hookup Arabic shaper!

Not tested yet.

13 years agoMerge clearing masks and setting global masks
Behdad Esfahbod [Tue, 12 Oct 2010 21:07:02 +0000 (17:07 -0400)]
Merge clearing masks and setting global masks

13 years agoForm clusters before setting masks
Behdad Esfahbod [Tue, 12 Oct 2010 21:00:25 +0000 (17:00 -0400)]
Form clusters before setting masks

13 years agoClear masks before setting them up, not after!
Behdad Esfahbod [Tue, 12 Oct 2010 21:00:07 +0000 (17:00 -0400)]
Clear masks before setting them up, not after!

13 years agoAdd hb_ot_shape_execute()
Behdad Esfahbod [Tue, 12 Oct 2010 20:57:47 +0000 (16:57 -0400)]
Add hb_ot_shape_execute()

Not public yet.

13 years agoAdd hb_ot_complex_shaper_t stuff and start hooking Arabic shaper up
Behdad Esfahbod [Tue, 12 Oct 2010 20:50:36 +0000 (16:50 -0400)]
Add hb_ot_complex_shaper_t stuff and start hooking Arabic shaper up

13 years agoAdd hb_ot_shape_plan_t
Behdad Esfahbod [Tue, 12 Oct 2010 20:19:29 +0000 (16:19 -0400)]
Add hb_ot_shape_plan_t

This is the object that a separate plan/execute shaping API will use in
between the two stages.

13 years agoRefactor, in a different direction
Behdad Esfahbod [Tue, 12 Oct 2010 20:00:21 +0000 (16:00 -0400)]
Refactor, in a different direction

13 years agoMore refactoring
Behdad Esfahbod [Tue, 12 Oct 2010 19:35:45 +0000 (15:35 -0400)]
More refactoring

13 years agoUpdate Arabic shaping table to Unicode 6.0.0.
Behdad Esfahbod [Tue, 12 Oct 2010 17:51:19 +0000 (13:51 -0400)]
Update Arabic shaping table to Unicode 6.0.0.

13 years agoFix infinite loop!
Behdad Esfahbod [Tue, 12 Oct 2010 16:32:18 +0000 (12:32 -0400)]
Fix infinite loop!

Untested code is indeed buggy code.

Mozilla bug #603352.

13 years agoFix missing negation in unreachable code!
Behdad Esfahbod [Tue, 12 Oct 2010 15:17:30 +0000 (11:17 -0400)]
Fix missing negation in unreachable code!

Mozilla bug #603346

13 years agoMore separation
Behdad Esfahbod [Sat, 9 Oct 2010 00:38:46 +0000 (20:38 -0400)]
More separation

13 years agoMinor
Behdad Esfahbod [Sat, 9 Oct 2010 00:30:04 +0000 (20:30 -0400)]
Minor

13 years agoEnable 'rtlm' mirroring
Behdad Esfahbod [Sat, 9 Oct 2010 00:27:38 +0000 (20:27 -0400)]
Enable 'rtlm' mirroring

13 years agoRename hb_mask_allocator_t to hb_ot_map_t
Behdad Esfahbod [Sat, 9 Oct 2010 00:20:32 +0000 (20:20 -0400)]
Rename hb_mask_allocator_t to hb_ot_map_t

hb_ot_plan_t may be a better name, donno.

13 years agoImprove checks
Behdad Esfahbod [Sat, 9 Oct 2010 00:16:23 +0000 (20:16 -0400)]
Improve checks

13 years agoAdd hb-ot-map.cc
Behdad Esfahbod [Sat, 9 Oct 2010 00:14:57 +0000 (20:14 -0400)]
Add hb-ot-map.cc

13 years agoFix feature overriding
Behdad Esfahbod [Sat, 9 Oct 2010 00:05:29 +0000 (20:05 -0400)]
Fix feature overriding

13 years agoMinor cleanup
Behdad Esfahbod [Fri, 8 Oct 2010 23:43:48 +0000 (19:43 -0400)]
Minor cleanup

13 years agoAdd hb-ot-shape-private.hh
Behdad Esfahbod [Fri, 8 Oct 2010 23:18:40 +0000 (19:18 -0400)]
Add hb-ot-shape-private.hh