Behdad Esfahbod
2a3fa3f82f
[arrays] Remove unnecessary constructor from Supplier<>
...
Looks like operator hb_array_t<> from vector works here. :)
6 years ago
Behdad Esfahbod
507cac4943
[arrays] Start moving Supplier<> to hb_array_t<>
6 years ago
Behdad Esfahbod
1e2c98126e
[arrays] Remove unused stride from Supplier
6 years ago
Behdad Esfahbod
0d0fe9df46
[arrays] Remove need of stride in Supplier<>
6 years ago
Behdad Esfahbod
dcfa4a8d71
[array] Remove custom hb_bytes_t implementation
6 years ago
Behdad Esfahbod
3656f56d47
[arrays] Minor
6 years ago
Behdad Esfahbod
aa8f94714e
[array] Minor
6 years ago
Behdad Esfahbod
5a552f7546
[array] Move hb_array_t and related types to hb-array.hh
6 years ago
Behdad Esfahbod
01d06e34ff
Minor change to explicit_operator aesthetics
6 years ago
Ebrahim Byagowi
b2ebaa9afa
Remove redundant 'inline' from methods ( #1483 )
6 years ago
Behdad Esfahbod
7251c77290
Whitespace
6 years ago
Behdad Esfahbod
829b56b1a2
Whitespace
6 years ago
Behdad Esfahbod
42a1012562
[subset] Actually subset GDEF
6 years ago
Behdad Esfahbod
c9c746c7f6
[subset] Fix up ClassDef some more
6 years ago
Behdad Esfahbod
7ee6128902
[subset] Fix ClassDefFormat1 subsetting
6 years ago
Behdad Esfahbod
1b6d0c44b3
[subset] Sketch GDEF subsetting
6 years ago
Behdad Esfahbod
705e2f5056
[subset] Implement for ClassDef
6 years ago
Behdad Esfahbod
6e33a3955d
Minor
6 years ago
Behdad Esfahbod
cc65901ca7
[serialize] Implement for ClassDef
6 years ago
Behdad Esfahbod
e5309e4fd8
[serialize] Implement for ClassDefFormat2
6 years ago
Behdad Esfahbod
c8b43cbe31
[serialize] Implement for ClassDefFormat1
6 years ago
Behdad Esfahbod
5761031329
[subset] Minor
6 years ago
Michiharu Ariza
798e98c47b
[CFF] bad offset in Index ( #1476 )
...
* Update hb-ot-cff-common.hh
* fix bug
* bummer fix wasn't hit. refix
* additional sanity check
* Added test cases for oss-fuzz issues 11805, 11806
6 years ago
Michiharu Ariza
bcb4ecaf68
[CFF] check out of range FD index ( #1477 )
...
* add fd index checks to subr subsetter
also added oss-fuzz test case
* undid SubrSubsetParam::is_valid
because already validated by SubrClosures.valid
6 years ago
Behdad Esfahbod
3f8e7a98d3
[util/hb-subset] Add --layout to keep GDEF/GSUB/GPOS
...
Will become default and option removed in the future.
6 years ago
Behdad Esfahbod
2cc993e035
[dispatch] Minor
6 years ago
Behdad Esfahbod
602fbfe3c9
[sanitize] Fix sanitizing sublookup array
6 years ago
Behdad Esfahbod
c78e4784fb
[dispatch] Minor
6 years ago
Behdad Esfahbod
f9d211af1d
Revert "Minor fix re sanitize of Lookup subtables"
...
This reverts commit 7146718bef
.
Fixing differently.
6 years ago
Ebrahim Byagowi
7ee5c52345
minor style fix, use void in methods on no argument
6 years ago
Ebrahim Byagowi
a33f238f88
Merge pull request #1474 from fanc999/master.msvc
...
Few fixes for Visual Studio builds
6 years ago
Behdad Esfahbod
7146718bef
Minor fix re sanitize of Lookup subtables
...
We were dereferencing Null pointers and trying to sanitize them,
which is not necessary...
6 years ago
Behdad Esfahbod
ce069d1932
Minor
6 years ago
Behdad Esfahbod
1aea869446
[subset] Map glyphs during SingleSubst subsetting
...
Ha!
6 years ago
Behdad Esfahbod
41d1a1c10f
[subset] Minor
6 years ago
Behdad Esfahbod
2aba2c6c73
[serialize] Break down assert
6 years ago
Behdad Esfahbod
9844c880e2
Minor
6 years ago
Michiharu Ariza
2941208f1e
[CFF] oss-fuzz issue 11690 ASSERT: substr.offset >= opStart ( #1461 )
...
* fix oss-fuzz 11690: substr.offset >= opStart
detect recursive subroutine call & handle as error
* fix build failure
* add minimized test case for oss-fuzz 11690
* removed asserts
6 years ago
Michiharu Ariza
333586245c
minimize use of assert: removed or changed to error handling ( #1467 )
6 years ago
Ebrahim Byagowi
f24498c1e9
[ci] Fix Travis macOS bot ICU issue ( #1472 )
6 years ago
👻
9f3a51ddb9
[ucdn] Fix header
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1470
6 years ago
David Corbett
b225593d6b
Correct REPLACEMENT CHARACTER's code point to FFFD ( #1471 )
6 years ago
Chun-wei Fan
1e09add232
test/api: Fix building on pre-C99 compilers
...
Ensure variables are declared at the top of the block.
6 years ago
Chun-wei Fan
09b16c536d
CMake: Fix Introspection builds
...
We need to add -DHB_AAT_H and -DHB_AAT_H_IN to the flags that are passed
to g-ir-scanner, so that introspection builds can proceed normally.
6 years ago
Ebrahim Byagowi
1683bb2c93
[glyf] minor
6 years ago
Ebrahim Byagowi
f7cfe99815
[os2] Move typometrics detection logic to the table ( #1465 )
6 years ago
Ebrahim Byagowi
47cf9a9633
Apply non-controversial parts of ot-style ( #1464 )
...
Things to be used in https://github.com/harfbuzz/harfbuzz/pull/1459
6 years ago
Michiharu Ariza
4d809696ef
fix for issue #1447 ( #1462 )
...
Added case for OpCode_BaseFontName. This opcode in spec but practically unused.
Added a comment for default case which can't be hit
6 years ago
Ebrahim Byagowi
1abd4fcaec
[fdsc] minor
6 years ago
Michiharu Ariza
59345cdef3
[CFF] Refix oss-fuzz 11714: set_blends (PR #1458 ) ( #1460 )
...
* pass subarray of stack to set_blends
* get_subarray to return a value, not ref
* restored error check (with tweak)
6 years ago