framework/uifw/harfbuzz.git
14 years agoFollowup fix for variation-selectors
Behdad Esfahbod [Thu, 3 Jun 2010 15:37:51 +0000 (11:37 -0400)]
Followup fix for variation-selectors

Patch from Jonathan Kew

14 years agoFix skipping variation-selectors
Behdad Esfahbod [Thu, 3 Jun 2010 02:24:54 +0000 (22:24 -0400)]
Fix skipping variation-selectors

14 years agoMake feature sorting stable
Behdad Esfahbod [Wed, 2 Jun 2010 03:03:54 +0000 (23:03 -0400)]
Make feature sorting stable

14 years agoMinor
Behdad Esfahbod [Sat, 29 May 2010 00:55:52 +0000 (20:55 -0400)]
Minor

14 years agoFurther simplify mask allocator
Behdad Esfahbod [Sat, 29 May 2010 00:54:43 +0000 (20:54 -0400)]
Further simplify mask allocator

14 years agoFix global feature handling
Behdad Esfahbod [Sat, 29 May 2010 00:41:20 +0000 (20:41 -0400)]
Fix global feature handling

14 years agoSimplify mask allocation
Behdad Esfahbod [Sat, 29 May 2010 00:37:06 +0000 (20:37 -0400)]
Simplify mask allocation

14 years agoTowards a mask allocator
Behdad Esfahbod [Sat, 29 May 2010 00:21:47 +0000 (20:21 -0400)]
Towards a mask allocator

14 years agoAllow disabling default features
Behdad Esfahbod [Fri, 28 May 2010 22:31:16 +0000 (18:31 -0400)]
Allow disabling default features

Patch from Jonathan Kew

14 years agoAdd note about UTF-8 decoder
Behdad Esfahbod [Thu, 27 May 2010 18:04:15 +0000 (14:04 -0400)]
Add note about UTF-8 decoder

14 years agoFix loop
Behdad Esfahbod [Thu, 27 May 2010 15:42:34 +0000 (11:42 -0400)]
Fix loop

14 years agoFixes to Python and Graphite from Martin
Martin Hosken [Thu, 27 May 2010 09:09:04 +0000 (10:09 +0100)]
Fixes to Python and Graphite from Martin

14 years agoDisable Graphite as it crashes all over the place...
Behdad Esfahbod [Thu, 27 May 2010 15:39:19 +0000 (11:39 -0400)]
Disable Graphite as it crashes all over the place...

14 years agoCypriot is RTL
Behdad Esfahbod [Wed, 26 May 2010 20:22:00 +0000 (16:22 -0400)]
Cypriot is RTL

14 years agoRevert "Merge remote branch 'martin/master'"
Behdad Esfahbod [Wed, 26 May 2010 14:48:10 +0000 (10:48 -0400)]
Revert "Merge remote branch 'martin/master'"

This reverts commit 80af2812fb3b231ddcb4608ec13c6038a681c818, reversing
changes made to c442672ec2fb83ed41f3994b3aa4f92a097664ab.

14 years agoMerge remote branch 'martin/master'
Behdad Esfahbod [Mon, 24 May 2010 17:14:24 +0000 (18:14 +0100)]
Merge remote branch 'martin/master'

14 years agoFix struct initializers
Behdad Esfahbod [Mon, 24 May 2010 17:02:32 +0000 (18:02 +0100)]
Fix struct initializers

14 years agoMinor
Behdad Esfahbod [Mon, 24 May 2010 17:01:09 +0000 (18:01 +0100)]
Minor

14 years agoMake sure we initialize all callbacks upon creation
Behdad Esfahbod [Mon, 24 May 2010 16:50:19 +0000 (17:50 +0100)]
Make sure we initialize all callbacks upon creation

Also fixes issue with unicode callbacks never being set really.

14 years agoMove all callback functions in a vtable structs
Behdad Esfahbod [Mon, 24 May 2010 16:46:21 +0000 (17:46 +0100)]
Move all callback functions in a vtable structs

