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

2015-04-08 Thread Behdad Esfahbod
src/hb-atomic-private.hh |6 +- src/hb-mutex-private.hh |7 ++- src/hb-set-private.hh|1 - 3 files changed, 11 insertions(+), 3 deletions(-) New commits: commit 45a8b46f478d4aa63ae5df74b6bb28ebdd7521ac Author: Behdad Esfahbod Date: Wed Apr 8 12:49:38 2015 -0700

[HarfBuzz] harfbuzz: Branch 'master' - 3 commits

2015-04-08 Thread Behdad Esfahbod
deletions(-) New commits: commit fc3c59a1d746c5280f6216a94fdc1be3e826051f Author: Behdad Esfahbod Date: Wed Apr 8 13:03:27 2015 -0700 Fix unused var warnings diff --git a/src/hb-ot-layout-gpos-table.hh b/src/hb-ot-layout-gpos-table.hh index d88f787..69609d0 100644 --- a/src/hb-ot-layout-gpos

Re: [HarfBuzz] To HB_NO_MT or not to HB_NO_MT

2015-04-08 Thread Behdad Esfahbod
On 15-03-28 05:13 PM, Konstantin Ritt wrote: > > 2015-03-29 0:33 GMT+04:00 Behdad Esfahbod <mailto:behdad.esfah...@gmail.com>>: > > On 15-03-28 03:28 PM, Konstantin Ritt wrote: > > Issue: in a multi-threaded application, there is no possibility to > che

[HarfBuzz] harfbuzz: Branch 'master'

2015-04-08 Thread Behdad Esfahbod
src/hb-unicode.cc |8 src/hb-warning.cc | 22 -- 2 files changed, 12 insertions(+), 18 deletions(-) New commits: commit cdcdfe61b97a0a48ccf834b6d924d187da9609be Author: Behdad Esfahbod Date: Wed Apr 8 13:25:04 2015 -0700 Err, instead of warn, if mutex

[HarfBuzz] harfbuzz: Branch 'master' - 3 commits

2015-04-10 Thread Behdad Esfahbod
src/hb-buffer.cc |4 ++-- src/hb-common.cc |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) New commits: commit 713f99ff6138b4149d9fd382f9af3ace01ee0da5 Merge: 1086f21 22524a5 Author: Behdad Esfahbod Date: Fri Apr 10 14:34:05 2015 -0700 Merge pull request #99 from

[HarfBuzz] harfbuzz: Branch 'master'

2015-04-09 Thread Behdad Esfahbod
src/hb-atomic-private.hh | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) New commits: commit 9c974360febcfd67247107352425fe8590d9d452 Author: Behdad Esfahbod Date: Thu Apr 9 12:04:14 2015 -0700 Minor rename diff --git a/src/hb-atomic-private.hh b/src/hb-atomic

[HarfBuzz] harfbuzz: Branch 'master' - 3 commits

2015-04-08 Thread Behdad Esfahbod
f3b170bdd970e31e9dbfed94c07c3cda41269aed Author: Behdad Esfahbod Date: Wed Apr 8 16:26:24 2015 -0700 Minor diff --git a/src/hb-common.cc b/src/hb-common.cc index 1516211..c0233f3 100644 --- a/src/hb-common.cc +++ b/src/hb-common.cc @@ -179,7 +179,7 @@ static const char canon_map[256] = { 'p

[HarfBuzz] harfbuzz: Branch 'master'

2015-04-13 Thread Behdad Esfahbod
src/hb-private.hh |1 + 1 file changed, 1 insertion(+) New commits: commit 89cbd4d9533011fb5487caa99a0cd58923e7cf59 Author: Behdad Esfahbod Date: Mon Apr 13 12:27:08 2015 -0700 Add MSVC pragma for UTF-8 source code Not sure we have any right now; motivated by this: https

[HarfBuzz] harfbuzz: Branch 'master' - 5 commits

2015-04-13 Thread Behdad Esfahbod
util/options.cc | 29 - 1 file changed, 16 insertions(+), 13 deletions(-) New commits: commit 76d57331117be8e0c2d4a2aee8341969b62b6888 Merge: 89cbd4d 9ee176e Author: Behdad Esfahbod Date: Mon Apr 13 23:40:35 2015 -0700 Merge pull request #86 from cpfair/hb

[HarfBuzz] harfbuzz: Branch 'master'

2015-04-14 Thread Behdad Esfahbod
util/options.cc | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) New commits: commit 820505a186ff60e4bae9d717fe4d7ab2390e6fef Author: Behdad Esfahbod Date: Mon Apr 13 23:51:45 2015 -0700 Whitespace diff --git a/util/options.cc b/util/options.cc index 8bdcbf1

Re: [HarfBuzz] Don't render control characters?

2015-04-14 Thread Behdad Esfahbod
), simply dup the metrics for U+0020 as well; > otherwise believe the font provides a correct metrics. > This doesn't care about ie. half-width spaces but also a good approximation > for the most-common case. > This only applicable when no HB_BUFFER_FLAG_PRESERVE_DEFAUL

[HarfBuzz] harfbuzz: Branch 'master'

2015-04-14 Thread Behdad Esfahbod
src/hb-private.hh |1 - 1 file changed, 1 deletion(-) New commits: commit 3029e8b59d1667dc6a53355be89a2b55d7089b88 Author: Behdad Esfahbod Date: Tue Apr 14 13:32:22 2015 -0700 Revert "Add MSVC pragma for UTF-8 source code" This reve

