History log of /external/harfbuzz_ng/src/hb-shape.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6e69200a2aadbc6bba35ffb4a058c14286b84f46 25-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Fix snprintf() format

Patch from Maks Naumov.
Fixes https://github.com/behdad/harfbuzz/pull/22
/external/harfbuzz_ng/src/hb-shape.cc
5c5cdbbdf8be231c433e21b050a6c6991d327b61 25-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Make sure broken feature strings are not partially parsed

If user doesn't check hb_feature_from_string() return value, we
don't want them to end up see the partially-parsed feature.
/external/harfbuzz_ng/src/hb-shape.cc
a795fe637846e0d9561d2f7cdd84cfafd58b23a7 25-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Allow quotation marks around feature tag in hb_feature_from_string()

With this, I believe we accept CSS feature strings completely.
/external/harfbuzz_ng/src/hb-shape.cc
3f6461847412e78bcddc8eba97200f3afcde869a 25-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Allow space at the end of feature string with values, eg 'dlig=1 '
/external/harfbuzz_ng/src/hb-shape.cc
f31f7d2259dd8edffc070af55938cb7aa23514c1 25-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-shape.cc
60cb18a5dea2d30793f89e80995bb729c014864a 25-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Allow on/off in hb_feature_from_string()

We now allow things like "dlig on" / "dlig=on".
/external/harfbuzz_ng/src/hb-shape.cc
d9e618eca9e01c2eb6db65504af3f73be370a1e7 25-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Remove duplicate definition of ISALNUM

It's defined in hb-private.h already.
/external/harfbuzz_ng/src/hb-shape.cc
2ee5f665ded86147acedc400153c0b3a90fe07c6 25-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Fix parsing of features like "- liga" (with the space)
/external/harfbuzz_ng/src/hb-shape.cc
e15fa7a8cffbe6a67b1048d7b87b7df77d8b1686 25-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Do not require the '=' in hb_feature_from_string()

Towards accepting CSS font-feature-settings strings.
/external/harfbuzz_ng/src/hb-shape.cc
f4fe9baefdb7e0ff9946f88b6f4b55738fa30cdf 25-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Reject tags longer than 4 chars in hb_feature_from_string()
/external/harfbuzz_ng/src/hb-shape.cc
288f2899979bcc9e68f8115cb76e3271ed0e17bc 06-Sep-2013 Behdad Esfahbod <behdad@behdad.org> [docs/introspection] More annotations
/external/harfbuzz_ng/src/hb-shape.cc
38b8b40526a85f33521542e24d1e0c82588efc85 27-Aug-2013 Behdad Esfahbod <behdad@behdad.org> Fix possible snprintf OOM

https://bugzilla.redhat.com/show_bug.cgi?id=1001645
/external/harfbuzz_ng/src/hb-shape.cc
7235f33f9e5e031622a00a84f4b2e98f16803579 10-Jun-2013 Behdad Esfahbod <behdad@behdad.org> Fix misc warnings reported by cppcheck

https://bugs.freedesktop.org/show_bug.cgi?id=65544
/external/harfbuzz_ng/src/hb-shape.cc
20b817ac21147e0a8edbf23ef071c2f4ce6c2b95 28-Feb-2013 Behdad Esfahbod <behdad@behdad.org> [buffer] Implement buffer deserialization for format=json

Using a ragel machine.
/external/harfbuzz_ng/src/hb-shape.cc
847794e929831750e97525137ab5e285ccd1064e 27-Feb-2013 Behdad Esfahbod <behdad@behdad.org> [buffer] Implement buffer deserialization for format=text

Using a ragel machine.
/external/harfbuzz_ng/src/hb-shape.cc
8da51112696ec8641d7dd9184b7ab1dd48458813 27-Feb-2013 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-shape.cc
c462b32dcb883a7aca066af24c4d28c7a2b7fa28 15-Feb-2013 Behdad Esfahbod <behdad@behdad.org> Disable automatic segment properties guessing

Before, if one called hb_shape() without setting script, language, and
direction on the buffer, hb_shape() was calling
hb_buffer_guess_segment_properties() on the user's behalf to guess
these.

