History log of /external/harfbuzz_ng/util/options.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
21e5d7edc4f28157254ef29a8ac247f3a572f6a6 17-Dec-2015 Behdad Esfahbod <behdad@behdad.org> [util] Use O_BINARY instead of _O_BINARY

The latter doesn't seem to be available in Cygwin. I'm surprised it
compiled before...
/external/harfbuzz_ng/util/options.cc
998e8dda938cfef0146f1bfc4e8973a0e12d7d35 02-Nov-2015 Chun-wei Fan <fanchunwei@src.gnome.org> util: Fix build on Visual Studio

Use the fallback implementation for lround() only on pre-2013 Visual
Studio, and ensure we are clear about the types of the parameters for
lround() and scalbnf(), since Visual Studio can be quite picky on
ambiguous parameter types. Also, use g_ascii_strcasecmp() rather than
strcasecmp() as we are already using GLib for this code and we are
assured that g_ascii_strcasemp() is available.

For scalbnf() on pre-2013 Visaul Studio, a fallback implementation is
needed, but use another forced-included header for those compilers, which
will be added later.

Also use (char)27 on Visual Studio builds as '\e' is not a recognized
escape sequence, which will do the same thing.
/external/harfbuzz_ng/util/options.cc
3530cc2d7c3b7102902cb0e38b0bf9f46188078d 03-Nov-2015 Behdad Esfahbod <behdad@behdad.org> [util] Fix option-parsing leaks
/external/harfbuzz_ng/util/options.cc
642135f3b2d6d6eb800153c76c4718239733c0e6 03-Nov-2015 Behdad Esfahbod <behdad@behdad.org> [util] In --debug mode, duplicate font data

This has the effect that the font data will end up in a memory
section malloc()ed exactly to its size. This gives us better
valgrind detection of out-of-bounds access.

Previously, the font data was placed in a mmap()ed section or
GString-allocated area, which didn't have proper protections
at the end when running under valgrind.
/external/harfbuzz_ng/util/options.cc
fdd1770e006ca2d2973c049177ceda87a575e07f 24-Aug-2015 Behdad Esfahbod <behdad@behdad.org> Add API/cmdline to show glyph extents when serializing buffer

New API: HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS

hb-shape now accepts --show-extents.

Patch from Simon Cozens.
/external/harfbuzz_ng/util/options.cc
376d587f36b4ff10342ee6ca3bacd73532ea44c8 22-Jul-2015 Behdad Esfahbod <behdad@behdad.org> Implement more granular cluster-merging

TODO: Documentation.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=71445
/external/harfbuzz_ng/util/options.cc
16dac7eccf04bb357e95a8e4c18c8418dcfb4030 03-Jun-2015 Behdad Esfahbod <behdad@behdad.org> Fix build
/external/harfbuzz_ng/util/options.cc
820505a186ff60e4bae9d717fe4d7ab2390e6fef 14-Apr-2015 Behdad Esfahbod <behdad@behdad.org> Whitespace
/external/harfbuzz_ng/util/options.cc
76d57331117be8e0c2d4a2aee8341969b62b6888 14-Apr-2015 Behdad Esfahbod <behdad@behdad.org> Merge pull request #86 from cpfair/hb-shape-output-help-improvement

Improve hb-shape/hb-view's help text w.r.t. output options
a664810e38b479e05ea32cac263cb5730629f9d8 10-Apr-2015 Behdad Esfahbod <behdad@behdad.org> [util] Accept comma as well as space when separating components of args

Applies to --font-size and --margin.

Hopefully the scanf usage here doesn't have compatibility issues
(star being counted in the return value, etc).
/external/harfbuzz_ng/util/options.cc
9ee176ee978e6668c4faf00028811ce70979122e 14-Feb-2015 Collin Fair <cpf@cpfx.ca> Stop hb-shape docs leaking into hb-view
/external/harfbuzz_ng/util/options.cc
952b8dbdf61da9b4814e09ad3c1b9b76483bef5c 14-Feb-2015 Collin Fair <cpf@cpfx.ca> 'All' of the above, not 'each'
/external/harfbuzz_ng/util/options.cc
9e867b64467c46eea5cc9b1d5a9404a1221bbbfc 14-Feb-2015 Collin Fair <cpf@cpfx.ca> Remove reference to --help-output-content in --help-output (as --help-output-format's options aren't available in hb-view)
/external/harfbuzz_ng/util/options.cc
1d55ffeb66381889f11ebb9039ca4ec2ca5efbab 14-Feb-2015 Collin Fair <cpf@cpfx.ca> Add serialization syntax documentation. Clarify naming and wording in --help-output/--help-format
/external/harfbuzz_ng/util/options.cc
cd4eb96abb90a84b42e9b288e39bad759e4411a0 20-Jan-2015 Behdad Esfahbod <behdad@behdad.org> [util] Add --font-size to hb-shape

