Garret Rieger
|
e5edcc81bf
|
[subset] Fix codepoint iteration in hb-subset-test.
|
7 years ago |
Garret Rieger
|
8b1dbbef1a
|
Fix compile error in hb-subset-test.
|
7 years ago |
Rod Sheeter
|
a0fe3011ba
|
copy all cmap groups at once
|
7 years ago |
Garret Rieger
|
d008b62887
|
Merge remote-tracking branch 'upstream/master' into fixed
|
7 years ago |
Garret Rieger
|
b0eefacf4c
|
[subset] Drop GSUB, GDEF, GPOS, and DSIG from subsetter expected test outputs.
|
7 years ago |
Garret Rieger
|
89f17e3965
|
[subset] capitalize dsig.
|
7 years ago |
Garret Rieger
|
df6d780355
|
[subset] Extract maxp subsetting into hb-ot-maxp-table.
|
7 years ago |
Garret Rieger
|
865b6971ad
|
[subset] Add a test for OS/2 fixes during subsetting.
|
7 years ago |
Garret Rieger
|
343dfe8965
|
[subset] white and add inline in hb-ot-cmap-table.
|
7 years ago |
Garret Rieger
|
24904383df
|
[subset] Correct usFirstCharIndex and usLastCharIndex in OS2 table when subsetting.
|
7 years ago |
Ebrahim Byagowi
|
109314cb55
|
Another attempt on fixing the tests on Travis (#788)
|
7 years ago |
Behdad Esfahbod
|
694eaf6367
|
[set] Add backwards iterator
New API:
- hb_set_previous()
- hb_set_previous_range()
|
7 years ago |
Behdad Esfahbod
|
fe3bc524bd
|
[set] Allow starting iteration from a non-member of the set
|
7 years ago |
Behdad Esfahbod
|
a989f3edec
|
Add hb_blob_copy_writable_or_fail()
New API:
- hb_blob_copy_writable_or_fail()
|
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
|
507804479a
|
[use] Add dump-use-data
|
7 years ago |
Behdad Esfahbod
|
15ba4fbe01
|
[khmer] Add dump-khmer-data
|
7 years ago |
Behdad Esfahbod
|
effddd03bd
|
[myanmar] Add dump-myanmar-data
|
7 years ago |
Behdad Esfahbod
|
c0e45b60a0
|
[indic] Rename print-indic-table to dump-indic-data
Makes more sense given what this prints, err, dumps.
|
7 years ago |
Behdad Esfahbod
|
9b878bd216
|
[indic] Explicitly number indic_position_t
So it's easier to cross-reference from output of print-indic-table.
|
7 years ago |
Behdad Esfahbod
|
8634846a0a
|
More tweaking linker and linker flags
|
7 years ago |
Behdad Esfahbod
|
d830d3d244
|
[indic] Share some copy/pasta code
|
7 years ago |
Behdad Esfahbod
|
397ed53e55
|
[indic] Add print-indic-table
|
7 years ago |
Behdad Esfahbod
|
fd0bde6325
|
[subset] Fix loca offsets
Was writing source font's offsets. Ouch.
|
7 years ago |
Behdad Esfahbod
|
aeed082e28
|
Another tweak at libstdc++ things
To fix this warning:
cc1: warning: command line option ‘-fno-threadsafe-statics’ is valid for C++/ObjC++ but not for C
|
7 years ago |
Behdad Esfahbod
|
c7d7c9898e
|
[aat] Minor
|
7 years ago |
Behdad Esfahbod
|
2dbfeecf96
|
Minor
|
7 years ago |
Behdad Esfahbod
|
d5b33f2fe1
|
[subset] hb_subset_input_t changes
|
7 years ago |
Behdad Esfahbod
|
28e63a1287
|
Disable threadsafe static's for all libraries
Even in libharfbuzz-subset, we still will handle our own threadsafety
for statics.
|
7 years ago |
Ebrahim Byagowi
|
7caddb51b1
|
Specify the project name for coverity, trying to fix #785
|
7 years ago |
Behdad Esfahbod
|
b969a82e30
|
Pass no-libstdc++ flags only to libraries suppressing it
|
7 years ago |
Behdad Esfahbod
|
97a2f03200
|
[subset] Allocate bulk memory with malloc(), not calloc()
We use calloc() to allocate simple structs and set them to zero.
For bulk memory, use malloc() that doesn't zero.
|
7 years ago |
Behdad Esfahbod
|
96f1f52ea3
|
Use hb_face_get_upem() instead of face->get_upem()
Such that hmtx accelerator can be used from libharfbuzz-subset.
|
7 years ago |
Behdad Esfahbod
|
3d66f441cc
|
[subset] Remove unreachable code
sanitizer.sanitize never return nullptr.
|
7 years ago |
Behdad Esfahbod
|
42040a273f
|
Allow libharfbuzz-subset to link to libstdc++
We want to use it instead of reinventing hashmap...
Also, don't change linker for ICU since libicu also uses libstdc++.
|
7 years ago |
Ebrahim Byagowi
|
4af3c5e258
|
Move linker specifying to a better place
|
7 years ago |
Garret Rieger
|
8cf8b78faa
|
[subset] whitespace
|
7 years ago |
Rod Sheeter
|
d1a4d5616f
|
output format 12 as enc 10 to match how Roboto did it
|
7 years ago |
Rod Sheeter
|
89ee20f1a3
|
basic wiring for a (failing) cmap test
|
7 years ago |
Rod Sheeter
|
afb1da3a18
|
auto-completed the wrong gids_to_retain
|
7 years ago |
Rod Sheeter
|
1330edc4fe
|
Use functions to get new gids. Avoid 0; fonttools drops it from cmap.
|
7 years ago |
Garret Rieger
|
1639bdd331
|
[subset] Remove test-subset, testing is planned to be done at the table level here with test/subset covering the complete subsetting operation.
|
7 years ago |
Garret Rieger
|
4cdd1b16c9
|
[subset] added todo in test-subset-glyf.
|
7 years ago |
Garret Rieger
|
1714feef4f
|
[subset] re-enable test-subset-glyf. Refactor to use common functions in hb-subset-test.h
|
7 years ago |
Garret Rieger
|
d8d8bd8405
|
[subset] Add some helper functions for writing tests around subsetting.
|
7 years ago |
Garret Rieger
|
e8318188c0
|
[subset] Fix loca generation, was previously writing the original glyph starting offset.
|
7 years ago |
Khaled Hosny
|
0b94d590d9
|
Rename --with-stdcpp → --with-libstdc++
Also improve wording a bit and fix make check in --with-libstdc++=yes.
|
7 years ago |
Rod Sheeter
|
a5713bc2cb
|
we love all our groups
|
7 years ago |
Rod Sheeter
|
692f86e569
|
drop GDEF, GPOS, GSUB, and dsig
|
7 years ago |
Garret Rieger
|
83e1ef9215
|
[subset] Set the new number of glyphs in maxp.
|
7 years ago |