This is very dangerous, since any serious user of HarfBuzz must set
these properly (specially important is direction). So now, we don't
guess properties by default. People not setting direction will get
an abort() now. If the old behavior is desired (fragile, good for
simple testing only), users can call
hb_buffer_guess_segment_properties() on the buffer just before calling
hb_shape().
/external/harfbuzz_ng/src/hb-shape.cc
e9171af55cc6a402eb20db4ea74c86a0b1e70e85 30-Jan-2013 Behdad Esfahbod <behdad@behdad.org> Bug 60053 - hb-common.cc:181:6: warning: ‘void free_langs()’ defined but not used
/external/harfbuzz_ng/src/hb-shape.cc
3f82f8ff07a9d16a7c047129658c1bbedfdb5436 16-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties()
/external/harfbuzz_ng/src/hb-shape.cc
1c7e55511a870f2689680ca8f977e00879f3b3e3 13-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Minor fix

Ouch
/external/harfbuzz_ng/src/hb-shape.cc
96fdc04e5c6daafce3d45e7508418e4db94df44c 07-Sep-2012 Behdad Esfahbod <behdad@behdad.org> Add hb_buffer_[sg]et_content_type

And hb_buffer_content_type_t and enum values.
/external/harfbuzz_ng/src/hb-shape.cc
e30ebd2794b37bd8ec716a258d5cb017fb1dfadc 07-Sep-2012 Behdad Esfahbod <behdad@behdad.org> Add hb_feature_to/from_string()
/external/harfbuzz_ng/src/hb-shape.cc
5393e3a62ba09fd7bcf3767b36225c8f49badb9d 02-Aug-2012 Behdad Esfahbod <behdad@behdad.org> [OT] Minor refactoring
/external/harfbuzz_ng/src/hb-shape.cc
a8842e4a448efb30f3f2f3c628d6dc4824829726 01-Aug-2012 Behdad Esfahbod <behdad@behdad.org> Remove some TODO items
/external/harfbuzz_ng/src/hb-shape.cc
2f87cebe1062c7007021ebd05c1664e60da80825 27-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Implement shape_plan caching

Should give us some performance boost.
/external/harfbuzz_ng/src/hb-shape.cc
b6b7ba1313bf686e6ed567183466104c90504a67 27-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Switch old and uniscribe backends to shape_plan
/external/harfbuzz_ng/src/hb-shape.cc
c32c096a429da3e64896cf42ff5ab8c775d3c2ec 27-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Switch to shape_plan

Not optimized yet. Eats babies. And no shaper uses the shape_plan.
/external/harfbuzz_ng/src/hb-shape.cc
5b95c148cc485f79fd7018bc4520b4cb5f728a18 27-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Start implementing shape_plan
/external/harfbuzz_ng/src/hb-shape.cc
bd26b4d21f59312805d294f46f15182adbcc47da 27-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-shape.cc
027857d0412477fb4427dcb8a8c45287c272e143 26-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Start adding a unified shaper access infrastructure

Add global shape_plan. Unused so far.
/external/harfbuzz_ng/src/hb-shape.cc
8fe4c7405b922cf0f936a46a9baedf4885b05254 25-Jul-2012 Behdad Esfahbod <behdad@behdad.org> [hb-old] Add HarfBuzz.old shaper

Choose using shaper name "old".
/external/harfbuzz_ng/src/hb-shape.cc
aa6d849838d5231465ae1a25a4dd5ea1e9380ff9 24-Jul-2012 Jonathan Kew <jfkthame@gmail.com> [CoreText] Add basic Core Text backend for comparison with our native shaping

Does not attempt to handle clusters in a Uniscribe- or HarfBuzz-compatible way;
just returns the original string indexes that CT maintains. These may even be
out-of-order in the case of reordrant glyphs.
/external/harfbuzz_ng/src/hb-shape.cc
97aa0b738a33b73a3f9763dd2950f2dd39f596ed 24-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Minor const correctness shuffling
/external/harfbuzz_ng/src/hb-shape.cc
6095de1635441af16340c7b2c5a6b4c531ec242f 07-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Fix clang warning with NO_MT path
/external/harfbuzz_ng/src/hb-shape.cc
0594a2448440208efa0acac9a5d8d52d43108289 06-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Cleanup TRUE/FALSE vs true/false
/external/harfbuzz_ng/src/hb-shape.cc
f64b2ebf82c5f355cd95806478cd30c00b1a2731 06-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Remove last static initializer