[HarfBuzz] harfbuzz: Branch 'master'

2015-04-17 Thread Behdad Esfahbod
src/hb-ot-font.cc |1 + 1 file changed, 1 insertion(+) New commits: commit dba482fc4458776ffebdeb2d34b970b4223fa8fd Author: Behdad Esfahbod Date: Fri Apr 17 13:08:08 2015 -0700 [ot-font] Accept MS Symbol cmap if nothing else found diff --git a/src/hb-ot-font.cc b/src/hb-ot-font.cc

[HarfBuzz] harfbuzz: Branch 'master'

2015-04-21 Thread Behdad Esfahbod
src/hb-coretext.cc | 11 +++ 1 file changed, 11 insertions(+) New commits: commit 24f17afeafd40ff77177ed42c9007a0f34fcbb78 Author: Behdad Esfahbod Date: Tue Apr 21 19:21:32 2015 -0700 [coretext] Fix positioning with trailing whitespace Fixes https://code.google.com/p

[HarfBuzz] harfbuzz: Branch 'master'

2015-04-21 Thread Behdad Esfahbod
src/hb-coretext.cc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 39851ce84efd30f6d0570324ff8f3808a01b813b Author: Behdad Esfahbod Date: Tue Apr 21 19:23:27 2015 -0700 [coretext] Oops; fix issue number for previous commit diff --git a/src/hb-coretext.cc b

Re: [HarfBuzz] disabling Arabic shaping when direction is vertical

2015-04-23 Thread Behdad Esfahbod
On 15-04-23 04:47 AM, Jonathan Kew wrote: > On 28/11/14 21:50, Behdad Esfahbod wrote: >> On 14-09-23 04:20 AM, Behdad Esfahbod wrote: >>> On 14-09-15 05:40 PM, Jonathan Kew wrote: >>>>> Hi Behdad, >>>>> >>>>> If the harfbuzz buff

Re: [HarfBuzz] disabling Arabic shaping when direction is vertical

2015-04-23 Thread Behdad Esfahbod
On 15-04-23 01:35 PM, Jonathan Kew wrote: > >> Probably should do for Indic as well. > > I'm not entirely sure about this (or SEAsian, etc). The CSS writing modes spec > specifically mentions "horizontal cursive scripts (such as Arabic)", but I > don't think Indic scripts fit this category. Examp

[HarfBuzz] harfbuzz: Branch 'master'

2015-04-23 Thread Behdad Esfahbod
test/shaping/hb_test_tools.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 8f0a4d67143ccdef0b5a6ac99fb9b680c3a2f69c Author: Behdad Esfahbod Date: Thu Apr 23 14:32:33 2015 -0700 [test] Ignor 'n' and 'i' in hb-unicode-encode Allo

[HarfBuzz] harfbuzz: Branch 'master'

2015-04-23 Thread Behdad Esfahbod
src/check-libstdc++.sh |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) New commits: commit 97942420bbee1bc6953d5f805621066301fa17ca Author: Behdad Esfahbod Date: Thu Apr 23 18:56:24 2015 -0700 Update check-libstdc++ for clang diff --git a/src/check-libstdc++.sh b/src

[HarfBuzz] harfbuzz: Branch 'master'

2015-04-24 Thread Behdad Esfahbod
src/hb-ot-shape-complex-private.hh |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) New commits: commit f724cc351640ee075a9867ef42df32cf5e0ef3b7 Author: Jonathan Kew Date: Thu Apr 23 12:45:02 2015 +0100 Don't apply Arabic shaping to vertical text. diff --git a/src/hb-ot-

[HarfBuzz] harfbuzz: Branch 'master'

2015-04-30 Thread Behdad Esfahbod
src/hb-buffer.cc | 17 + src/hb-buffer.h |4 2 files changed, 21 insertions(+) New commits: commit 81bedda58cfc15f1987aa1952290cf9d87b4d074 Author: Behdad Esfahbod Date: Thu Apr 30 13:04:16 2015 -0400 New API: hb_buffer_reverse_range() diff --git a/src/hb

[HarfBuzz] harfbuzz: Branch 'master'

2015-04-30 Thread Behdad Esfahbod
src/hb-shape.cc | 70 +--- src/hb-shape.h |3 -- 2 files changed, 47 insertions(+), 26 deletions(-) New commits: commit d055e1fc781c123f38d321846937965ef794257e Author: Khaled Hosny Date: Wed Jan 8 02:28:55 2014 +0200 Some attempt

[HarfBuzz] harfbuzz: Branch 'master'

2015-04-30 Thread Behdad Esfahbod
src/hb-shape.cc |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) New commits: commit be66ec5373634234f221ace9cfed45d76b87f20e Author: Behdad Esfahbod Date: Thu Apr 30 18:27:13 2015 -0400 Use TRUE/FALSE instead of true/false in docs diff --git a/src/hb-shape.cc b/src/hb

[HarfBuzz] harfbuzz: Branch 'master'

2015-05-04 Thread Behdad Esfahbod
.travis.yml |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) New commits: commit 8a254bdd29a99eb91b37e9e540179a1a01f77605 Author: Behdad Esfahbod Date: Mon May 4 19:22:11 2015 -0700 [travis] Build with introspection enabled diff --git a/.travis.yml b/.travis.yml index 4b3e0f8

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

2015-05-04 Thread Behdad Esfahbod
.travis.yml |4 ++-- README.python |8 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) New commits: commit c60f3c8e1156fe7328d42851013cca97333c3bf7 Author: Behdad Esfahbod Date: Mon May 4 23:10:32 2015 -0700 [README.python] Add package name for gobject-introspection

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

