Behdad Esfahbod
93fe0faaee
[subset] Clean up hb_subset_input_t API
6 years ago
Behdad Esfahbod
f39166f0c0
[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.
6 years ago
Behdad Esfahbod
c77ae40852
Rename hb-*private.hh to hb-*.hh
...
Sorry for the noise, downstream custom builders. Please adjust.
6 years ago
Rod Sheeter
74e0c13a4a
[subset] drop hint tables if so flagged. Still need to dump glyf instructions.
7 years ago
Rod Sheeter
0bd100e144
[subset] add --hinting flag
7 years ago
Behdad Esfahbod
9046e92442
[subset] Rename constructor to hb_subset_input_create_or_fail()
...
To signify that unlike rest of library, returns nullptr on failure.
7 years ago
Behdad Esfahbod
d5b33f2fe1
[subset] hb_subset_input_t changes
7 years ago
Behdad Esfahbod
70b06cc6e7
More fixes
7 years ago
Behdad Esfahbod
4011d885b7
[util] Remove use of ssize_t which was failing on MSVC
7 years ago
Rod Sheeter
8431c38cdc
remove output noise
7 years ago
Behdad Esfahbod
194140d3f3
[util] Minor
7 years ago
Behdad Esfahbod
af02812fc5
[subset] Change hb_subset API to remove hb_subset_face_t
7 years ago
Rod Sheeter
6c52d94fd1
capture the set of codepoints passed by --unicodes
7 years ago
Garret Rieger
7481f0ce21
Add codepoints to subset input.
7 years ago
Ebrahim Byagowi
70e13ade81
[subset] Fix Windows issue on endlines ( #756 )
7 years ago
Garret Rieger
2ea228935d
ssize_t -> size_t
7 years ago
Garret Rieger
c25898eb54
Switch to fopen() instead of open() in subset test. open wasn't compiling on windows.
7 years ago
Garret Rieger
e428f7b1c2
Wrap unistd.h include in ifdef.
7 years ago
Behdad Esfahbod
eac20e4595
[subset] Minor
7 years ago
Rod Sheeter
edcd3b80e9
Actually call hb_subset
7 years ago
Garret Rieger
5bc0cda179
Add missing unistd header to hb-subset.
7 years ago
Garret Rieger
058b1260ad
Re-write hb-subset utility to use main-font-text driver.
7 years ago
Garret Rieger
ede84ffa42
Whitespace
7 years ago
Rod Sheeter
e9d154ac8d
tweak test failure output. write to a temp file not stdout. test still fails because expected is not just an identical copy of input
7 years ago
Rod Sheeter
9ccb8366f6
Start to sketch APIs for subsetting
7 years ago