kc3-lang/harfbuzz/util/hb-subset.cc

Branch :


Log

Author Commit Date CI Message
c98773eb 2021-08-11 20:22:03 [util/hb-subset] Move output-file validation code into post_parse
58bfe407 2021-08-11 19:48:28 [util] Move hb-subset away from main-font-text
97a9e4e4 2021-08-11 19:28:16 [util] Separate shape_text_options_t from text_options_t
e4b33d9d 2021-08-11 18:35:11 [util] Use post_parse in face_options_t
9468e469 2021-08-11 16:46:04 [util] Rename main_font_text back to main_font_text_t
9d8bbe3e 2021-08-11 11:53:32 [util] Make main_font_text a struct again Going to move to G_OPTION_REMAINING.
5bd463f1 2021-08-10 14:26:48 [util/hb-subset] Access input directly
b83fd3a5 2021-08-10 02:21:05 [util] Refactor batch-processing code into batch.hh
d92ee726 2021-08-09 19:08:34 [util/hb-shape] Treat as single-paragraph text other than provided by a file Fixes https://github.com/harfbuzz/harfbuzz/issues/3129
7d2e9164 2021-08-07 13:38:19 [util] Move text options into text_options_t Remove now empty options.cc.
93bc62e9 2021-08-07 13:13:58 [util] Move output options into output-options.hh
af9d2495 2021-08-07 12:29:52 [util] Use inheritance for output_options_t
5545eea7 2021-08-07 11:04:46 [util] Remove main_font_text_t class, use bare function
58c22335 2021-08-06 23:45:59 [util] Move face/font options into face/font-options.hh
798bb89c 2021-08-06 23:29:29 [util] Move shape format options into shape-format.hh
167f58a2 2021-08-06 23:03:30 [util] Move subset options into subset-options.hh
4e97678e 2021-08-06 22:53:44 [util] Use inheritence to embed inherent options of objects
e109f9a6 2021-08-05 11:05:51 [util] Collect cmdline arg options outside of constructor
e57dd668 2021-08-05 10:33:31 [util] Initialize struct members inline
21f1054d 2021-08-04 20:23:48 [util/hb-subset] Keep face around instead of font
6500f68f 2021-08-06 18:46:31 [util] Change hb-subset to use face_options_t instead of font_options_t
71440dbd 2021-08-05 13:48:59 [util] Move font-size and upem to be extern variables
fc0339ee 2021-08-05 13:35:46 [util] Simplify shape-consumer by removing buffer arg
e014c6fa 2021-08-05 13:24:59 [util/main-font-text] Move eol from template arg to main() arg
db6fbe29 2021-08-03 10:13:17 [util/hb-subset] Use driver_t<> in outer block as well https://github.com/harfbuzz/harfbuzz/commit/a363ce573c3aa706de3aecf0515519a5d7842af2#r54282223
47d47e8c 2021-08-01 22: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.
a363ce57 2021-08-01 22:11:13 [util/hb-subset] Minor refactor of batch mode To match recent changes to hb-shape.
10e73d18 2021-08-01 11:11:12 [test] Add batch mode to hb-subset and use it time meson test --suite=subset down from: real 0m22.822s user 0m44.561s sys 0m9.255s to: real 0m19.418s user 0m38.171s sys 0m3.587s Does not seem to help much, but it is something. Part of https://github.com/harfbuzz/harfbuzz/issues/3089
3d534b14 2021-07-29 11:52:14 [subset] convert subset input flags into bit flags. Store the flags in a bit set. Updates the public api to work with the bit set directly.
668f2bd9 2021-06-09 16:33:50 [subset] Add hb_subset_or_fail () to public subset api.
1bb00cd5 2021-05-26 14:18:32 [subset] add num-iterations flag to util/hb-subset.
97a093c5 2020-10-12 15: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
2be859d2 2020-04-20 23:48:23 minor, replace nullptr checks with implicit ones
a0b4ac4d 2019-08-24 17:57:14 Turn 8 spaces to tab across the project According to the current code style of the project
1da1b4dc 2019-06-26 13:23:24 [subset] For option "--unicodes", add support for "*" to retain all code points
0ff3618c 2019-05-17 15:30:01 [subset] Use hb_subset_input_t inside of subset_options_t so that input defaults are shared between the library and cli.
67064294 2019-05-16 15:13:39 [subset] Add drop-tables option to hb-subset util.
e501ea14 2019-04-05 10: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.
490d52f9 2019-01-28 17:43:42 [subset] Add retain-gids option to hb-subset executable.
3f8e7a98 2018-12-12 11:32:57 [util/hb-subset] Add --layout to keep GDEF/GSUB/GPOS Will become default and option removed in the future.
b403be8a 2018-11-16 12:29:18 Merge branch 'master' into cff-subset
11aa0468 2018-11-15 23:10:56 [subset] minor, adjust spaces
6186dbf1 2018-11-01 17:25:23 added hb_subset_input_set_desubroutinize API hooked up with CFF1 subroutinizer a renaming
93fe0faa 2018-08-29 18:24:03 [subset] Clean up hb_subset_input_t API
f39166f0 2018-08-29 18: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.
c77ae408 2018-08-25 22:36:36 Rename hb-*private.hh to hb-*.hh Sorry for the noise, downstream custom builders. Please adjust.
74e0c13a 2018-02-21 11:19:18 [subset] drop hint tables if so flagged. Still need to dump glyf instructions.
0bd100e1 2018-02-21 10:34:00 [subset] add --hinting flag
9046e924 2018-02-13 22:07:12 [subset] Rename constructor to hb_subset_input_create_or_fail() To signify that unlike rest of library, returns nullptr on failure.
d5b33f2f 2018-02-13 13:50:50 [subset] hb_subset_input_t changes
70b06cc6 2018-02-10 16:13:06 More fixes
4011d885 2018-02-10 14:09:06 [util] Remove use of ssize_t which was failing on MSVC
8431c38c 2018-02-08 19:20:58 remove output noise
194140d3 2018-02-08 16:27:57 [util] Minor
af02812f 2018-02-07 13:07:46 [subset] Change hb_subset API to remove hb_subset_face_t
6c52d94f 2018-02-06 15:31:14 capture the set of codepoints passed by --unicodes
7481f0ce 2018-02-05 16:05:12 Add codepoints to subset input.
70e13ade 2018-02-06 13:20:38 [subset] Fix Windows issue on endlines (#756)
2ea22893 2018-02-05 15:10:01 ssize_t -> size_t
c25898eb 2018-02-05 14:35:32 Switch to fopen() instead of open() in subset test. open wasn't compiling on windows.
e428f7b1 2018-02-05 10:24:16 Wrap unistd.h include in ifdef.
eac20e45 2018-02-04 20:08:50 [subset] Minor
edcd3b80 2018-02-04 12:31:24 Actually call hb_subset
5bc0cda1 2018-02-02 17:49:14 Add missing unistd header to hb-subset.
058b1260 2018-02-01 18:22:14 Re-write hb-subset utility to use main-font-text driver.
ede84ffa 2018-02-01 17:17:36 Whitespace
9ccb8366 2018-01-17 22:09:07 Start to sketch APIs for subsetting
e9d154ac 2018-01-30 19: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