2015-05-05 Thread Behdad Esfahbod
src/hb-ot-tag.cc |1 + 1 file changed, 1 insertion(+) New commits: commit 42b00118eae46a5183e885e89e0856f41361f57e Merge: c60f3c8 cfeb056 Author: Behdad Esfahbod Date: Tue May 5 14:49:47 2015 -0700 Merge pull request #102 from roozbehp/master Add OpenType language tag 

[HarfBuzz] harfbuzz: Branch 'master'

2015-05-05 Thread Behdad Esfahbod
src/hb-ot-tag.cc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit f6266ad291d7686d5e110255ace5f2ff9e70bf38 Author: Roozbeh Pournader Date: Tue May 5 22:31:19 2015 -0700 [minor] Remove comment about Navajo OpenType code. Apparently the code is already s

[HarfBuzz] harfbuzz: Branch 'master'

2015-05-06 Thread Behdad Esfahbod
src/hb-ot-tag.cc | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) New commits: commit 58015215321a76d68df8e0d51039904a67291108 Author: Behdad Esfahbod Date: Wed May 6 00:40:31 2015 -0700 Add note re OpenType 1.7 language tags diff --git a/src/hb-ot-tag.cc b/src

Re: [HarfBuzz] How to use 'locl' feature of Noto Sans CJK with Harfbuzz?

2015-05-06 Thread Behdad Esfahbod
On 15-05-06 08:08 AM, Richard Wordingham wrote: > It should just be hb_buffer_set_language(buffer, > hb_tag_from_string(LANG)); > > where lang is one of the following four-character strings: > > "JAN " for Japanese > "KOR " for Korean > "ZHH " for Hong Kon

Re: [HarfBuzz] How to use 'locl' feature of Noto Sans CJK with Harfbuzz?

2015-05-06 Thread Behdad Esfahbod
is (after fixing upper/lower case). Language tags are actually BCP 47. Also, if one wants to override OpenType language system directly, they can use a BCP 47 extension tag like "x-hbotZHT" for example. Or, eg, "zh-x-hbotZHT". b > A. > > Sent from my mobile phone. &g

Re: [HarfBuzz] Choosing "dev2" vs "deva" OT script for shaping

2015-05-06 Thread Behdad Esfahbod
On 15-05-06 03:33 PM, Adam Twardoch (List) wrote: > If a font includes both a "dev2" and a "deva" implementation for Devanagari > OT shaping, is there an API-compliant way to choose one over the other? Not right now. I can extend the BCP 47 extension to also choose the script system if it's ava

Re: [HarfBuzz] How to use 'locl' feature of Noto Sans CJK with Harfbuzz?

2015-05-06 Thread Behdad Esfahbod
On 15-05-06 04:14 PM, Richard Wordingham wrote: > On Wed, 6 May 2015 23:30:20 +0200 > "Adam Twardoch (List)" wrote: > >> 2. For the language tags, one should use high-level ISO-style >> language tags, while the low-level OT languagesystem tags "might" >> work, but it's not recommended to use them

Re: [HarfBuzz] How to use 'locl' feature of Noto Sans CJK with Harfbuzz?

2015-05-06 Thread Behdad Esfahbod
Right. Thanks for pointing out. I have had that in my TODO list for a couple years now... James, care to comment? Thanks, behdad On 15-05-06 04:34 PM, Adam Twardoch (List) wrote: > This https://github.com/jclark/lang-ietf-opentype could be of interest. > > Sent from my mobile phone. > > On 0

Re: [HarfBuzz] hb_ot_tag_to_language

2015-05-07 Thread Behdad Esfahbod
Bumping this old thread. Lets merge James's work with the new OpenType 1.7 investigation and update the mapping. Thanks everyone! behdad On 14-03-08 03:17 AM, James Clark wrote: > For my own project, I needed to implement mapping from IETF language tags to > OpenType language system tags. I en

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

2015-05-07 Thread Behdad Esfahbod
.travis.yml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit fbecde3d5c5c6d5af315140e4966dc850388ad63 Merge: 5801521 74139f9 Author: Behdad Esfahbod Date: Thu May 7 10:46:42 2015 -0700 Merge pull request #105 from ebraminio/master Fix Travis CI config

Re: [HarfBuzz] Choosing "dev2" vs "deva" OT script for shaping

2015-05-08 Thread Behdad Esfahbod
Filed here for now: https://github.com/behdad/harfbuzz/issues/106 On 15-05-07 07:01 AM, Adam Twardoch (List) wrote: > Yes, separate x-prefixes for script and land would be good! (That'd allow for > 3-letter script tags). > > Sent from my mobile phone. > >> On 07.05.2015, at 04:28, Martin Hos

Re: [HarfBuzz] how to detect missing glyphs e.g. for font substitition

2015-05-11 Thread Behdad Esfahbod
On 15-05-11 08:06 AM, Konstantin Ritt wrote: > Uniscribe has an API to override the .notdef glyph's value I didn't know this. Which API is that? b ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/ha

Re: [HarfBuzz] Loading Graphite dynamically

2015-05-18 Thread Behdad Esfahbod
Hi Martin, For the curious, this is the PR: https://github.com/behdad/harfbuzz/pull/107 This basically uses dlopen to open libgraphite2. I need to understand better what you are trying to address with this. "A number of people have asked" does not quite justify it. Why do people care? Year

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

