History log of /external/harfbuzz_ng/util/options.hh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8650def73500204b79c651f58b1be3f94a41973d 05-Jul-2014 Behdad Esfahbod <behdad@behdad.org> [util] Add option to set font function implementation to use

Supports ft and ot right now. hb-view currently not rendering with ot.
Will fix after some clean up.
/external/harfbuzz_ng/util/options.hh
2306ad46dce1c53b0b1bfabdc04d70e3b99eabb7 05-Jul-2014 Behdad Esfahbod <behdad@behdad.org> [util] Fix memory issue
/external/harfbuzz_ng/util/options.hh
ea5e8a02eb83ad19f3009b0008893f77ce113118 19-Mar-2014 Behdad Esfahbod <behdad@behdad.org> [util] Plug minor leak
/external/harfbuzz_ng/util/options.hh
c2bc818706df56022c8bb922df2b741cb120f7e4 27-Oct-2013 Behdad Esfahbod <behdad@behdad.org> Work with old and new glib

Avoids "deprecated" warnings.
/external/harfbuzz_ng/util/options.hh
4dc798de19c767b91fd3025c85593fa6809d1340 27-Aug-2013 Behdad Esfahbod <behdad@behdad.org> Add hb-deprecated.h, and rename a couple enum values

Add deprecated alias for old name.
/external/harfbuzz_ng/util/options.hh
50067e280f381918b8e90b26df9e7bf20f98f0bd 11-Apr-2013 Behdad Esfahbod <behdad@behdad.org> [util] Add --num-iterations

Useful for profiling shapers.
/external/harfbuzz_ng/util/options.hh
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/util/options.hh
e2aab4b5db88c368c11cee81368b9ad41399e585 12-Feb-2013 Behdad Esfahbod <behdad@behdad.org> Improve checks for setmode()

As reported by Jonathan, OS X has setmode() that is something other
than what setmode() is on Win32. So, limit invocation to Windows
platforms only.
/external/harfbuzz_ng/util/options.hh
bc76449f51f20491a4540b4f240f5a3e0dcb20fe 01-Feb-2013 Behdad Esfahbod <behdad@behdad.org> Use setmode() instead of _setmode()

Looks like Cygwin / MSVC declare it that way, and it still works on
MinGW32 cross.
/external/harfbuzz_ng/util/options.hh
1172dc736280566426eb6dade1a886b2a0ca9aa4 07-Jan-2013 Behdad Esfahbod <behdad@behdad.org> Rename hb_buffer_clear() to hb_buffer_clear_contents()

The previous name was clashing with harfbuzz.old. There are systems
that need to link both...

Clash-free now again.
/external/harfbuzz_ng/util/options.hh
9815a88111072aa51e78e258c5f660993b47d4df 21-Dec-2012 Behdad Esfahbod <behdad@behdad.org> [util] List supported output formats in --help output
/external/harfbuzz_ng/util/options.hh
6bad092aa87bc3e6bbf0b9faf07693e6ebbe55f2 21-Dec-2012 Behdad Esfahbod <behdad@behdad.org> [util] Default to "text" output format in hb-shape

If you say:

hb-shape font.ttf text --output-file out.txt

This was previously failing:

Unknown output format `txt'; supported formats are: TEXT / JSON

Now we simply fallback to TEXT if no explicit format was requested.
/external/harfbuzz_ng/util/options.hh
f9edf1672511c3bcc3796cc79578ffea43b2bda1 15-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Add buffer serialization / deserialization API

Two output formats for now: TEXT, and JSON. For example:

hb-shape --output-format=json

Deserialization API is added, but not implemented yet.
/external/harfbuzz_ng/util/options.hh
407f80d62589774f845ef1a6a0a7d841b09d57c6 14-Nov-2012 Behdad Esfahbod <behdad@behdad.org> [util] Add --bot / --eot / --preserve-default-ignorables
/external/harfbuzz_ng/util/options.hh
321f73c16efa0730c96e001d65268f4927a0f735 14-Nov-2012 Behdad Esfahbod <behdad@behdad.org> [util] Add --text-before and --text-after to hb-shape / hb-view

Use with Arabic, for example, to see the effect on joining.
/external/harfbuzz_ng/util/options.hh
ade7459ea7c75b4f33f7cfa43dd5bdfa0c18d6d5 07-Aug-2012 Behdad Esfahbod <behdad@behdad.org> [util] Fix leaks
/external/harfbuzz_ng/util/options.hh
39b17837b4064d59c18cebb49c1c0b5b8cc0c117 17-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Add hb_buffer_normalize_glyphs() and hb-shape --normalize-glyphs

This reorders glyphs within the cluster to a nominal order. This should
have no visible effect on the output, but helps with testing, for
getting the same hb-shape output for visually-equal glyphs for each
cluster.
/external/harfbuzz_ng/util/options.hh
0594a2448440208efa0acac9a5d8d52d43108289 06-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Cleanup TRUE/FALSE vs true/false
/external/harfbuzz_ng/util/options.hh
c1885483120d4b686b2fe95b217dce7248e040b1 04-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Add --verbose to hb-shape

Just turns all --show-* options on.
/external/harfbuzz_ng/util/options.hh
ae62166519291057316a9d15cea3f1570fcb5eaf 02-Jun-2012 Behdad Esfahbod <behdad@behdad.org> [util] Minor
/external/harfbuzz_ng/util/options.hh
5db0683a822f70c914468430cda6487cee740ae3 02-Jun-2012 Behdad Esfahbod <behdad@behdad.org> [util] Make hb-shape continue shaping other lines if shapers failed
/external/harfbuzz_ng/util/options.hh
c87b317f0eb118e67134e8e419a6d65e0fa40d30 16-May-2012 Behdad Esfahbod <behdad@behdad.org> [util] Add hb-ot-shape-closure tool

Computes all the glyphs that may be generated given a font and
set of Unicode characters.

The order of the Unicode characters is irrelevant.

Sample output:

behdad:util 0$ ./hb-ot-shape-closure Doulos\ SIL\ Regular.ttf f
f f_f

behdad:util 0$ ./hb-ot-shape-closure Doulos\ SIL\ Regular.ttf i
i

behdad:util 0$ ./hb-ot-shape-closure Doulos\ SIL\ Regular.ttf fi
f f_i f_f_i f_f i

behdad:util 0$ ./hb-ot-shape-closure DroidNaskh-Regular.ttf ب
uni0628 uni0628.init uni0628.medi uni0628.fina

behdad:util 0$ ./hb-ot-shape-closure DroidNaskh-Regular.ttf ا
uni0627 uni0627.fina

behdad:util 0$ ./hb-ot-shape-closure DroidNaskh-Regular.ttf با
uni0627 uni0627.fina uni0628 uni0628.init uni0628.medi uni0628.fina

behdad:util 0$ ./hb-ot-shape-closure DroidNaskh-Regular.ttf با --no-glyph-names
5 6 133 134 135 136
/external/harfbuzz_ng/util/options.hh
912c5ff80a255edb8145b9db69e2ed828f8eab5c 13-May-2012 Behdad Esfahbod <behdad@behdad.org> Reduce default margin
/external/harfbuzz_ng/util/options.hh
52e7b1424a3613122e9ca30879298df42733acda 13-May-2012 Behdad Esfahbod <behdad@behdad.org> [util] Make hb-view print out Unicode art if stdout is a terminal
/external/harfbuzz_ng/util/options.hh
30874b4819a99cc84fa39e794266685e1b8735d2 12-May-2012 Behdad Esfahbod <behdad@behdad.org> [util] Make tools default to stdin if no text is provided

One less argument to type in typical testing workflow!
/external/harfbuzz_ng/util/options.hh
2097951110e33fe091ed9515ae77e2683c46c889 12-May-2012 Behdad Esfahbod <behdad@behdad.org> [util] Change default font size of hb-view to 256

Most common usecase of hb-view is to test rendering of short words for
testing / inspection. Not having to type "--font-size 150" each time
isn't such a bad idea...
/external/harfbuzz_ng/util/options.hh
95cefdf96efe43a44133aa8a186155cf4e63e2b7 17-Apr-2012 Behdad Esfahbod <behdad@behdad.org> Add --utf8-clusters

Also fix cairo cluster generation.
/external/harfbuzz_ng/util/options.hh
69b84a8f6c789726815261c2e86692de7a65d6e8 12-Apr-2012 Behdad Esfahbod <behdad@behdad.org> Fix hb-view surface size calc for vertical text

For some reason it doesn't quite work with IranianNastaliq, but
that looks like a font issue.
/external/harfbuzz_ng/util/options.hh
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/util/options.hh
d5300241680844f5625f32792f7dd7181ed05f9b 22-Jan-2012 Behdad Esfahbod <behdad@behdad.org> [util] Make clusters work with char offset instead of UTF-8 offset

This means the --features indices also refer to char position
instead of byte position now. Same for cluster values reported
by hb-shape.

Will add an option for byte indices later.
/external/harfbuzz_ng/util/options.hh
cdc673d97c5ffedb386865a81f54a5cedcbad27c 19-Jan-2012 Behdad Esfahbod <behdad@behdad.org> [hb-shape] Add --show-line-num

Ok, much more useful as a test suite driver now.
/external/harfbuzz_ng/util/options.hh
cc4d9810d6318ca2e4de3b8d62f03b51cc21ee05 19-Jan-2012 Behdad Esfahbod <behdad@behdad.org> [hb-shape] Add --show-text and --show-unicode options
/external/harfbuzz_ng/util/options.hh
088c1e27c0fc0cdef999cf1f567e4d5eb2cfb2e4 20-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [util] Fix option parsing

Wow, who knew bool is one byte and I was using it as a 4byte int?!

C++ auto casts fails you in mysterious ways...
/external/harfbuzz_ng/util/options.hh
422558142aabb996d8ad1848df7ea4d5a8ade98a 19-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [util] Account for line-space in surface size
/external/harfbuzz_ng/util/options.hh
8b8b19056decaf09e4e0ccd9412ee1aeb30f4de7 19-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [util] Add hb-shape utility

Like hb-view, but prints out buffer contents.

The output format is kinda cryptic. Suggestions welcome.
/external/harfbuzz_ng/util/options.hh
11e51993ab562d4c7460eb7c43d0e97404e628e7 19-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [util] Move font-size into view-options
/external/harfbuzz_ng/util/options.hh
55aeb0490454cc1ba93a42f307ed1230f59dee4b 16-Sep-2011 Behdad Esfahbod <behdad@behdad.org> Fix reading text from stdin
/external/harfbuzz_ng/util/options.hh
a75c1b125159f6cfb6b652a9ec40803f7c7e3f71 16-Sep-2011 Behdad Esfahbod <behdad@behdad.org> Move code around
/external/harfbuzz_ng/util/options.hh
4451168e5d1ea26560899e9a9733b3a3f1853050 16-Sep-2011 Behdad Esfahbod <behdad@behdad.org> Fix binary stdin/stdout io in Windows

Make --font-file accept "-" to mean stdin, and have it work
in Windows too!
/external/harfbuzz_ng/util/options.hh
639b5957d9c7b6d8bef6784e3467ccc055ddeea4 16-Sep-2011 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/util/options.hh
f7e2ef74f856ee13d6fd6cf3f1e04bc162203bc2 15-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [hb-view] Make print to stdout work in Windows

Apparently there's no equivalent to "/dev/stdout", so write using
stdio to be able to output to stdout.
/external/harfbuzz_ng/util/options.hh
b9b10ad78b1f977494a3a42b58f8040fe16505a3 13-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [util] Refactor hb-view completely

Now we can use the same code to do other utils...
/external/harfbuzz_ng/util/options.hh
bc4b07b05ea9e39eb9f966eb2c3e1c737efa77ff 08-Sep-2011 Behdad Esfahbod <behdad@behdad.org> More reshuffling
/external/harfbuzz_ng/util/options.hh
516857eb51bbb79ff4adf44e3fefbf460f9ee8f8 08-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [util] Simplify more
/external/harfbuzz_ng/util/options.hh
4f4b114a5592c2f5d128ee795f159b438ad97829 08-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [util] Move code around
/external/harfbuzz_ng/util/options.hh
90e312cb85df7a6dc350cb62138ab950790e3d15 08-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [util] Move code around
/external/harfbuzz_ng/util/options.hh
109cb382898f491eed733dba4ef5ba12de94aaf6 08-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [util] Further refactor option parsing
/external/harfbuzz_ng/util/options.hh
97796453aab56873809a15b5e316cba8acea7449 15-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Fix falloffs of the GOption conversion
/external/harfbuzz_ng/util/options.hh
3bb300ee78a40f9ded21ab19283863b733aeb677 11-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Refactor hb-view code
/external/harfbuzz_ng/util/options.hh