util/hb-shape.cc


Log

Author Commit Date CI Message
Behdad Esfahbod edaa7682 2018-10-30T01:35:58 [util] Use fgets instead of getline such that windows passes
Behdad Esfahbod 58e20f53 2018-10-30T00:50:18 [util] Add hb-shape --batch
Behdad Esfahbod 71fd6325 2018-01-10T02:20:14 Add option to buffer serialization to not output glyph advances When advances are not printed, glyph offsets reflect absolute glyph positions. New API: HB_BUFFER_SERIALIZE_FLAG_NO_ADVANCES hb-shape --no-advances
Behdad Esfahbod dbdbfe3d 2017-10-15T12:11:08 Use nullptr instead of NULL
Behdad Esfahbod a9e52a1a 2017-08-15T17:30:18 [util] Prefix trace lines with "trace:", and error lines with "error:"
Behdad Esfahbod d2052278 2017-08-11T15:12:25 [util] Add --verify to hb-shape / hb-view that verifies shape results Right now it checks for monotone cluster values. Other checks to be added.
Behdad Esfahbod 40bd7e9a 2016-05-02T14:47:45 [unsafe-to-break] Add UNSAFE_TO_BREAK flag Not all shapers code is updated to set this properly. GSUB and Arabic shaper are updated. GPOS and other shapers are NOT. Fixes https://github.com/behdad/harfbuzz/issues/224
Behdad Esfahbod 6f38845d 2017-07-19T17:20:55 [hb-shape] Rename --show-messages to --trace https://github.com/behdad/harfbuzz/issues/506
Behdad Esfahbod e6035055 2017-07-18T19:14:19 [hb-shape] Improve shaping-debug output Before, that was printed using --debug (and in both hb-shape and hb-view). Changed it, now hb-shape has a new command-line argument called --show-messages. When invoked, it also respects other output formatting options. The messages are better formatted and printed to te same place that hb-shape output is directed to. Previously they were written to stderr. Fixes https://github.com/behdad/harfbuzz/issues/506
Philip Withnall 925ceacf 2017-02-08T02:17:48 util: Add missing field initialisers in constructor (#410) Coverity ID: 141042
Behdad Esfahbod fdd1770e 2015-08-24T13:49:55 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.
Behdad Esfahbod cd4eb96a 2015-01-20T12:30:45 [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.
Behdad Esfahbod 0afedaa9 2014-07-09T17:00:48 [util/hb-shape] Fix crash; oops
Behdad Esfahbod 9109f1e9 2014-07-08T20:02:29 [util/hb-shape] Accept an empty output-format that would skip output Useful for benchmarking, to avoid buffer serialization overhead (which seems to by far dominate shaping!)
Behdad Esfahbod ea5e8a02 2014-03-19T15:38:02 [util] Plug minor leak
Behdad Esfahbod 4dc798de 2013-08-26T20:39:00 Add hb-deprecated.h, and rename a couple enum values Add deprecated alias for old name.
Behdad Esfahbod 7235f33f 2013-06-10T14:39:51 Fix misc warnings reported by cppcheck https://bugs.freedesktop.org/show_bug.cgi?id=65544
Behdad Esfahbod 4a765f09 2012-12-21T16:48:47 Minor
Behdad Esfahbod 9815a881 2012-12-21T16:46:53 [util] List supported output formats in --help output
Behdad Esfahbod 6bad092a 2012-12-21T16:01:52 [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.
Behdad Esfahbod a4bef84e 2012-11-15T13:29:51 [util] Make hb-shape err if output-format is not understood And list supported formats.
Behdad Esfahbod f9edf167 2012-11-15T12:14:09 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.
Behdad Esfahbod 0594a244 2012-06-05T20:35:40 Cleanup TRUE/FALSE vs true/false
Behdad Esfahbod 5db0683a 2012-06-02T12:13:08 [util] Make hb-shape continue shaping other lines if shapers failed
Behdad Esfahbod 45675e58 2012-05-15T23:10:39 [util] Refactor to accommodate for upcoming new tool
Behdad Esfahbod 95cefdf9 2012-04-16T18:08:20 Add --utf8-clusters Also fix cairo cluster generation.
Behdad Esfahbod cdc673d9 2012-01-19T12:46:18 [hb-shape] Add --show-line-num Ok, much more useful as a test suite driver now.
Behdad Esfahbod cc4d9810 2012-01-19T12:32:20 [hb-shape] Add --show-text and --show-unicode options
Behdad Esfahbod 8b8b1905 2011-09-19T16:41:17 [util] Add hb-shape utility Like hb-view, but prints out buffer contents. The output format is kinda cryptic. Suggestions welcome.