2015-05-18 Thread Behdad Esfahbod
src/hb-ft.cc | 16 ++-- util/ansi-print.cc | 26 +- 2 files changed, 23 insertions(+), 19 deletions(-) New commits: commit 9df099b4837df722e738675af318efcc9ac39a78 Author: Behdad Esfahbod Date: Mon May 18 18:37:06 2015 -0700 [ft] Don'

Re: [HarfBuzz] Loading Graphite dynamically

2015-05-19 Thread Behdad Esfahbod
On 15-05-19 01:11 PM, Konstantin Ritt wrote: > 2015-05-20 0:01 GMT+04:00 Jonathan Kew >: > > > .. but for software that uses a harfbuzz rendering path exclusively, this > could offer a valuable added capability. > > > +1 from Qt side. Ok, interesting. I hav

[HarfBuzz] harfbuzz: Branch 'master'

2015-05-19 Thread Behdad Esfahbod
src/hb-gobject-structs.cc | 73 ++ 1 file changed, 17 insertions(+), 56 deletions(-) New commits: commit ece434fa0fec6754e5164d881c1e967376729eca Author: Behdad Esfahbod Date: Tue May 19 17:20:58 2015 -0700 [gobject] Macroize value types

[HarfBuzz] harfbuzz: Branch 'master'

2015-05-19 Thread Behdad Esfahbod
src/hb-gobject-structs.cc |1 - src/hb-gobject-structs.h |8 2 files changed, 9 deletions(-) New commits: commit 1ae6cdb365c15405500d4f50ec98016dde23a26b Author: Behdad Esfahbod Date: Tue May 19 17:42:30 2015 -0700 [gobject] Remove hb_language_t workarounds for g-i

[HarfBuzz] harfbuzz: Branch 'master'

2015-05-21 Thread Behdad Esfahbod
src/hb-ot-font.cc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit f1b44303df0712b433e35e1e1e75115c353b279e Author: Behdad Esfahbod Date: Thu May 21 14:00:15 2015 -0700 Fix unary minus operator applied to unsigned int Applying unary minus operator to

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

2015-06-01 Thread Behdad Esfahbod
Author: Behdad Esfahbod Date: Mon Jun 1 13:27:37 2015 -0700 Merge pull request #111 from brawer/since Fix "Since:" tags commit 01c3a88543850c87483fd8671044df53b368c520 Author: Sascha Brawer Date: Mon Jun 1 13:22:01 2015 +0200 Fix "Since:" tags

[HarfBuzz] harfbuzz: Branch 'master'

2015-06-03 Thread Behdad Esfahbod
src/hb-ot-font.h |4 1 file changed, 4 insertions(+) New commits: commit 8dacb7f8b46c70f22b70c78e0a8efc3309137650 Author: Behdad Esfahbod Date: Wed Jun 3 11:53:42 2015 -0700 Add include check to hb-ot-font.h diff --git a/src/hb-ot-font.h b/src/hb-ot-font.h index 7a8c04a

[HarfBuzz] harfbuzz: Branch 'master'

2015-06-03 Thread Behdad Esfahbod
util/options.cc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 16dac7eccf04bb357e95a8e4c18c8418dcfb4030 Author: Behdad Esfahbod Date: Wed Jun 3 12:07:46 2015 -0700 Fix build diff --git a/util/options.cc b/util/options.cc index a6e1752..0f92aec 100644 --- a

[HarfBuzz] harfbuzz: Branch 'master'

2015-06-10 Thread Behdad Esfahbod
src/hb-private.hh |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit a5e4f6d6088f6ed37fb1d68d3682b8eb4c9b46fe Author: Behdad Esfahbod Date: Wed Jun 10 10:57:46 2015 -0700 Fix warnings: "member call on null pointer of type"

Re: [HarfBuzz] Problems with TTB Japanese

2015-06-11 Thread Behdad Esfahbod
On 15-06-11 12:14 AM, Simon Cozens wrote: > Hello! I am working on adding vertical typesetting support to SILE, and > have come across a couple of issues. > > The first is that all characters with direction set to TTB seem to have > x_offset and y_offset positions set even when this does not make

[HarfBuzz] harfbuzz: Branch 'master'

2015-06-12 Thread Behdad Esfahbod
README |1 + 1 file changed, 1 insertion(+) New commits: commit 8ac446908ca75bea989414a0f551a6da8885bf52 Author: Behdad Esfahbod Date: Fri Jun 12 17:29:05 2015 -0700 Add Coverity Scan badge diff --git a/README b/README index d34bc74..dea1068 100644 --- a/README +++ b/README @@ -1,5

[HarfBuzz] harfbuzz: Branch 'master'

2015-06-12 Thread Behdad Esfahbod
.travis.yml | 13 + 1 file changed, 13 insertions(+) New commits: commit f0c80060763475aa34a18ecbef600b6811855cb6 Author: Behdad Esfahbod Date: Fri Jun 12 17:37:41 2015 -0700 [TravisCI] Hook up Coverity First try... diff --git a/.travis.yml b/.travis.yml index

[HarfBuzz] harfbuzz: Branch 'master'

2015-06-12 Thread Behdad Esfahbod
src/hb-common.cc |2 +- src/hb-ot-tag.cc |9 + 2 files changed, 10 insertions(+), 1 deletion(-) New commits: commit 351f68f4e01a107f62e4eb3458d7c7ae379939fb Author: Behdad Esfahbod Date: Fri Jun 12 17:46:06 2015 -0700 [bindings] Fix hb_language_get_default() and