14 years agohb-graphite now no longer has -ve advances within clusters. Fix infinite loop in...
Martin Hosken [Mon, 24 May 2010 12:25:37 +0000 (13:25 +0100)]
hb-graphite now no longer has -ve advances within clusters. Fix infinite loop in tag_to_script(). python fixed to use tag_to_script and allow hbtestfont to be passed font files, where fontconfig knows about them.

14 years agoTidy up hbtestfont and add README
Martin Hosken [Sat, 22 May 2010 19:19:00 +0000 (20:19 +0100)]
Tidy up hbtestfont and add README

14 years agoAdd fontconfig to hbtestfont
Martin Hosken [Sat, 22 May 2010 18:58:00 +0000 (19:58 +0100)]
Add fontconfig to hbtestfont

14 years agoMerge branch 'master' of git://git.freedesktop.org/~behdad/harfbuzz-ng
Martin Hosken [Sat, 22 May 2010 08:38:02 +0000 (09:38 +0100)]
Merge branch 'master' of git://git.freedesktop.org/~behdad/harfbuzz-ng

14 years agoAdd graphical output to hbtestfont
Martin Hosken [Fri, 21 May 2010 23:56:40 +0000 (00:56 +0100)]
Add graphical output to hbtestfont

14 years agoMove mirroring around a bit
Behdad Esfahbod [Fri, 21 May 2010 17:24:34 +0000 (18:24 +0100)]
Move mirroring around a bit

14 years agoAdd a few more standard features
Behdad Esfahbod [Fri, 21 May 2010 17:06:35 +0000 (18:06 +0100)]
Add a few more standard features

14 years agoAdd note
Behdad Esfahbod [Fri, 21 May 2010 16:59:04 +0000 (17:59 +0100)]
Add note

14 years agoAdd rtlm
Behdad Esfahbod [Fri, 21 May 2010 16:58:20 +0000 (17:58 +0100)]
Add rtlm

14 years agoAdd ltra, ltrm, and rtla features
Behdad Esfahbod [Fri, 21 May 2010 16:53:10 +0000 (17:53 +0100)]
Add ltra, ltrm, and rtla features

14 years agoCleanup bitmask allocation
Behdad Esfahbod [Fri, 21 May 2010 16:31:45 +0000 (17:31 +0100)]
Cleanup bitmask allocation

14 years agoAdd note
Behdad Esfahbod [Fri, 21 May 2010 15:43:17 +0000 (16:43 +0100)]
Add note

14 years agoRename Grxxx to HbGrxxx
Martin Hosken [Fri, 21 May 2010 14:16:43 +0000 (15:16 +0100)]
Rename Grxxx to HbGrxxx

14 years agoRename classes from Grxxx to HbGrxxx
Martin Hosken [Fri, 21 May 2010 14:01:37 +0000 (15:01 +0100)]
Rename classes from Grxxx to HbGrxxx

14 years agoAdd hb-ot-shape.h, oops.
Behdad Esfahbod [Fri, 21 May 2010 14:12:52 +0000 (15:12 +0100)]
Add hb-ot-shape.h, oops.

14 years agoFix Makefile to install hb-ot-shape.h
Behdad Esfahbod [Fri, 21 May 2010 13:42:11 +0000 (14:42 +0100)]
Fix Makefile to install hb-ot-shape.h

14 years agoSimple renames
Behdad Esfahbod [Fri, 21 May 2010 13:37:47 +0000 (14:37 +0100)]
Simple renames

14 years agoGraphite also forces us to link to libstdc++ currently
Behdad Esfahbod [Fri, 21 May 2010 13:37:28 +0000 (14:37 +0100)]
Graphite also forces us to link to libstdc++ currently

14 years agoMove main shaper code into hb_ot_shape()
Behdad Esfahbod [Fri, 21 May 2010 13:34:23 +0000 (14:34 +0100)]
Move main shaper code into hb_ot_shape()

14 years agoFix test failing
Behdad Esfahbod [Fri, 21 May 2010 13:20:48 +0000 (14:20 +0100)]
Fix test failing

14 years agoFix warnings
Behdad Esfahbod [Fri, 21 May 2010 13:18:08 +0000 (14:18 +0100)]
Fix warnings

14 years agoImport Graphite shaping backend by Martin Hosken
Behdad Esfahbod [Fri, 21 May 2010 13:02:20 +0000 (14:02 +0100)]
Import Graphite shaping backend by Martin Hosken

