[HarfBuzz] harfbuzz-ng: Branch 'master' - 2 commits

Behdad Esfahbod behdad at kemper.freedesktop.org
Wed Apr 11 19:02:03 PDT 2012


 TODO                            |   28 +++++++++++++++-------------
 src/hb-ot-shape-complex-misc.cc |    9 +++++++++
 2 files changed, 24 insertions(+), 13 deletions(-)

New commits:
commit 029a82d81d8ffa1b6771d19018d592fec1dbc934
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Apr 11 22:00:46 2012 -0400

    [hangul] Apply *jmo features to all Hangul chars
    
    This is what old HB does.  Morever, fixes rendering with Win8 malgun
    font.  The Win7 version doesn't compose with either Uniscribe nor HB,
    but Win8 version works as expected, like Uniscribe, with this change.
    
    Lets call Hangul done for now.

diff --git a/src/hb-ot-shape-complex-misc.cc b/src/hb-ot-shape-complex-misc.cc
index 99e54f6..76cb3a3 100644
--- a/src/hb-ot-shape-complex-misc.cc
+++ b/src/hb-ot-shape-complex-misc.cc
@@ -56,9 +56,18 @@ _hb_ot_shape_complex_setup_masks_default (hb_ot_map_t *map, hb_buffer_t *buffer,
 
 /* Hangul shaper */
 
+static const hb_tag_t hangul_features[] =
+{
+  HB_TAG('l','j','m','o'),
+  HB_TAG('v','j','m','o'),
+  HB_TAG('t','j','m','o'),
+};
+
 void
 _hb_ot_shape_complex_collect_features_hangul (hb_ot_map_builder_t *map, const hb_segment_properties_t  *props)
 {
+  for (unsigned int i = 0; i < ARRAY_LENGTH (hangul_features); i++)
+    map->add_bool_feature (hangul_features[i]);
 }
 
 hb_ot_shape_normalization_mode_t
commit 3baae2440de69577d330209edb708e7d2bb2231d
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Apr 11 21:54:37 2012 -0400

    Update TODO

diff --git a/TODO b/TODO
index 1436337..0c5bfaa 100644
--- a/TODO
+++ b/TODO
@@ -1,13 +1,9 @@
 General fixes:
 =============
 
-- Move feature parsing from util into the library
-
-- 'const' for getter APIs? (use mutable internally)
-
 - Fix TT 'kern' on/off and GPOS interaction (move kerning before GPOS)
 
-- Do proper rounding when scaling from font space?
+- Do proper rounding when scaling from font space?  May be a non-issue.
 
 - Misc features:
   * init/medi/fina/isol for non-cursive scripts
@@ -19,26 +15,30 @@ General fixes:
 - Uniscribe backend needs to enforce one direction only, otherwise cluster
   values can confused the user.
 
+- GSUB ligation should call merge_clusters().
+
 
 API issues to fix before 1.0:
 ============================
 
-- Rename all internal symbols (static ones even) to have _hb prefix?
-
 - Add pkg-config files for glue codes (harfbuzz-glib, etc)
 
 - Figure out how many .so objects, how to link, etc
 
+- 'const' for getter APIs? (use mutable internally)
+
+
+API additions
+=============
+
+- Move feature parsing from util into the library
+
 - Add hb-cairo glue
 
 - Add sanitize API (and a cached version, that saves result on blob user-data)
 
 - Add glib GBoxedType stuff and introspection
 
-
-API to add (maybe after 1.0):
-============================
-
 - Add Uniscribe face / font get API
 
 - BCP 47 language handling / API (language_matches?)
@@ -47,7 +47,7 @@ API to add (maybe after 1.0):
 
 - Add hb_font_create_linear()?
 
-- Add hb_shape_plan()/hb_shape_execute()
+- Add hb_shape_plan()/hb_shape_planned()
 
 - Add query API for aalt-like features?
 
@@ -55,7 +55,9 @@ API to add (maybe after 1.0):
 
 - Add segmentation API
 
-- Add hb-fribidi?
+- Add hb-fribidi glue?
+
+- Add segmentation API
 
 
 hb-view / hb-shape enhancements:



More information about the HarfBuzz mailing list