[HarfBuzz] harfbuzz: Changes to 'refs/tags/0.9.41'

2015-06-18 Thread Behdad Esfahbod
Tag '0.9.41' created by Behdad Esfahbod at 2015-06-18 19:15 -0700 0.9.41 -BEGIN PGP SIGNATURE- Version: GnuPG v1 iEYEABECAAYFAlWDCqcACgkQn+4E5dNTERU4WQCfapEg9VWPPUcXZnS0BDS8OAb3 9bUAn2GEhr7IAzjcZjwGoxJXRsE2VCFe =UBFv -END PGP SIGNATURE- Changes since 0.9.40-69: --

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

2015-06-18 Thread Behdad Esfahbod
NEWS | 10 ++ configure.ac |2 +- util/Makefile.am | 28 ++-- 3 files changed, 25 insertions(+), 15 deletions(-) New commits: commit a6446d44e6d04e1eeea994682e29f9cb6265f7f6 Author: Behdad Esfahbod Date: Thu Jun 18 11:14:56 2015 -0700

[HarfBuzz] harfbuzz: Branch 'master' - 3 commits

2015-06-19 Thread Behdad Esfahbod
deletions(-) New commits: commit 5f13bbd9d4b0970851626e2ce3cf4ecb3cfde801 Author: Behdad Esfahbod Date: Fri Jun 19 13:31:49 2015 -0700 When removing default-ignorables, merge clusters Fixes test-shape, and: https://code.google.com/p/chromium/issues/detail?id=497578 diff --git a

[HarfBuzz] A couple new APIs

2015-06-19 Thread Behdad Esfahbod
Jonathan, others, I just fixed a bug where cluster merging was not happening when we wanted to hide default-ignorables and the font doesn't have a space glyph. I'll make a release for that on Monday. Testing welcome. Reminded me that I've wanted to add two new buffer properties… A while back I

Re: [HarfBuzz] fixing graphite rtl integration

2015-06-22 Thread Behdad Esfahbod
On 15-06-15 11:45 PM, Martin Hosken wrote: > Dear Behdad, > > The enclosed patch fixes rtl integration of graphite in hb-graphite2. It > handles the cluster reversals, etc. and has received a modicum of testing. Can you give us examples of cases this fixes? > The only differences I see between

[HarfBuzz] harfbuzz: Branch 'master'

2015-07-05 Thread Behdad Esfahbod
src/hb-unicode.cc |5 - src/hb-warning.cc | 10 -- 2 files changed, 15 deletions(-) New commits: commit 9ae156b76820d9079bae062e7e38c34a386d9bd2 Author: Behdad Esfahbod Date: Sun Jul 5 22:43:17 2015 +0100 Fix pragma usage https://bugs.freedesktop.org

[HarfBuzz] harfbuzz: Branch 'master'

2015-07-14 Thread Behdad Esfahbod
src/hb-common.cc |3 +++ src/hb-common.h |7 +++ 2 files changed, 10 insertions(+) New commits: commit 64a2726e2c6efce4379a7609024ec21eb4b5e4dc Author: Behdad Esfahbod Date: Wed Jul 15 01:36:39 2015 +0100 Add Unicode 8.0 scripts Based on https://bugzilla.mozilla.org

[HarfBuzz] harfbuzz: Branch 'master'

2015-07-14 Thread Behdad Esfahbod
src/hb-ot-shape-complex-arabic-table.hh | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) New commits: commit 41a29af8053782e3a9c6a96a394bd76ef6d42099 Author: Behdad Esfahbod Date: Wed Jul 15 01:39:57 2015 +0100 Update Arabic shaping table for Unicode

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

2015-07-22 Thread Behdad Esfahbod
src/hb-graphite2.cc | 81 ++-- 1 file changed, 54 insertions(+), 27 deletions(-) New commits: commit 97d7c3a100e2673279f066540229d229aaf0df78 Author: Behdad Esfahbod Date: Wed Jul 22 14:28:25 2015 +0100 [graphite2] Fix bunch of stuff

[HarfBuzz] harfbuzz: Branch 'master' - 4 commits

2015-07-22 Thread Behdad Esfahbod
-shape.cc| 39 ++--- util/options.cc |1 util/options.hh |3 ++ 8 files changed, 114 insertions(+), 23 deletions(-) New commits: commit 376d587f36b4ff10342ee6ca3bacd73532ea44c8 Author: Behdad Esfahbod Date: Wed Jul

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

2015-07-22 Thread Behdad Esfahbod
: Behdad Esfahbod Date: Wed Jul 22 17:41:31 2015 +0100 Refactor _hb_glyph_info_is_default_ignorable() diff --git a/src/hb-ot-layout-gsubgpos-private.hh b/src/hb-ot-layout-gsubgpos-private.hh index 842be88..99c4c83 100644 --- a/src/hb-ot-layout-gsubgpos-private.hh +++ b/src/hb-ot-layout

[HarfBuzz] harfbuzz: Branch 'master'

2015-07-22 Thread Behdad Esfahbod
src/hb-buffer-private.hh | 18 -- src/hb-ot-shape.cc | 44 +++- 2 files changed, 35 insertions(+), 27 deletions(-) New commits: commit 2dbd3d29d6548bd96fd976606ed689fac8ad8817 Author: Behdad Esfahbod Date: Wed Jul 22 18:28:39

[HarfBuzz] harfbuzz: Branch 'master'

