Log

Author Commit Date CI Message
Behdad Esfahbod c0af193c 2011-04-15T19:26:24 Change buffer default properties to invalid This includes HB_DIRECTION_INVALID and HB_SCRIPT_INVALID. The INVALID will cause a "guess whatever from the text" in hb_shape(). While it's not ideal, it works better than the previous defaults at least (HB_DIRECTION_LTR and HB_SCRIPT_COMMON).
Behdad Esfahbod 00bec2c9 2011-04-15T19:16:54 Move enum types to hb-common.h
Behdad Esfahbod 5dd4609f 2011-04-15T19:16:34 [TODO] Add new item
Behdad Esfahbod b54cd07b 2011-04-15T19:12:01 Mark internal buffer variables private
Behdad Esfahbod 0e8d35c0 2011-04-15T19:07:10 Add hb_script_from_string()
Behdad Esfahbod 8f0d7e0c 2011-04-15T18:59:56 Remove hb_buffer_clear_positions(), add hb_ot_layout_position_start()
Behdad Esfahbod 2fc56edf 2011-04-15T18:35:08 [API] Remove hb_buffer_clear() One should use hb_buffer_reset() really.
Behdad Esfahbod 7f5bdc80 2011-04-15T18:34:55 [TODO] Remove done items
Behdad Esfahbod 5814dfa3 2011-04-15T14:41:04 Cosmetic
Behdad Esfahbod cfbfeb88 2011-04-15T12:40:40 [TODO] Remove done items
Behdad Esfahbod 3cbdf70e 2011-04-15T12:32:06 Make hb_language_t typesafe
Behdad Esfahbod 2f2f448a 2011-04-15T11:45:14 [test] Add more TODO items
Behdad Esfahbod c910bec8 2011-04-13T15:49:06 Add hb_buffer_reset() and hb_buffer_set_length()
Behdad Esfahbod 69ea23cb 2011-04-13T15:02:40 Minor
Behdad Esfahbod 7dea908c 2011-04-13T01:35:58 [test] Add todo items
Behdad Esfahbod 07cbaac0 2011-04-13T01:11:19 [TODO] Add item re script iso15924 functions
Behdad Esfahbod d0f53fdb 2011-04-13T01:09:09 [test] Test hb-buffer.h
Behdad Esfahbod 72d89404 2011-04-13T01:07:42 [TODO] Add item re hb_buffer_reset()
Behdad Esfahbod 5015c12d 2011-04-13T01:06:02 [TODO] Add item re hb_buffer_resize()
Behdad Esfahbod 9329ec92 2011-04-13T00:06:23 [TODO] Add API item
Behdad Esfahbod 4744379e 2011-04-11T19:47:33 Minor
Behdad Esfahbod 9385caa8 2011-04-11T19:43:51 [test] Actually hook up hb_script_t tests I really shall find a way to automate the test enumeration. Otherwise it's too easy to add a test and wrongly hook it up. Did it twice today.
Behdad Esfahbod 8e4bb3ca 2011-04-11T17:55:58 Fold hb-language.[ch] into hb-common.[ch]
Behdad Esfahbod 09125576 2011-04-11T17:49:33 [test] Test hb_language_t
Behdad Esfahbod 316b7a1a 2011-04-11T17:49:10 Make hb_language_from_string("") return NULL language
Behdad Esfahbod db60c96f 2011-04-11T16:17:02 [teset] Test hb_script_t
Behdad Esfahbod 99b74760 2011-04-11T15:47:40 Rename hb_category_t to hb_unicode_general_category_t
Behdad Esfahbod 4188096a 2011-04-11T14:58:28 Make HB_TAG_CHAR4 private It's just sugar.
Behdad Esfahbod 7ff7401c 2011-04-11T13:27:30 Make hb_tag_from_string(NULL) return HB_TAG_NONE
Behdad Esfahbod 02f6e62d 2011-04-11T13:27:21 Build fix
Behdad Esfahbod db5227c4 2011-04-11T13:16:08 Move macros around
Behdad Esfahbod 07233581 2011-04-11T13:12:37 Rename HB_TAG_STR() to HB_TAG_CHAR4() The problem with HB_TAG_STR() was that it expected a string of size 4 exactly, and unlike hb_tag_from_string() it doesn't pad the tag with space characters. So, the new name is more appropriate.
Behdad Esfahbod 9faa9800 2011-04-11T12:46:49 Add an in-tree test suite Uses the glib testing framework. Wrote unit tests for hb-common.h types.
Behdad Esfahbod d77b7620 2011-04-11T12:29:52 Add few more paratheses to the HB_TAG macro Never hurts.
Behdad Esfahbod b13640de 2011-04-11T12:29:31 A few more ASSERTs
Behdad Esfahbod ae9eeaff 2011-04-11T11:49:08 Remove warning message from public header file Since we now assert thos in hb-private.h, the int types cannot be wrong. (Except for when someone else includes hb-common.h in a very broken configuration, but that's not our problem!) Plus, we don't use inline in the public headers, so remove that too.
Behdad Esfahbod 6fd5364b 2011-04-11T11:47:14 Assert int types
Behdad Esfahbod bbdeff59 2011-04-07T16:05:07 Add test directory
Behdad Esfahbod 4accc92a 2011-04-07T15:53:26 Update TODO items
Behdad Esfahbod a71b9c85 2011-04-06T14:04:56 Disable 'cswh' by default except for Arabic shaper That better matches OpenType spec. Note that we enable it for all Arabic-shaper scripts. Ie. we enable it by default for Syriac too, but the SyriacOT spec does not require it. I think this is a more useful compromise than special-casing for Arabic script alone.
Behdad Esfahbod cab6f65b 2011-04-04T15:36:51 [hb-view] setlocale (LC_ALL, "") For now we don't use anything from the locale, but we should default to using $LANG, etc, if --language is not specified. Right?
Behdad Esfahbod fb9ca1bf 2011-04-04T14:50:09 [hb-view] Rewrite --features parsing, with range support The --features parsing handles errors now. More importantly, it allos limiting individual features to specific byte ranges. The format is Python-esque. Here is how it all works: Syntax: Value: Start: End: Setting value: "kern" 1 0 ∞ # Turn feature on "+kern" 1 0 ∞ # Turn feature off "-kern" 0 0 ∞ # Turn feature off "kern=0" 0 0 ∞ # Turn feature off "kern=1" 1 0 ∞ # Turn feature on "kern=2" 2 0 ∞ # Choose 2nd alternate Setting index: "kern[]" 1 0 ∞ # Turn feature on "kern[:]" 1 0 ∞ # Turn feature on "kern[5:]" 1 5 ∞ # Turn feature on, partial "kern[:5]" 1 0 5 # Turn feature on, partial "kern[3:5]" 1 3 5 # Turn feature on, range "kern[3]" 1 3 3+1 # Turn feature on, single char Mixing it all: "kern[3:5]=0" 1 3 5 # Turn feature off for range
Behdad Esfahbod ccc6745a 2011-04-04T14:49:50 [hb-view] Use cached hb-ft face creation Avoids recreating the face the second time we call draw().
Behdad Esfahbod 1b4a2cc0 2011-04-04T14:45:28 [hb-view] Add --debug Frees all allocated memory before exiting. Useful for valgrind run.
Behdad Esfahbod b2da26d1 2011-04-01T15:48:43 [hb-view] Support --features Accepts values like: --features="-mkmk,aalt=2,calt=1,+cswh" A minus sign means "=0", a plus sign means "=1". Default is "=1". A minus sign overrides an explicit value.
Behdad Esfahbod f48ff19b 2011-04-01T14:19:10 Sort options for clarity
Behdad Esfahbod 5d91c3d5 2011-03-16T17:36:32 Add script to/from ISO 15924 tag support Also adds --script support to hb-view. If a script tag is not known to us, we pass the ISO 15924 tag around. Right now, the OT layer ignores that, but we can fix it to blindly convert that to an OT script tag.
Behdad Esfahbod 3286fc0e 2011-03-16T14:53:32 Let hb_shape() guess script and direction... - Rename HB_SCRIPT_INVALID_CODE to HB_SCRIPT_INVALID - Add HB_DIRECTION_INVALID - Make hb_script_get_horizontal_direction() public - Make hb_shape() guess script from buffer text (first non-common non-inherit script) if buffer script is set to HB_SCRIPT_INVALID (this is NOT the default.) - Make hb_shape() guess direction from buffer script if buffer direction is set to HB_DIRECTION_INVALID (this is NOT the default.) - Make hb-view.c set INVALID script and direction on the buffer. The above changes are meant to make hb-view fairly useful for uni-script uni-direction text. The guessing behavior however is NOT the default of hb_shape() and must be asked for explicitly. This is intended, because the guess is not a suitable substitute to full-fledged bidi and script segmentation. It's just a testing tool.
Behdad Esfahbod b7b29684 2011-03-02T01:01:03 [hb-view] Handle write_to_png errors
Behdad Esfahbod c2cb98c8 2011-03-01T23:18:09 [hb-view] Link with -lm
Behdad Esfahbod b5dd44e2 2011-02-28T10:13:52 Fix possible overflow
Behdad Esfahbod a4b781e9 2011-02-23T12:47:56 Default background color shall either be white or transparent Definitely not black!
Behdad Esfahbod 5353bf43 2011-02-22T18:06:19 Add initial hb-view tool Currently doesn't handle script or direction.
Bradley Grainger 82438c6a 2011-02-15T18:37:29 Fix #pragma message for MSVC. __LOC__ was renamed to _HB__LOC__ in cd7555 but the corresponding change wasn't made in hb-private.h.
Behdad Esfahbod ba9ab8d6 2011-01-10T07:45:41 Fix language extension matching
Behdad Esfahbod a0787430 2011-01-10T02:27:49 Don't use the m4/ dir We just require people to have libtool, pkg-config, etc installed when running autogen.sh
Behdad Esfahbod 7bbe14be 2011-01-09T22:29:14 Fix 'make distcheck'
Javier Jardón 2abe1264 2011-01-09T22:18:53 Bug 31174 - Update autotools configuration
Behdad Esfahbod cc1a8a93 2011-01-06T14:58:52 Fix ChanContext backtrack matching with GPOS Reported on mailing list by Keith Stribley and Khaled Hosny.
Behdad Esfahbod 1c318302 2011-01-06T14:44:14 Remove unused realloc We always allocate and grow str and pos together.
Behdad Esfahbod 76691f02 2011-01-06T14:16:59 Fix ICU detection
Behdad Esfahbod 756f794a 2010-12-26T20:52:40 Remove Graphite backend It was unmaintained and the code has to be replaced to use the new grphite-ng code base.
Behdad Esfahbod f3d9d987 2010-12-22T01:39:29 Docs
Behdad Esfahbod d86a5b3c 2010-12-21T18:36:25 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.
Behdad Esfahbod b0e7378f 2010-12-21T14:19:32 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.
Behdad Esfahbod 88e7f374 2010-12-21T14:18:24 Annotate the Arabic joining table with block information
Behdad Esfahbod 1482a39e 2010-12-17T20:15:05 Rename remaining metrics uses to extents
Behdad Esfahbod 22c53765 2010-12-14T23:51:29 Rename TableDirectory to TableRecord as per OpenType 1.6
Behdad Esfahbod 33e8b861 2010-12-13T15:54:56 Update 'head' table to OpenType 1.6
Behdad Esfahbod b7683335 2010-12-13T14:22:35 Disallow ligature substitutions replacing one glyph
Behdad Esfahbod 7eb87511 2010-12-13T14:13:35 Mozilla Bug 618592 - freeze on typekit Fix apply_lookup() for zero-input broken fonts.
Behdad Esfahbod bbbbe80e 2010-12-07T16:22:02 Rename original_direction to target_direction
Behdad Esfahbod ee8aaf97 2010-12-07T16:20:42 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.
Behdad Esfahbod d1f1707a 2010-11-30T00:57:15 Bug 31965 - some GNU/Linux distributions lack icu.pc but have icu-config Patch from suzuki toshiya.
Behdad Esfahbod 3c48982b 2010-11-28T19:39:47 Adjust pyx files to reflect change from int to hb_var_int_t Patch from Thomas Hunger.
Behdad Esfahbod 4f9e4a40 2010-11-22T11:30:32 Fix failing checks
Behdad Esfahbod 9da26d66 2010-11-22T11:03:18 Remove email address from Copyright headers
Behdad Esfahbod a45f0001 2010-11-18T13:58:32 Clarify copyright notice
Behdad Esfahbod 0884a8d9 2010-11-17T16:58:21 Move generated table to its own file
Behdad Esfahbod 14d78411 2010-11-17T16:52:58 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.
Behdad Esfahbod 43bf2f7f 2010-11-17T14:49:40 Add OpenType script tags for Unicode 5.2 and Unicode 6.0 scripts Based on tags proposed by Microsoft for inclusion in OpenType.
Behdad Esfahbod afab01cf 2010-11-17T14:35:34 Add Unicode 6.0 scripts
Behdad Esfahbod f234b68d 2010-11-17T14:25:44 Change HB_SCRIPT_MEITEI_MAYEK to HB_SCRIPT_MEETEI_MAYEK The new name matches the Unicode name. Reported by Jonathan Kew.
Behdad Esfahbod 3ca9a6d1 2010-11-17T13:08:47 Add TODO item
Behdad Esfahbod 300cb414 2010-11-17T12:57:23 Add XXX marks
Behdad Esfahbod ea00aee9 2010-11-05T10:51:37 Add TODO item
Behdad Esfahbod 3a852ae7 2010-11-03T16:37:24 Save general category and combining class in the buffer for reuse
Behdad Esfahbod a5ab682b 2010-11-03T15:50:36 More "unreached code" warning fixes Ugly :(.
Behdad Esfahbod 4e22c7e9 2010-11-03T15:47:12 Add comment
Behdad Esfahbod 0342034d 2010-11-03T15:40:07 Pedantic
Behdad Esfahbod 4a2d844c 2010-11-03T15:28:56 Minor code shuffling
Behdad Esfahbod 11e3ec44 2010-11-03T15:11:04 Fix a few more "unreachable code" warnings
Behdad Esfahbod 23048563 2010-11-03T12:46:58 Remove another couple lines of dead code
Behdad Esfahbod b8783c85 2010-11-03T11:50:21 Fix unreachable-code warning
Behdad Esfahbod c2709119 2010-10-27T23:18:51 Move things around some more
Behdad Esfahbod 194d4566 2010-10-27T23:09:10 Move buffer var allocation local
Behdad Esfahbod 1e7c1fcb 2010-10-27T22:48:31 Move code around
Behdad Esfahbod bf94b3ad 2010-10-27T22:37:59 Move some more code around
Behdad Esfahbod 6334658f 2010-10-27T22:11:32 Simplify mark skipping logic
Behdad Esfahbod 8c69e65a 2010-10-27T22:07:49 Rename lookup_flags to lookup_props since it's more than just flags