Also makes hb-view to use 8 bits of subpixel precision and shape at
requested size, instead of always shaping at upem and scaling results.
/external/harfbuzz_ng/util/options.cc
5789ca69d7464bab5fa0c5bdf404f3afaa490faf 09-Jan-2015 Behdad Esfahbod <behdad@behdad.org> [util] Minor
/external/harfbuzz_ng/util/options.cc
c36c4a9924609df648e62e47fa017b19b844fd98 02-Jan-2015 Behdad Esfahbod <behdad@behdad.org> Add missing va_end()

Fixes https://github.com/behdad/harfbuzz/pull/74
/external/harfbuzz_ng/util/options.cc
0de25d4184d2d92b1a2ebb6fa054275aaae4c316 25-Jul-2014 Behdad Esfahbod <behdad@behdad.org> [util] Note CSS compatibility in --help-features
/external/harfbuzz_ng/util/options.cc
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.cc
2306ad46dce1c53b0b1bfabdc04d70e3b99eabb7 05-Jul-2014 Behdad Esfahbod <behdad@behdad.org> [util] Fix memory issue
/external/harfbuzz_ng/util/options.cc
903648437c180c7b039801cdb0672e0f8e14afd4 24-Mar-2014 Behdad Esfahbod <behdad@behdad.org> Start fleshing out builtin font functions
/external/harfbuzz_ng/util/options.cc
ea5e8a02eb83ad19f3009b0008893f77ce113118 19-Mar-2014 Behdad Esfahbod <behdad@behdad.org> [util] Plug minor leak
/external/harfbuzz_ng/util/options.cc
d688475ea9cd236bc9b9e0153489fac0025f07f0 12-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/util/options.cc
260a3198f44a4ece60864b6f6caab2ee756ad762 02-Dec-2013 Behdad Esfahbod <behdad@behdad.org> [util] Plug leak
/external/harfbuzz_ng/util/options.cc
c2bc818706df56022c8bb922df2b741cb120f7e4 27-Oct-2013 Behdad Esfahbod <behdad@behdad.org> Work with old and new glib

Avoids "deprecated" warnings.
/external/harfbuzz_ng/util/options.cc
9326d48e4309901e7e0b0e15230936a21ee3df72 10-Oct-2013 Behdad Esfahbod <behdad@behdad.org> Don't use g_mapped_file_unref()

Was introduced in glib 2.22.
/external/harfbuzz_ng/util/options.cc
50067e280f381918b8e90b26df9e7bf20f98f0bd 11-Apr-2013 Behdad Esfahbod <behdad@behdad.org> [util] Add --num-iterations

Useful for profiling shapers.
/external/harfbuzz_ng/util/options.cc
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.cc
ceeae30f47b9d628484ae398bc38f3f60ee8eab4 01-Feb-2013 Behdad Esfahbod <behdad@behdad.org> Really fix setmode this time

Thanks to Khaled for spotting it.
/external/harfbuzz_ng/util/options.cc
7cba8a673b4b436a737fc4ffe85dc84ddd2bf41f 01-Feb-2013 Behdad Esfahbod <behdad@behdad.org> Fixup previous commit

Now, it looks like this breaks Cygwin again. Have to figure out what's
going on.
/external/harfbuzz_ng/util/options.cc
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.cc
9815a88111072aa51e78e258c5f660993b47d4df 21-Dec-2012 Behdad Esfahbod <behdad@behdad.org> [util] List supported output formats in --help output
/external/harfbuzz_ng/util/options.cc
9a34a50daac3563464e0031f377e85f0c704f2d6 06-Dec-2012 Behdad Esfahbod <behdad@behdad.org> Fix build with C++11
/external/harfbuzz_ng/util/options.cc
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.cc
407f80d62589774f845ef1a6a0a7d841b09d57c6 14-Nov-2012 Behdad Esfahbod <behdad@behdad.org> [util] Add --bot / --eot / --preserve-default-ignorables
/external/harfbuzz_ng/util/options.cc
78d41d8d69142ae95928b51215c0c0c5e3f5b3f0 14-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/util/options.cc
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.cc
c8149ca85ed97112778590bc9f090f3ee0254100 13-Nov-2012 Behdad Esfahbod <behdad@behdad.org> [hb-shape] Adjust postioning output format

