util/hb-subset.cc


Log

Author Commit Date CI Message
Khaled Hosny 97a093c5 2020-10-12T15:32:22 [hb-subset] Improve error handling a bit * Check that output-file option is actually set before trying to open it. * Print file name and errno when opening the output file fails. * Be more resilient when writing output file and use ferror() to check for errors. Fixes https://github.com/harfbuzz/harfbuzz/issues/2711
Ebrahim Byagowi 2be859d2 2020-04-20T23:48:23 minor, replace nullptr checks with implicit ones
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
Qunxin Liu 1da1b4dc 2019-06-26T13:23:24 [subset] For option "--unicodes", add support for "*" to retain all code points
Garret Rieger 0ff3618c 2019-05-17T15:30:01 [subset] Use hb_subset_input_t inside of subset_options_t so that input defaults are shared between the library and cli.
Garret Rieger 67064294 2019-05-16T15:13:39 [subset] Add drop-tables option to hb-subset util.
Qunxin Liu e501ea14 2019-04-05T10:05:55 [subset] Subset name table step 3, add --nameids option to guide the selection of which name records to keep in the subset method.
Garret Rieger 490d52f9 2019-01-28T17:43:42 [subset] Add retain-gids option to hb-subset executable.
Behdad Esfahbod 3f8e7a98 2018-12-12T11:32:57 [util/hb-subset] Add --layout to keep GDEF/GSUB/GPOS Will become default and option removed in the future.
Michiharu Ariza b403be8a 2018-11-16T12:29:18 Merge branch 'master' into cff-subset
Ebrahim Byagowi 11aa0468 2018-11-15T23:10:56 [subset] minor, adjust spaces
Michiharu Ariza 6186dbf1 2018-11-01T17:25:23 added hb_subset_input_set_desubroutinize API hooked up with CFF1 subroutinizer a renaming
Behdad Esfahbod 93fe0faa 2018-08-29T18:24:03 [subset] Clean up hb_subset_input_t API
Behdad Esfahbod f39166f0 2018-08-29T18:09:55 [subset] Remove unused hb_subset_profile_t We might reintroduce it later, but for now remove, as it was unused. Some things that should have been in this object (drop_hints, etc) are already in hb_subset_input_t. So, for now, keep everything there.
Behdad Esfahbod c77ae408 2018-08-25T22:36:36 Rename hb-*private.hh to hb-*.hh Sorry for the noise, downstream custom builders. Please adjust.
Rod Sheeter 74e0c13a 2018-02-21T11:19:18 [subset] drop hint tables if so flagged. Still need to dump glyf instructions.
Rod Sheeter 0bd100e1 2018-02-21T10:34:00 [subset] add --hinting flag
Behdad Esfahbod 9046e924 2018-02-13T22:07:12 [subset] Rename constructor to hb_subset_input_create_or_fail() To signify that unlike rest of library, returns nullptr on failure.
Behdad Esfahbod d5b33f2f 2018-02-13T13:50:50 [subset] hb_subset_input_t changes
Behdad Esfahbod 70b06cc6 2018-02-10T16:13:06 More fixes
Behdad Esfahbod 4011d885 2018-02-10T14:09:06 [util] Remove use of ssize_t which was failing on MSVC
Rod Sheeter 8431c38c 2018-02-08T19:20:58 remove output noise
Behdad Esfahbod 194140d3 2018-02-08T16:27:57 [util] Minor
Behdad Esfahbod af02812f 2018-02-07T13:07:46 [subset] Change hb_subset API to remove hb_subset_face_t
Rod Sheeter 6c52d94f 2018-02-06T15:31:14 capture the set of codepoints passed by --unicodes
Garret Rieger 7481f0ce 2018-02-05T16:05:12 Add codepoints to subset input.
Ebrahim Byagowi 70e13ade 2018-02-06T13:20:38 [subset] Fix Windows issue on endlines (#756)
Garret Rieger 2ea22893 2018-02-05T15:10:01 ssize_t -> size_t
Garret Rieger c25898eb 2018-02-05T14:35:32 Switch to fopen() instead of open() in subset test. open wasn't compiling on windows.
Garret Rieger e428f7b1 2018-02-05T10:24:16 Wrap unistd.h include in ifdef.
Behdad Esfahbod eac20e45 2018-02-04T20:08:50 [subset] Minor
Garret Rieger 5bc0cda1 2018-02-02T17:49:14 Add missing unistd header to hb-subset.
Rod Sheeter edcd3b80 2018-02-04T12:31:24 Actually call hb_subset
Garret Rieger 058b1260 2018-02-01T18:22:14 Re-write hb-subset utility to use main-font-text driver.
Garret Rieger ede84ffa 2018-02-01T17:17:36 Whitespace
Rod Sheeter e9d154ac 2018-01-30T19:27:11 tweak test failure output. write to a temp file not stdout. test still fails because expected is not just an identical copy of input
Rod Sheeter 9ccb8366 2018-01-17T22:09:07 Start to sketch APIs for subsetting