2015-07-22 Thread Behdad Esfahbod
src/hb-ot-shape.cc | 25 +++-- 1 file changed, 19 insertions(+), 6 deletions(-) New commits: commit 8cfbc304ee563ec96e402beed34b10b6c0950a6a Author: Behdad Esfahbod Date: Wed Jul 22 18:41:10 2015 +0100 Fix hide-default-ignorables after

[HarfBuzz] harfbuzz: Branch 'master'

2015-07-22 Thread Behdad Esfahbod
|1 + 4 files changed, 3 insertions(+) New commits: commit 582069172c39326c7f94373793c656439a4c2b59 Author: Behdad Esfahbod Date: Wed Jul 22 18:44:59 2015 +0100 Add test case for deleting default ignorables with positioning diff --git a/test/shaping/fonts

[HarfBuzz] harfbuzz: Branch 'master' - 3 commits

2015-07-23 Thread Behdad Esfahbod
src/hb-ot-layout-gsubgpos-private.hh |4 ++-- src/hb-ot-layout.cc |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) New commits: commit d78463c8016ff1852233479a1ebde30c3bb6de6e Author: Behdad Esfahbod Date: Thu Jul 23 10:11:35 2015 +0100 Minor debug output

Re: [HarfBuzz] Visual Studio 9.0 SP1 Warnings

2015-07-23 Thread Behdad Esfahbod
Hi Eduardo, Jonathan and I checked the warnings. We don't think there's anything to fix there. The ones about functions like strncpy() *can* be unsafe if you are not careful, but we are, in HarfBuzz. :) The ones about 64-to-32 bit possible truncation are equally bogus, we know the values fit in

Re: [HarfBuzz] Visual Studio 9.0 SP1 Warnings

2015-07-23 Thread Behdad Esfahbod
On 15-07-23 10:47 AM, Eduardo Castineyra wrote: > Hi behdad, > > What about adding a pragma to specifically skip those warnings? I'll accept such patch, but I don't use VS so I can't add the pragmas myself. > Thanks! > > On 7/23/2015 11:33 AM, Beh

Re: [HarfBuzz] Visual Studio 9.0 SP1 Warnings

2015-07-23 Thread Behdad Esfahbod
On 15-07-23 11:05 AM, Eduardo Castineyra wrote: > Does that mean gcc doesn't throw those warnings ? I'm sure it has options to do. But at any rate, the pragmas that turn VS warnings off don't work in gcc as far as I know. > On 7/23/2015 11:58 AM, Behdad Esfahbod wrote: &g

[HarfBuzz] harfbuzz: Branch 'master' - 5 commits

2015-07-23 Thread Behdad Esfahbod
|4 22 files changed, 124 insertions(+), 42 deletions(-) New commits: commit c81d957a264539dfe3252f9a94ee066c4a44edf4 Author: Behdad Esfahbod Date: Thu Jul 23 12:50:48 2015 +0100 [test] Add tests for improved 'vert' feature diff --git a/test/shaping/Makefile

[HarfBuzz] harfbuzz: Changes to 'refs/tags/0.9.42'

2015-07-26 Thread Behdad Esfahbod
Tag '0.9.42' created by Behdad Esfahbod at 2015-07-26 18:30 -0700 0.9.42 -BEGIN PGP SIGNATURE- Version: GnuPG v1 iEYEABECAAYFAlW1GSUACgkQn+4E5dNTERXqAwCfb6YU+F3ZbT9b1vjaAuJMiU6J EfcAn0lquh10xA+NiYDtfTbbdv3VMW9v =uZ6n -END PGP SIGNATURE- Changes since 0.9.41-27: --

[HarfBuzz] harfbuzz: Branch 'master'

2015-07-26 Thread Behdad Esfahbod
NEWS | 12 configure.ac |2 +- 2 files changed, 13 insertions(+), 1 deletion(-) New commits: commit 2ed6be66703e6cc67f3a3746e197001dad3d9b74 Author: Behdad Esfahbod Date: Sun Jul 26 19:29:53 2015 +0200 0.9.42 diff --git a/NEWS b/NEWS index a5ac906..d079877

[HarfBuzz] harfbuzz: Changes to 'refs/tags/1.0.0'

2015-07-26 Thread Behdad Esfahbod
Tag '1.0.0' created by Behdad Esfahbod at 2015-07-26 22:39 -0700 1.0.0 -BEGIN PGP SIGNATURE- Version: GnuPG v1 iEYEABECAAYFAlW1U4QACgkQn+4E5dNTERUT7gCgk2VVCSpyo/o5TF1TuuMGJKin M3EAoK1YM4Pm/wC0Xm8My8Cd1+zZ8a7a =56Qs -END PGP SIGNATURE- Changes since 0.9.42-44: --

[HarfBuzz] harfbuzz: Branch 'master'

2015-07-26 Thread Behdad Esfahbod
NEWS| 10 ++ configure.ac|4 ++-- src/Makefile.am |2 +- 3 files changed, 13 insertions(+), 3 deletions(-) New commits: commit 260442346a5756c3538ee8fcbf157d1cddcf6f36 Author: Behdad Esfahbod Date: Sun Jul 26 23:39:10 2015 +0200 1.0.0 diff --git a/NEWS

[HarfBuzz] harfbuzz: Changes to 'refs/tags/1.0.1'

2015-07-27 Thread Behdad Esfahbod
Tag '1.0.1' created by Behdad Esfahbod at 2015-07-27 11:18 -0700 1.0.1 -BEGIN PGP SIGNATURE- Version: GnuPG v1 iEYEABECAAYFAlW2BVgACgkQn+4E5dNTERVg+gCdFPakBefkp9TSgo+aJnEyPN9G 0ggAniQBv5b1XPKdPIs2y8K3Hd/pI827 =Or7l -END PGP SIGNATURE- Changes since 1.0.0-1: --

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