1. If there is any offset (x or y), print out both x and y offsets.

2. Always print out the advance in the major direction of the buffer.
Ie. even for zero-advance glyphs, print a "+0". This is more intuitive.
/external/harfbuzz_ng/util/options.cc
3bc22eb7b843c77706bb13fc332009097f247813 12-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/util/options.cc
e30ebd2794b37bd8ec716a258d5cb017fb1dfadc 07-Sep-2012 Behdad Esfahbod <behdad@behdad.org> Add hb_feature_to/from_string()
/external/harfbuzz_ng/util/options.cc
6f3a300138f659020c21c3e08b7981c78df5f332 08-Aug-2012 Behdad Esfahbod <behdad@behdad.org> Add hb_font_glyph_from/to_string
/external/harfbuzz_ng/util/options.cc
ade7459ea7c75b4f33f7cfa43dd5bdfa0c18d6d5 07-Aug-2012 Behdad Esfahbod <behdad@behdad.org> [util] Fix leaks
/external/harfbuzz_ng/util/options.cc
bdc48a879a1900138d8caaa8d90fb9fe1e768d1d 05-Aug-2012 Behdad Esfahbod <behdad@behdad.org> Enlarge glyph_name buffer

Lohit Devanagari has a glyph named:
u0924_u094D.half_u0930_u094D.blwf.vatu
/external/harfbuzz_ng/util/options.cc
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.cc
0594a2448440208efa0acac9a5d8d52d43108289 06-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Cleanup TRUE/FALSE vs true/false
/external/harfbuzz_ng/util/options.cc
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.cc
ae62166519291057316a9d15cea3f1570fcb5eaf 02-Jun-2012 Behdad Esfahbod <behdad@behdad.org> [util] Minor
/external/harfbuzz_ng/util/options.cc
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.cc
bce095524b3e69a47f8e88a2fb02d6ab537f9b0a 27-May-2012 Behdad Esfahbod <behdad@behdad.org> Add hb_font_get_glyph_name() and hb_font_get_glyph_from_name()
/external/harfbuzz_ng/util/options.cc
8f8956a55fff95e5ad529d2f124c9528d1f4f81d 25-May-2012 Behdad Esfahbod <behdad@behdad.org> [util] Add hidden --shaper that is equivalent of --shapers
/external/harfbuzz_ng/util/options.cc
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.cc
95cefdf96efe43a44133aa8a186155cf4e63e2b7 17-Apr-2012 Behdad Esfahbod <behdad@behdad.org> Add --utf8-clusters

Also fix cairo cluster generation.
/external/harfbuzz_ng/util/options.cc
f51e167436a51b890ffe3f7f7920498fa287acd9 30-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Minor error handling
/external/harfbuzz_ng/util/options.cc
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.cc
0f68f4a0b5ee78cbdb2a89a9a1a9125afe72ed2f 22-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Correctly print out Unicode strings
/external/harfbuzz_ng/util/options.cc
d8134bc017ca3383e0978ddee57070eb3aab8964 20-Jan-2012 Behdad Esfahbod <behdad@behdad.org> [hb-shape] Add parantheses around --show-text output
/external/harfbuzz_ng/util/options.cc
c91c4fa47140c0d6191241a832fc534b1c1514ce 19-Jan-2012 Behdad Esfahbod <behdad@behdad.org> [hb-shape] Change glyphstring brackets from </> to [/]

Sorry for the disruption but I need this to differentiate from the
Unicode string.
/external/harfbuzz_ng/util/options.cc
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.cc
cc4d9810d6318ca2e4de3b8d62f03b51cc21ee05 19-Jan-2012 Behdad Esfahbod <behdad@behdad.org> [hb-shape] Add --show-text and --show-unicode options
/external/harfbuzz_ng/util/options.cc
27c36af411c7c4d75dd25d79fc76dd92c6bb9643 19-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Fix OOB in hb-shape
/external/harfbuzz_ng/util/options.cc
8750abaf8410005facbea8c886c592bead7f959b 19-Jan-2012 Behdad Esfahbod <behdad@behdad.org> [util] Add --help-features