14 years agoUpdate the Python module
Behdad Esfahbod [Fri, 21 May 2010 12:51:29 +0000 (13:51 +0100)]
Update the Python module

14 years agoAdd hb_tag_from_string()
Behdad Esfahbod [Fri, 21 May 2010 12:43:49 +0000 (13:43 +0100)]
Add hb_tag_from_string()

14 years agoDon't allocate bits for features not available
Behdad Esfahbod [Fri, 21 May 2010 12:33:46 +0000 (13:33 +0100)]
Don't allocate bits for features not available

14 years agoSpeed up feature mask setting
Behdad Esfahbod [Fri, 21 May 2010 12:32:38 +0000 (13:32 +0100)]
Speed up feature mask setting

Patch from Jonathan Kew.

14 years agoAdd Unicode 5.2 scripts
Behdad Esfahbod [Fri, 21 May 2010 12:29:12 +0000 (13:29 +0100)]
Add Unicode 5.2 scripts

14 years agoFix feature mask setting
Behdad Esfahbod [Fri, 21 May 2010 11:55:57 +0000 (12:55 +0100)]
Fix feature mask setting

14 years agoAdd hb_ot_tag_to_script()
Behdad Esfahbod [Fri, 21 May 2010 10:15:07 +0000 (11:15 +0100)]
Add hb_ot_tag_to_script()

14 years agoAdd Python wrapper from Martin Hosken
Behdad Esfahbod [Fri, 21 May 2010 09:33:23 +0000 (10:33 +0100)]
Add Python wrapper from Martin Hosken

14 years agoLet hb_face_get_table() return NULL if table not found
Behdad Esfahbod [Thu, 20 May 2010 17:33:35 +0000 (18:33 +0100)]
Let hb_face_get_table() return NULL if table not found

14 years agoFix alternate, again
Behdad Esfahbod [Thu, 20 May 2010 16:47:28 +0000 (17:47 +0100)]
Fix alternate, again

14 years agoFix alternate off-by-one
Behdad Esfahbod [Thu, 20 May 2010 16:46:20 +0000 (17:46 +0100)]
Fix alternate off-by-one

14 years agoFix delta scale, again...
Behdad Esfahbod [Thu, 20 May 2010 16:44:52 +0000 (17:44 +0100)]
Fix delta scale, again...

14 years agoRemove unused operator
Behdad Esfahbod [Thu, 20 May 2010 16:35:14 +0000 (17:35 +0100)]
Remove unused operator

14 years agoDo alternate glyph selection!
Behdad Esfahbod [Thu, 20 May 2010 16:26:35 +0000 (17:26 +0100)]
Do alternate glyph selection!

Kinda hand-wavy right now.  Not tested.

14 years agoget_table() is allowed to return NULL. Use that to simplify code
Behdad Esfahbod [Thu, 20 May 2010 15:23:27 +0000 (16:23 +0100)]
get_table() is allowed to return NULL.  Use that to simplify code

14 years agoWrite hb_face_create_for_data() in terms of hb_face_create_for_tables()
Behdad Esfahbod [Thu, 20 May 2010 14:47:49 +0000 (15:47 +0100)]
Write hb_face_create_for_data() in terms of hb_face_create_for_tables()

Fixes lack of head_table initialization in create_for_tables() also.

14 years agoApply user features to ranges!
Behdad Esfahbod [Thu, 20 May 2010 14:40:12 +0000 (15:40 +0100)]
Apply user features to ranges!

14 years agoAdd _hb_bit_storage()
Behdad Esfahbod [Thu, 20 May 2010 14:31:12 +0000 (15:31 +0100)]
Add _hb_bit_storage()

14 years agoAdd lookup_map
Behdad Esfahbod [Thu, 20 May 2010 14:14:44 +0000 (15:14 +0100)]
Add lookup_map

14 years agoUpdate always-apply mask from 0xFFFF to 1
Behdad Esfahbod [Thu, 20 May 2010 13:05:02 +0000 (14:05 +0100)]
Update always-apply mask from 0xFFFF to 1

We plan to use the first bit to be always on.