2015-07-27 Thread Behdad Esfahbod
NEWS |9 - configure.ac |2 +- src/hb-ot-shape-complex-use.cc |2 +- 3 files changed, 10 insertions(+), 3 deletions(-) New commits: commit 9002c27b2f54bb5135db92045c0d770b47317577 Author: Behdad Esfahbod Date: Mon Jul 27 12:17:54

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

2015-08-03 Thread Behdad Esfahbod
test/api/Makefile.am |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 02d6439f420d959183dd446abd0b0118ee1ee061 Merge: 9002c27 160f635 Author: Behdad Esfahbod Date: Mon Aug 3 22:47:18 2015 +0300 Merge pull request #122 from RomainNaour/static-fix fix

Re: [HarfBuzz] harfbuz uniscribe backend and firefox.

2015-08-06 Thread Behdad Esfahbod
Hi Tom, On 15-08-07 01:15 AM, Tom Hindle wrote: > Hello, > > Recently I created a experimental patch for Firefox to allow use of harfbuz's > uniscribe backend, selectable via a about:config option. > > The patch can be seen here: > https://hg.mozilla.org/try/rev/08eef5e76a40 I'm curious. Why d

[HarfBuzz] harfbuzz: Branch 'master'

2015-08-07 Thread Behdad Esfahbod
src/Makefile.am |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit bd22a5cfae24b3b9253bccaeb139e698e74cd0c3 Author: Behdad Esfahbod Date: Fri Aug 7 11:13:27 2015 +0200 Bug 91559 - HarfBuzz 1.0.1: Inconsistent DLL files specified/created... Fixes https

Re: [HarfBuzz] Zero-width joiner has width

2015-08-08 Thread Behdad Esfahbod
On 15-08-02 07:42 PM, Simon Cozens wrote: > >> On Aug 2, 2015, at 18:08, Jonathan Kew wrote: >> Which suggests there's something odd about how you're using harfbuzz. > > Ok, that makes sense. And yes, I was ignoring the advance for glyphs and > instead using Freetype to return the glyph width.

Re: [HarfBuzz] Zero-width joiner has width

2015-08-08 Thread Behdad Esfahbod
On 15-08-08 04:50 PM, Simon Cozens wrote: > On 08/08/2015 15:25, Behdad Esfahbod wrote: >>> Ok, that makes sense. And yes, I was ignoring the advance for glyphs and >>> instead using Freetype to return the glyph width. I think I stole that bit >>> of code from xe

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

2015-08-08 Thread Behdad Esfahbod
al_category (&info[i] { position_cluster (plan, font, buffer, start, i); start = i; - last_cluster = buffer->info[i].cluster; } position_cluster (plan, font, buffer, start, count); } commit f3792342f670978cdc3f8512fb5e80314ca0678d Author: Behdad Esfahbod Date: Sat Aug 8 18:02:18

Re: [HarfBuzz] Zero-width joiner has width

2015-08-09 Thread Behdad Esfahbod
How do you measure? When I get time to build Sile, I'm first going to remove FreeType dep... On Aug 9, 2015 4:58 PM, "Simon Cozens" wrote: > On 09/08/2015 09:15, Simon Cozens wrote: > > OK, I'm now trying to set the scaling to the font upem, but I'm not > > getting that working either. > > After

Re: [HarfBuzz] Zero-width joiner has width

2015-08-09 Thread Behdad Esfahbod
On 15-08-09 10:15 AM, Simon Cozens wrote: > { > { > codepoint = 77, > depth = 0, > height = 4.6875, > name = "m", > x_advance = 514, > }, > } > > Should be 1645, right? I am not sure where 514 is coming from. So what was the problem? ___

[HarfBuzz] harfbuzz: Branch 'master'

2015-08-09 Thread Behdad Esfahbod
src/hb-ot-shape-normalize.cc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit c7dfe316f8c0fc04b7976fca5e58eb46d91b4821 Author: jfkthame Date: Fri Aug 7 17:55:03 2015 +0100 Don't rely on .cluster in _hb_ot_shape_normalize() Fixes https://github.com/behd