Patch from Khaled Hosny.
/external/harfbuzz_ng/util/options.cc
a097043f9a81e6c20caf69a5dabdf9e00438d79b 14-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Allow space in one more place when parsing features
/external/harfbuzz_ng/util/options.cc
fd528c17b7b5ac912f1ac980e1d9981f561c3b46 12-Oct-2011 Behdad Esfahbod <behdad@behdad.org> [util] Add --list-shapers to hb-view and hb-shape
/external/harfbuzz_ng/util/options.cc
5857720cd35078d1c3906c8b2db3190b5166b66f 27-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [util] s/%d/%u/ when printing glyph ids and clusters
/external/harfbuzz_ng/util/options.cc
d3f3690b485e1d240fec4f204aef54e07853a244 21-Sep-2011 Behdad Esfahbod <behdad@behdad.org> hb-shape: In --no-glyph-names, output glyph number directly

Ie. write "86" instead of "gid86".
/external/harfbuzz_ng/util/options.cc
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.cc
422558142aabb996d8ad1848df7ea4d5a8ade98a 19-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [util] Account for line-space in surface size
/external/harfbuzz_ng/util/options.cc
b5afd8f78e6b372f1bbed469329c1554adb20eea 19-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [util] Rename --output to --output_file, and --format to --output-format
/external/harfbuzz_ng/util/options.cc
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.cc
11e51993ab562d4c7460eb7c43d0e97404e628e7 19-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [util] Move font-size into view-options
/external/harfbuzz_ng/util/options.cc
0fe296019746689551d224a5f6fb7e0ebe1b91dc 17-Sep-2011 Behdad Esfahbod <behdad@behdad.org> Fix Linux build when io.h is available

Bug 40953 - fail compile git: make[2]: *** [hb_view-options.o] Error 1
/external/harfbuzz_ng/util/options.cc
5ddd9cc499f2470eca239ae357a5c8a3626c0809 16-Sep-2011 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/util/options.cc
55aeb0490454cc1ba93a42f307ed1230f59dee4b 16-Sep-2011 Behdad Esfahbod <behdad@behdad.org> Fix reading text from stdin
/external/harfbuzz_ng/util/options.cc
a75c1b125159f6cfb6b652a9ec40803f7c7e3f71 16-Sep-2011 Behdad Esfahbod <behdad@behdad.org> Move code around
/external/harfbuzz_ng/util/options.cc
7bf6ecd3bfb1ccf5d9ac6fe274efa74b46885fea 16-Sep-2011 Behdad Esfahbod <behdad@behdad.org> Always shape at size=upem

Fixes bug with uniscribe not handling GIGANTIC sizes.
/external/harfbuzz_ng/util/options.cc
674ee58d9bc9f825d769220d77f58513edae4558 16-Sep-2011 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/util/options.cc
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.cc
639b5957d9c7b6d8bef6784e3467ccc055ddeea4 16-Sep-2011 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/util/options.cc
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.cc
bc4b07b05ea9e39eb9f966eb2c3e1c737efa77ff 08-Sep-2011 Behdad Esfahbod <behdad@behdad.org> More reshuffling
/external/harfbuzz_ng/util/options.cc
109cb382898f491eed733dba4ef5ba12de94aaf6 08-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [util] Further refactor option parsing
/external/harfbuzz_ng/util/options.cc
4c9fe88d30036340fe592bcbc375049b84602b8b 26-Aug-2011 Behdad Esfahbod <behdad@behdad.org> [API] Make all _from_string() functions take a len parameter

Can be -1 for NUL-terminated string. This is useful for passing parts
of a larger string to a function without having to copy or modify the
string first.

Affected functions:

hb_tag_t hb_tag_from_string()
hb_direction_from_string()
hb_language_from_string()
hb_script_from_string()
/external/harfbuzz_ng/util/options.cc
97796453aab56873809a15b5e316cba8acea7449 15-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Fix falloffs of the GOption conversion
/external/harfbuzz_ng/util/options.cc
3bb300ee78a40f9ded21ab19283863b733aeb677 11-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Refactor hb-view code
/external/harfbuzz_ng/util/options.cc