Garret Rieger
4665aaa193
[subset] Fix memory leak in hmtx subsetting.
7 years ago
Garret Rieger
5a36b55fba
[subset] Fix memory leak in subset face destroy.
7 years ago
Ben Boeckel
d38f37b2e3
autoconf: provide a harfbuzz-config for use from CMake ( #822 )
7 years ago
Behdad Esfahbod
e0939d811f
Clean up check-defs and check-symbols ( #821 )
...
Also, call c++filt on their results.
Also build and fix and check harfbuzz-gobject.def
Also changes harfbuzz-gobject to distribute generated enum sources.
7 years ago
Rod Sheeter
9bd6d25254
[subset] clone trim logic from fonttools glyf handling
7 years ago
Garret Rieger
b1ec821051
Merge pull request #823 from googlefonts/hdmx
...
[subset] Add hdmx subsetting.
7 years ago
Garret Rieger
e15e41ef12
[subset] Remove commented code from run-tests.py.
7 years ago
Garret Rieger
2b84480343
[subset] Update expected files for subsetting integration test to not include cmap 4.
7 years ago
Garret Rieger
a88504c601
[subset] Fix checksum clearning in subset test diff. Add an updated expected file (has cmap4 restored).
7 years ago
Garret Rieger
537698b601
[subset] Don't compare actual to itself in Fix test/subset/run-tests. Print a diff on failure.
7 years ago
Behdad Esfahbod
c2e4713b5b
[hdmx] Fix sanitize()
7 years ago
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