Re: [HarfBuzz] finer-grained clustering options break behavior :(

2015-08-09 Thread Behdad Esfahbod
On 15-08-02 01:32 PM, Jonathan Kew wrote: > Hey Behdad, > > In https://bugzilla.mozilla.org/show_bug.cgi?id=729993, we'd like to switch > Gecko to use HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS, so as to enable > independent mark coloring. However, it turns out this breaks other aspects of > ren

[HarfBuzz] harfbuzz: Branch 'master'

2015-08-11 Thread Behdad Esfahbod
configure.ac | 12 +--- src/Makefile.am| 15 --- src/harfbuzz.pc.in |2 ++ 3 files changed, 23 insertions(+), 6 deletions(-) New commits: commit 539a610e2e72375e598ab29fd390ed9ec93816d5 Author: Behdad Esfahbod Date: Tue Aug 11 12:58:49 2015 +0200 Add

Re: [HarfBuzz] harfbuzz.pc and static linking

2015-08-11 Thread Behdad Esfahbod
Thanks Werner. Should be fixed in master. On my machine pkg-config crashes if I specify --static. Please test. On 15-08-11 08:23 AM, Werner LEMBERG wrote: > > Behdad, > > > it seems to me that harfbuzz.pc returns incorrect values for static > linking. Building and installing current git usi

Re: [HarfBuzz] harfbuzz.pc and static linking

2015-08-11 Thread Behdad Esfahbod
On 15-08-11 12:59 PM, Behdad Esfahbod wrote: > Thanks Werner. Should be fixed in master. On my machine pkg-config crashes > if I specify --static. Please test. Oh, I suppose it doesn't like the recursive dependency between HarfBuzz and FreeType... You'd think pkg-config knows

Re: [HarfBuzz] harfbuzz.pc and static linking

2015-08-11 Thread Behdad Esfahbod
On 15-08-11 01:01 PM, Behdad Esfahbod wrote: > On 15-08-11 12:59 PM, Behdad Esfahbod wrote: >> > Thanks Werner. Should be fixed in master. On my machine pkg-config >> > crashes >> > if I specify --static. Please test. > Oh, I suppose it doesn't like the

[HarfBuzz] harfbuzz: Branch 'master'

2015-08-17 Thread Behdad Esfahbod
src/hb-ot-shape-complex-use.cc |8 1 file changed, 8 deletions(-) New commits: commit 2b646fa07f5f9d4d10d563a91d22a2750b5fc771 Author: Behdad Esfahbod Date: Mon Aug 17 16:03:28 2015 +0200 Remove unused function diff --git a/src/hb-ot-shape-complex-use.cc b/src/hb-ot-shape

[HarfBuzz] harfbuzz: Branch 'master'

2015-08-18 Thread Behdad Esfahbod
src/hb-coretext.cc | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) New commits: commit 50ad7788eeb7160caef4ec78e65c7c630e601b06 Author: Behdad Esfahbod Date: Tue Aug 18 10:22:16 2015 +0100 [coretext] Remove assert that kicks in on Mac OS 10.6 http

Re: [HarfBuzz] harfbuzz.pc and static linking

2015-08-18 Thread Behdad Esfahbod
On 15-08-14 08:32 AM, Werner LEMBERG wrote: > > Should be fixed in master. On my machine pkg-config crashes if > I specify --static. Please test. > > For me it works, thanks! > >>> Oh, I suppose it doesn't like the recursive dependency between >>> HarfBuzz and FreeType... You'd think

Re: [HarfBuzz] towards an OT debugger

2015-08-18 Thread Behdad Esfahbod
On 15-03-25 09:59 AM, Martin Hosken wrote: > Dear Behdad, > > Thanks for your help in getting the debug output from hb. I've been playing > and have some thoughts about how to use the existing debug framework to help > with font development. > > 1. It would be great if the HB_DEBUG variable con

Re: [HarfBuzz] Inconsistent shaping across systems

2015-08-18 Thread Behdad Esfahbod
On 15-08-17 08:51 AM, Simon Cozens wrote: > More details at https://github.com/simoncozens/sile/issues/164 , but in > a nutshell, using Noto Sans CJK JP and TTB direction, Ubuntu 12 gives: > > $ md5sum ~/.fonts/NotoSansCJKjp-Light.otf > f269c193b1ef0b739030d56386670c3f /home/simon/.fonts/NotoSan

[HarfBuzz] harfbuzz: Branch 'master'

2015-08-18 Thread Behdad Esfahbod
2c8b3b2e5312c9858584f568b1528c57e5bb8a10 Author: Behdad Esfahbod Date: Tue Aug 18 14:36:43 2015 +0100 [debug] Print lookup index in debug-apply output diff --git a/src/hb-ot-layout-gpos-table.hh b/src/hb-ot-layout-gpos-table.hh index 69609d0..da9506c 100644 --- a/src/hb-ot-layout-gpos-table.hh +++ b/src/hb-ot

[HarfBuzz] harfbuzz: Branch 'master'

2015-08-18 Thread Behdad Esfahbod
src/Makefile.am |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) New commits: commit ddd6bf12f1cabaa298feed820313483b9893528c Author: Behdad Esfahbod Date: Tue Aug 18 15:55:09 2015 +0100 Don't declare dependency on freetype in harfbuzz.pc See comments. diff

Re: [HarfBuzz] harfbuzz.pc and static linking

2015-08-18 Thread Behdad Esfahbod
I disabled the FreeType dependency for now. Will re-enable in a year or two. Was too lazy to file a bug against Ubuntu 14.04 re shipping ancient pkg-config... On 15-08-14 08:32 AM, Werner LEMBERG wrote: > > Should be fixed in master. On my machine pkg-config crashes if > I specify --s

[HarfBuzz] harfbuzz: Branch 'master'

2015-08-18 Thread Behdad Esfahbod
Android.mk |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) New commits: commit d104415e4c1e0f9140f794cd8d09c6460c63e966 Author: Behdad Esfahbod Date: Tue Aug 18 17:33:34 2015 +0100 [Android.mk] Update for SEA removal and USE addition diff --git a/Android.mk b/Android.mk index

Re: [HarfBuzz] Harfbuzz 1.0.1 win32 build.

2015-08-18 Thread Behdad Esfahbod
On 15-07-31 12:26 AM, Tom Hindle wrote: > Hi, > > Previously I have been testing with harfbuzz-0.9.27-win32 and I just tried > harfbuzz-1.0.1-win32. > > I noticed two possible defects: > > 1. hg-view.exe depends on libharfbuzz-1.dll but zip file contains: > libharfbuzz-0.dll > Renaming to libha

<    2   3   4   5   6   7   8   9   10   11   >