Behdad Esfahbod
84d4bb91ce
[hdmx] Minor
7 years ago
Behdad Esfahbod
cf7a6e520e
[hdmx] Move DeviceRecord to toplevel again
...
More readable.
7 years ago
Garret Rieger
96d7805a92
[subset] More complete sanitization implementation for hdmx.
7 years ago
Garret Rieger
c02532a3d2
[subset] Formatting and comments in hdmx.
7 years ago
Garret Rieger
6b372f439b
[subset] In hb-ot-hdmx-table, s/glyf/hdmx.
7 years ago
Garret Rieger
ec302ad5bd
[subset] Fail subset if a table fails to sanitize.
7 years ago
Garret Rieger
15fc45bfed
[subset] Add a unit test for hdmx subsetting.
7 years ago
Garret Rieger
aa4aa2353c
[subset] Enable hdmx subsetting.
7 years ago
Garret Rieger
bd18b6adf8
[subset] Move DeviceRecord inside of hdmx.
7 years ago
Garret Rieger
6704cded65
[subset] Add hdmx subsetting implementation.
7 years ago
Garret Rieger
84b68e5886
[subset] In hdmx serialize set the correct value of sizeDeviceRecord.
7 years ago
Garret Rieger
dddf44279f
[subset] When serializing a DeviceRecord in hdmx pad to make 32 bit aligned.
7 years ago
Garret Rieger
ab7a8f3b74
[subset] Begin implementing serialize for hdmx.
7 years ago
Garret Rieger
fe42862ab3
[subset] Sketch out a basic hb-ot-hdmx.hh.
7 years ago
Ebrahim Byagowi
4f6f7c3b22
[util] Implement ppem/ptem on hb-{shape,view} ( #811 )
7 years ago
Ebrahim Byagowi
a6bd6bcee0
[dev-run] minor
7 years ago
Ebrahim Byagowi
fa13a04cf3
[dev-run] Add gdb/lldb shortcuts
7 years ago
Rod Sheeter
4f07437dfe
[subset] sketch out dropping in-glyf instructions. Sometimes yields differnet size glyphs than fonttools, possibly due to padding not being corrected
7 years ago
Rod Sheeter
2d0265242b
[subset] keep the result of _subset
7 years ago
Behdad Esfahbod
4fb97be78d
Add two more ragel-generated headers
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/817
7 years ago
Rod Sheeter
74e0c13a4a
[subset] drop hint tables if so flagged. Still need to dump glyf instructions.
7 years ago
Ebrahim Byagowi
edee28801e
Add .editorconfig ( #810 )
...
More information: http://editorconfig.org/
7 years ago
Rod Sheeter
0bd100e144
[subset] add --hinting flag
7 years ago
Rod Sheeter
7ecca8c0a8
[subset] keep the result of _subset
7 years ago
Behdad Esfahbod
eada749e46
Use HB_SET_VALUE_INVALID consistently
7 years ago
Garret Rieger
2cc845f311
[subset] fix calculation of range shiftz. Should be 16 * len - searchRange not 16 * (len - searchRange).
7 years ago
Garret Rieger
8e614ade5a
[subset] Reverse table order for font serialization to match what OTS expects.
7 years ago
Garret Rieger
a998eeee4a
[subset] sanity check glyph data writes during glyph subsetting to ensure they are inbounds.
7 years ago
Garret Rieger
0ab73e5942
[subset] Sanity check that loca writes are inbounds.
7 years ago
Garret Rieger
73e20ec6e9
Merge pull request #812 from googlefonts/cleanup
...
Clean up of glyf subsetting.
7 years ago
Behdad Esfahbod
6ae4013f2e
[aat] Cosmetic touch-ups to trak table
7 years ago
Behdad Esfahbod
abc82b493e
Add Ragel-generated files to git
...
I know it's bad form; I know I've said no to this multiple times...
But this is part of an experiment to see if we can make rolling HarfBuzz
into Chrome much faster. That will give us a lot more testing exposure
that currently Chrome does.
Doing this while those files are still considered ignored by our
gitignore rules; will see how that flies.
7 years ago
Garret Rieger
69e443b254
[subset] Switch to hb_blob_copy_writable_or_fail in glyf subsetting.
7 years ago
Garret Rieger
e3e0ac9823
[subset] Move glyf subsetting code into hb-ot-glyf-table.hh
7 years ago
Behdad Esfahbod
d1f16fce96
Don't use %zu
...
Some of our bots / compilers don't like it. Wasn't caught by bots because this
is only in debug code.
825ad378e0
7 years ago
Ebrahim Byagowi
c7e834a2fc
[dev-run] minor
7 years ago
Ebrahim Byagowi
975c35214f
[dev-run] Support autotools builds
7 years ago
Dominik Röttsches
25136d9b72
Use %zu format specifier for size_t to fix cross platform build
...
Fixes Chromium Android builds, compare
https://ci.chromium.org/buildbot/tryserver.chromium.android/linux_android_rel_ng/491787
7 years ago
Ebrahim Byagowi
53cf61b029
Change Alpine and ArchLinux bot to test O3 and O0 on gcc, #801
7 years ago
Ebrahim Byagowi
a64eacd8a6
[aat] First dig on 'trak'
7 years ago
Behdad Esfahbod
0bff6991de
Ugh. Really fix build.
7 years ago
Behdad Esfahbod
4fcbd22b18
Fix build after previous commit
7 years ago
Behdad Esfahbod
0bbf90ded0
[subset] Don't include hb-subset.h from hb.h
7 years ago
Ebrahim Byagowi
fde04777d1
Check availability of entr instead now that this works with it
7 years ago
Ebrahim Byagowi
b095ce59eb
Simplify hb-fuzzer output printing and fix ArchLinux bot
7 years ago
Ebrahim Byagowi
be51f763a7
Test debug builds on ArchLinux bot
...
Fixes #805
7 years ago
Behdad Esfahbod
e2d2d81984
Limit how much work sanitize() can do
...
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6022
7 years ago
Behdad Esfahbod
7033fe5877
[aat] Minor
7 years ago
Behdad Esfahbod
6fa690c75a
Fix debug build
...
Context needs to be called 'c'. The TRACE_* rely on that.
7 years ago
Behdad Esfahbod
05d1e77db8
[aat] Silence warning
7 years ago