We're free! Lazy or immediate...
/external/harfbuzz_ng/src/hb-shape.cc
a5e40542ab9508f0ba6f822f1262d93fccb71f45 17-Apr-2012 Behdad Esfahbod <behdad@behdad.org> Make font immutable in hb_shape()
/external/harfbuzz_ng/src/hb-shape.cc
6bd9b479b8b2befbb0847282e93beade197c8038 12-Apr-2012 Behdad Esfahbod <behdad@behdad.org> Hide backend-specific shape functions

Also remove shaper_options argument to hb_shape_full(). That was
unused and for "future". Let it go.

More shaper API coming in preparation for plan/planned API.
/external/harfbuzz_ng/src/hb-shape.cc
cd2b901027bd154e31aa509c0cb2d86633e36398 24-Aug-2011 Behdad Esfahbod <behdad@behdad.org> [graphite] Minor
/external/harfbuzz_ng/src/hb-shape.cc
1f49cf32c96cb45a4d8ba2c210aeb7a8076b4762 24-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Add graphite2 integration from Martin Hosken

To be modified, a lot.
/external/harfbuzz_ng/src/hb-shape.cc
0501573deda3a8dcdfcea491392f554f21ed0154 10-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Fix const correctness in the API
/external/harfbuzz_ng/src/hb-shape.cc
33ccc77902660ed4b49184e5ec99f4fd0ef63175 09-Aug-2011 Behdad Esfahbod <behdad@behdad.org> [API] Make set_user_data() functions take a replace parameter

We need this to set data on objects safely without worrying that some
other thread unsets it by setting it at the same time.
/external/harfbuzz_ng/src/hb-shape.cc
670c873499f7f03fdfc07b8a0567b041628c6ab0 08-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Fix shaper ordering logic
/external/harfbuzz_ng/src/hb-shape.cc
cc797e0d5368b2f5732d77eb3e3882283bd87cf7 08-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-shape.cc
ff199ba356f0eb5bc6252203eea18a1d1fd28934 07-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Fix shaper_list manipulation, aaaaaaaaaaaaargh
/external/harfbuzz_ng/src/hb-shape.cc
9da554504e30a326fc57b28cdb0e57108bfa9555 06-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Add hb_shape_list_shapers()
/external/harfbuzz_ng/src/hb-shape.cc
c62a8f10f3b9a4ac3ac6b686464ac734ebfa2f7f 06-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Free all static memory upon exit
/external/harfbuzz_ng/src/hb-shape.cc
c4d63ef744f79701458ab7af2055afb87ffe8de3 05-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Fix env parsing code

Also changed the separator to comma instead of colon.
/external/harfbuzz_ng/src/hb-shape.cc
3ca6c4ecc299295b6682fa2b6b9f83b213223bad 05-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Change hb_shape() API back to what it was, add hb_shape_full()

I disliked changing hb_shape() API, and disliked the fact that it was
returning a bool now. So, reverted. Added new API for the extra
functionality.
/external/harfbuzz_ng/src/hb-shape.cc
02aeca985b570763342c35e99af90025bfa088d5 05-Aug-2011 Behdad Esfahbod <behdad@behdad.org> [API] Changes to main shape API

hb_shape() now accepts a shaper_options and a shaper_list argument.
Both can be set to NULL to emulate previous API. And in most situations
they are expected to be set to NULL.

hb_shape() also returns a boolean for now. If shaper_list is NULL, the
return value can be ignored.

shaper_options is ignored for now, but otherwise it should be a
NULL-terminated list of strings.

shaper_list is a NULL-terminated list of strings. Currently recognized
strings are "ot" for native OpenType Layout implementation, "uniscribe"
for the Uniscribe backend, and "fallback" for the non-complex backend
(that will be implemented shortly). The fallback backend never fails.

The env var HB_SHAPER_LIST is also parsed and honored. It's a
colon-separated list of shaper names. The fallback shaper is invoked if
none of the env-listed shapers succeed.

