util/hb-shape.cc


Log

Author Commit Date CI Message
Behdad Esfahbod 38f2ec17 2022-07-18T12:17:08 [hb-shape] Move shape_output_t into separate file
Behdad Esfahbod 94be4598 2022-07-18T12:13:48 [hb-shape] Internal rename
Behdad Esfahbod c45d2a9c 2021-08-12T11:17:26 [util] Allow setting cli summary / description
Behdad Esfahbod 4d73b3d9 2021-08-12T10:39:46 [util] Add --batch to hb-view / hb-ot-shape-closure
Behdad Esfahbod c98773eb 2021-08-11T20:22:03 [util/hb-subset] Move output-file validation code into post_parse
Behdad Esfahbod 58bfe407 2021-08-11T19:48:28 [util] Move hb-subset away from main-font-text
Behdad Esfahbod 97a9e4e4 2021-08-11T19:28:16 [util] Separate shape_text_options_t from text_options_t
Behdad Esfahbod fd0778aa 2021-08-11T18:54:46 [util] Use post_parse in output_options_t
Behdad Esfahbod 24a9d8c7 2021-08-11T18:47:06 [util] Use post_parse in font_options_t
Behdad Esfahbod 9468e469 2021-08-11T16:46:04 [util] Rename main_font_text back to main_font_text_t
Behdad Esfahbod 9d8bbe3e 2021-08-11T11:53:32 [util] Make main_font_text a struct again Going to move to G_OPTION_REMAINING.
Behdad Esfahbod b83fd3a5 2021-08-10T02:21:05 [util] Refactor batch-processing code into batch.hh
Behdad Esfahbod d92ee726 2021-08-09T19:08:34 [util/hb-shape] Treat as single-paragraph text other than provided by a file Fixes https://github.com/harfbuzz/harfbuzz/issues/3129
Behdad Esfahbod 7d2e9164 2021-08-07T13:38:19 [util] Move text options into text_options_t Remove now empty options.cc.
Behdad Esfahbod 93bc62e9 2021-08-07T13:13:58 [util] Move output options into output-options.hh
Behdad Esfahbod af9d2495 2021-08-07T12:29:52 [util] Use inheritance for output_options_t
Behdad Esfahbod 5545eea7 2021-08-07T11:04:46 [util] Remove main_font_text_t class, use bare function
Behdad Esfahbod 58c22335 2021-08-06T23:45:59 [util] Move face/font options into face/font-options.hh
Behdad Esfahbod 798bb89c 2021-08-06T23:29:29 [util] Move shape format options into shape-format.hh
Behdad Esfahbod 71440dbd 2021-08-05T13:48:59 [util] Move font-size and upem to be extern variables
Behdad Esfahbod e014c6fa 2021-08-05T13:24:59 [util/main-font-text] Move eol from template arg to main() arg
Behdad Esfahbod 09e4d7dd 2021-08-05T11:21:20 [util] Simplify output_options_t
Behdad Esfahbod e109f9a6 2021-08-05T11:05:51 [util] Collect cmdline arg options outside of constructor
Behdad Esfahbod e57dd668 2021-08-05T10:33:31 [util] Initialize struct members inline
Behdad Esfahbod 47d47e8c 2021-08-01T22:12:08 [util/hb-shape/hb-subset] Don't terminate on first error in batch mode There's no reason to quit processing. The failure is already communicated via stdout in both cases.
Behdad Esfahbod ed99c806 2021-08-01T08:14:59 [util/hb-shape] Refactor driver type duplication
Khaled Hosny 50379fbb 2021-07-28T16:13:49 [util] Don’t split text at new lines in batch mode In batch mode (which is used for testing) we are probably not interested in splitting text into lines as we could have split the string into different tests. This fixes a bunch of AOTS tests that use newlines as input.
Simon Cozens a0203a28 2020-09-17T16:49:59 Use hb_buffer_serialize to trace in utils
Ebrahim Byagowi ba810ce8 2020-04-05T22:51:58 [tests] Replace space with colon in batch mode
Ebrahim Byagowi a0b4ac4d 2019-08-24T17:57:14 Turn 8 spaces to tab across the project According to the current code style of the project
Ebrahim Byagowi e4120085 2018-12-17T21:31:01 Remove redundant void from C++ sources (#1486)
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.