14 years agoInvert the mask logic
Behdad Esfahbod [Thu, 20 May 2010 13:00:57 +0000 (14:00 +0100)]
Invert the mask logic

Before, the mask in the buffer was inverted.  That is, a 0 bit meant
feature should be applied and 1 meant not applied, whereas in the
lookups, the logic was positive.

Now both are in sync.  When calling hb_buffer_add_glyph() manually,
the mask should be 1 instead of 0.

14 years agoApply user features
Behdad Esfahbod [Thu, 20 May 2010 12:40:18 +0000 (13:40 +0100)]
Apply user features

No ranges yet

14 years agoChange hb_feature_t to keep tag/int instead of string
Behdad Esfahbod [Thu, 20 May 2010 12:30:09 +0000 (13:30 +0100)]
Change hb_feature_t to keep tag/int instead of string

14 years agoFix scale issues
Behdad Esfahbod [Wed, 19 May 2010 19:45:06 +0000 (15:45 -0400)]
Fix scale issues

hb_font_set_scale() now sets the value to be used to represent a unit
pixel.  For example, if rendering a 10px font with a 26.6 representation,
you would set scale to (10 << 6).  For 10px in 16.16 you would set it to
(10 << 16).  This space should be the same space that the get_glyph_metrics
and get_kerning callbacks work in.

14 years agoAdd 'head' table
Behdad Esfahbod [Wed, 19 May 2010 16:03:35 +0000 (12:03 -0400)]
Add 'head' table

14 years agoAdd LONGDATETIME
Behdad Esfahbod [Wed, 19 May 2010 15:47:17 +0000 (11:47 -0400)]
Add LONGDATETIME

14 years agoMinor
Behdad Esfahbod [Mon, 17 May 2010 19:14:14 +0000 (15:14 -0400)]
Minor

14 years agoIndent
Behdad Esfahbod [Sat, 15 May 2010 03:38:08 +0000 (23:38 -0400)]
Indent

14 years agoAdd an inline version of hb_buffer_ensure()
Behdad Esfahbod [Sat, 15 May 2010 03:28:44 +0000 (23:28 -0400)]
Add an inline version of hb_buffer_ensure()

14 years agoHandle malloc failture in the buffer
Behdad Esfahbod [Sat, 15 May 2010 03:20:16 +0000 (23:20 -0400)]
Handle malloc failture in the buffer

14 years agoMinor
Behdad Esfahbod [Sat, 15 May 2010 02:25:42 +0000 (22:25 -0400)]
Minor

14 years agoUpdate buffer docs
Behdad Esfahbod [Sat, 15 May 2010 02:13:38 +0000 (22:13 -0400)]
Update buffer docs

14 years agoShortening buffer accessors: rename buffer->in_pos to buffer->i
Behdad Esfahbod [Sat, 15 May 2010 02:10:39 +0000 (22:10 -0400)]
Shortening buffer accessors: rename buffer->in_pos to buffer->i

14 years agoShortening buffer accessors: rename buffer->out_length to buffer->out_len
Behdad Esfahbod [Sat, 15 May 2010 02:08:22 +0000 (22:08 -0400)]
Shortening buffer accessors: rename buffer->out_length to buffer->out_len

14 years agoShortening buffer accessors: rename buffer->in_length to buffer->len
Behdad Esfahbod [Sat, 15 May 2010 02:07:46 +0000 (22:07 -0400)]
Shortening buffer accessors: rename buffer->in_length to buffer->len

14 years agoShortening buffer accessors: rename buffer->positions to buffer->pos
Behdad Esfahbod [Sat, 15 May 2010 02:05:53 +0000 (22:05 -0400)]
Shortening buffer accessors: rename buffer->positions to buffer->pos

14 years agoShortening buffer accessors: rename buffer->out_string to buffer->out_info
Behdad Esfahbod [Sat, 15 May 2010 02:03:11 +0000 (22:03 -0400)]
Shortening buffer accessors: rename buffer->out_string to buffer->out_info

14 years agoShortening buffer accessors: rename buffer->in_string to buffer->info
Behdad Esfahbod [Sat, 15 May 2010 02:02:37 +0000 (22:02 -0400)]
Shortening buffer accessors: rename buffer->in_string to buffer->info