New API hb_buffer_guess_properties() added.
/external/harfbuzz_ng/src/hb-shape.cc
c605bbbb6d4b2a98b1f40ca818760088d991f7d1 05-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Remove C++ guards from source files

Where causing issues for people with MSVC.
/external/harfbuzz_ng/src/hb-shape.cc
c4641723fbf6532b2e80a662e15573b31276bc73 08-Jul-2011 Behdad Esfahbod <behdad@behdad.org> [API] Add compose() and decompose() unicode funcs, rename other ones

Add compose() and decompose() unicode funcs. These implement
pair-wise canonical composition/decomposition.

The glib/icu implementations are lacking for now. We are adding
API for this to glib, but I cannot find any useful API in ICU.
May end of implementing these in-house.

Changed all unicode_funcs callback names to remove the "_get" part.
Eg, hb_unicode_get_script_func_t is now hb_unicode_script_func_t,
and hb_unicode_get_script() is hb_unicode_script() now.
/external/harfbuzz_ng/src/hb-shape.cc
891c4755baae6cd59fad59d27fd8933e5f548a74 08-Jul-2011 Behdad Esfahbod <behdad@behdad.org> Humm, undo some shuffling

In preparation for adding more advanced unicode funcs.
/external/harfbuzz_ng/src/hb-shape.cc
1a64f6e19a4b483e278c85e4941107be2f71b0a4 14-May-2011 Behdad Esfahbod <behdad@behdad.org> [API] Add HB_LANGUAGE_INVALID
/external/harfbuzz_ng/src/hb-shape.cc
34fb5521a5fbb6b95ceff4bbac42a62628bc9f31 06-May-2011 Behdad Esfahbod <behdad@behdad.org> [API] Add hb_language_get_default()

It uses locale information to detect default language. It's used by
hb_shape() whenever language is not set on the buffer.

Not sure how to properly test it in the test suite. Tested by observing
that with DejaVu Sans we select the proper local glyph version for U+431
under Serbian locale. See http://www.pango.org/ScriptGallery
/external/harfbuzz_ng/src/hb-shape.cc
72657e4ce757dcb055a8db7291b68f96f0d34bfb 03-May-2011 Behdad Esfahbod <behdad@behdad.org> [API] Make hb_font_create() take a face and reference it
/external/harfbuzz_ng/src/hb-shape.cc
2409d5f8d7dd8b535ce5ea29e933f7db27d33793 21-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Update Copyright headers
/external/harfbuzz_ng/src/hb-shape.cc
c57d454accff66e5f2c58006e8fb40bc020b6182 21-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Rename all private sources and headers to C++ files

So we can liberally use the simple features of C++ that parts of the
codebase is already using.
/external/harfbuzz_ng/src/hb-shape.cc
c035812feb0d385a9e8c334631738e4915912c71 20-Apr-2011 Behdad Esfahbod <behdad@behdad.org> [API] Rename hb_face_get_table() to hb_face_reference_table()

That correctly reflects the reference ownership transfer happening.
/external/harfbuzz_ng/src/hb-shape.cc
fb194b8794898f51eb596fa4092c26606889d376 20-Apr-2011 Behdad Esfahbod <behdad@behdad.org> unicode: Cleanup implementation
/external/harfbuzz_ng/src/hb-shape.cc
2fd0c577e322ccbf762927bc4600b3ea31db4c80 20-Apr-2011 Ryan Lortie <desrt@desrt.ca> [API] unicode: rework virtual functions for subclassing

Unicode data providers can now be subclassed, including support for
chain-up. The interface should now be nicely bindable, as well.

Also fix glib unicode funcs that where broken after hb_script_t
changes. Nicely caught by the test-unicode.c added in this commit.
/external/harfbuzz_ng/src/hb-shape.cc
62879eebd9965179af8602ba29ac0a64a739b757 19-Apr-2011 Behdad Esfahbod <behdad@behdad.org> [API] Use ISO 15924 tags for hb_script_t