14 years agoMerge buffer->out_pos and buffer->out_length
Behdad Esfahbod [Sat, 15 May 2010 01:58:22 +0000 (21:58 -0400)]
Merge buffer->out_pos and buffer->out_length

14 years agoRemove the unused BUFFER macro
Behdad Esfahbod [Sat, 15 May 2010 01:41:04 +0000 (21:41 -0400)]
Remove the unused BUFFER macro

14 years agoRemove the IN_CURGLYPH() macro
Behdad Esfahbod [Sat, 15 May 2010 01:38:13 +0000 (21:38 -0400)]
Remove the IN_CURGLYPH() macro

14 years agoRemove the IN_CURINFO() macro
Behdad Esfahbod [Sat, 15 May 2010 01:37:18 +0000 (21:37 -0400)]
Remove the IN_CURINFO() macro

14 years agoRemove IN_INFO() and IN_NEXTGLYPH() macros
Behdad Esfahbod [Sat, 15 May 2010 01:34:22 +0000 (21:34 -0400)]
Remove IN_INFO() and IN_NEXTGLYPH() macros

14 years agoRemove the IN_GLYPH() macro
Behdad Esfahbod [Sat, 15 May 2010 01:07:35 +0000 (21:07 -0400)]
Remove the IN_GLYPH() macro

14 years agoRemove the IN_CLUSTER() macro
Behdad Esfahbod [Sat, 15 May 2010 01:00:08 +0000 (21:00 -0400)]
Remove the IN_CLUSTER() macro

14 years agoRemove the IN_MASK() macro
Behdad Esfahbod [Sat, 15 May 2010 00:30:07 +0000 (20:30 -0400)]
Remove the IN_MASK() macro

14 years agoRemove the IN_LIGID() macro
Behdad Esfahbod [Sat, 15 May 2010 00:25:55 +0000 (20:25 -0400)]
Remove the IN_LIGID() macro

14 years agoRemove IN_COMPONENT() macro
Behdad Esfahbod [Sat, 15 May 2010 00:25:04 +0000 (20:25 -0400)]
Remove IN_COMPONENT() macro

14 years agoRemove OUT_GLYPH() and OUT_INFO() macros
Behdad Esfahbod [Sat, 15 May 2010 00:17:50 +0000 (20:17 -0400)]
Remove OUT_GLYPH() and OUT_INFO() macros

14 years agoFix lookahead matching. Oops!
Behdad Esfahbod [Sat, 15 May 2010 00:09:48 +0000 (20:09 -0400)]
Fix lookahead matching.  Oops!

14 years agoRemove POSITION() and CURPOSITION() macros
Behdad Esfahbod [Fri, 14 May 2010 23:55:27 +0000 (19:55 -0400)]
Remove POSITION() and CURPOSITION() macros

14 years agos/\<context\>/c/g
Behdad Esfahbod [Thu, 13 May 2010 18:18:49 +0000 (14:18 -0400)]
s/\<context\>/c/g

14 years agoDon't use variable-length-arrays
Behdad Esfahbod [Thu, 13 May 2010 17:34:17 +0000 (13:34 -0400)]
Don't use variable-length-arrays

14 years agoAdd a few more buffer convenience methods
Behdad Esfahbod [Thu, 13 May 2010 17:22:24 +0000 (13:22 -0400)]
Add a few more buffer convenience methods

14 years agoMinor
Behdad Esfahbod [Thu, 13 May 2010 04:01:40 +0000 (00:01 -0400)]
Minor

14 years agoImprove check for internal symbols
Behdad Esfahbod [Thu, 13 May 2010 03:48:40 +0000 (23:48 -0400)]
Improve check for internal symbols

14 years agoMake HB_PRIVATE more useful
Behdad Esfahbod [Thu, 13 May 2010 03:46:16 +0000 (23:46 -0400)]
Make HB_PRIVATE more useful

So we can apply it to class methods also.  Not sure if that works!

14 years agoAdd a few other buffer methods
Behdad Esfahbod [Thu, 13 May 2010 03:43:00 +0000 (23:43 -0400)]
Add a few other buffer methods