This simplifies the code, reduces static data, and makes the design
more extensible to future additions of new scripts.
/external/harfbuzz_ng/src/hb-shape.cc
5814dfa3f5aa41bc3df06b78980d57d7bea0ba58 15-Apr-2011 Behdad Esfahbod <behdad@behdad.org> Cosmetic
/external/harfbuzz_ng/src/hb-shape.cc
3286fc0e9adc3f2874c9409e7fdb09e4d2b7dda1 16-Mar-2011 Behdad Esfahbod <behdad@behdad.org> 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.
/external/harfbuzz_ng/src/hb-shape.cc
acdba3f90b232fc12fcb200dca2584481b339118 23-Jul-2010 Behdad Esfahbod <behdad@behdad.org> Prefer C linkage
/external/harfbuzz_ng/src/hb-shape.cc
b485da0b719cb03cc33da57802c5151301664c2f 27-May-2010 Behdad Esfahbod <behdad@behdad.org> Disable Graphite as it crashes all over the place...
/external/harfbuzz_ng/src/hb-shape.cc
15c7379c16dbb9ee8ed1c0333ca7492532ce8423 26-May-2010 Behdad Esfahbod <behdad@behdad.org> Revert "Merge remote branch 'martin/master'"

This reverts commit 80af2812fb3b231ddcb4608ec13c6038a681c818, reversing
changes made to c442672ec2fb83ed41f3994b3aa4f92a097664ab.
/external/harfbuzz_ng/src/hb-shape.cc
1432ab15c163eb0b5be3de66a4cb3df15ad73500 22-May-2010 Martin Hosken <martin_hosken@sil.org> Add graphical output to hbtestfont
/external/harfbuzz_ng/src/hb-shape.cc
ca663bb23c16f6a1f04efa6e10dad0e3e7c260a3 21-May-2010 Behdad Esfahbod <behdad@behdad.org> Move main shaper code into hb_ot_shape()
/external/harfbuzz_ng/src/hb-shape.cc
305ba8671553cd955c20a54db622666c0bb02532 21-May-2010 Behdad Esfahbod <behdad@behdad.org> Import Graphite shaping backend by Martin Hosken
/external/harfbuzz_ng/src/hb-shape.cc
ca54a12658510f9aa0b2db82f20a8fac230d6bb6 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-shape.cc
36b73c80df91e96492357c6da945e081e9046a93 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Shortening buffer accessors: rename buffer->in_pos to buffer->i
/external/harfbuzz_ng/src/hb-shape.cc
6960350be97f24e97140391025b56369c393a3df 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Shortening buffer accessors: rename buffer->in_length to buffer->len
/external/harfbuzz_ng/src/hb-shape.cc
1b621823f3e31b48c80cc8b0691dfa873ba086cd 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Shortening buffer accessors: rename buffer->positions to buffer->pos
/external/harfbuzz_ng/src/hb-shape.cc
7e7007a1c9bf2c07a8369752126ece8fa6164248 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Shortening buffer accessors: rename buffer->in_string to buffer->info
/external/harfbuzz_ng/src/hb-shape.cc
7e53ebe478597778c25c197ff9f0cb379f1d0043 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Remove the IN_CURGLYPH() macro
/external/harfbuzz_ng/src/hb-shape.cc
281f59b4fb16f7c73767eb042a91f70f4c109b3a 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Remove IN_INFO() and IN_NEXTGLYPH() macros
/external/harfbuzz_ng/src/hb-shape.cc
6e489cdf7623ac627d06d59a80ecea03ca97dc1b 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Remove the IN_GLYPH() macro
/external/harfbuzz_ng/src/hb-shape.cc
01feb74c78a3a302fa3472a0be7b2a1d52fd1ba3 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Remove the IN_CLUSTER() macro
/external/harfbuzz_ng/src/hb-shape.cc
3109375b849f340b4807724218010c53dea58082 15-May-2010 Behdad Esfahbod <behdad@behdad.org> Remove POSITION() and CURPOSITION() macros
/external/harfbuzz_ng/src/hb-shape.cc
22da7fd94d6318c52df69d70470a85464ffc533d 13-May-2010 Behdad Esfahbod <behdad@behdad.org> Rename a few files to be C++ sources

In anticipation for buffer revamp coming.
/external/harfbuzz_ng/src/hb-shape.cc