Commit Graph

5849 Commits

Author SHA1 Message Date
Ebrahim Byagowi
101850f9e6 Merge with master 2018-02-27 20:17:25 +03:30
Ebrahim Byagowi
f110c0c886
Merge pull request #838 from harfbuzz/BASE
BASE table
2018-02-27 11:41:12 +03:30
Ebrahim Byagowi
0ad8c663e0 Remove public API of the branch 2018-02-27 11:02:33 +03:30
rsheeter
4a1d51ef15
Merge pull request #818 from googlefonts/drophints
[subset] Drop hints
2018-02-26 20:23:41 -08:00
Rod Sheeter
903771b6c7 [subset] clearer name for trim() and better comment about composite handling, per review feedback 2018-02-26 19:50:06 -08:00
Garret Rieger
d0caf7e5e3
Merge pull request #840 from googlefonts/os2
[subset] During os2 subsetting update ulUnicodeRange[]c
2018-02-26 19:24:18 -07:00
Garret Rieger
44dc36dd82 [subset] update to comment in hb-ot-os2-unicode-ranges.hh 2018-02-26 17:56:23 -08:00
Garret Rieger
ad3f2f77da [subset] small cleanups in hb-ot-os2-table. 2018-02-26 17:51:27 -08:00
Garret Rieger
f1c8fc3487 [subset] small updates to gen-unicode-ranges.py 2018-02-26 17:48:51 -08:00
Garret Rieger
0c0fe2ff82 [subset] Move util/generated-unicode-ranges.py to src/gen-unicode-ranges.py 2018-02-26 17:47:10 -08:00
Garret Rieger
f630ae5161 [subset] unsigned int -> hb_codepoint_t. 2018-02-26 17:46:17 -08:00
Garret Rieger
6368ce4c92 [subset] const in _compare_range. 2018-02-26 17:44:39 -08:00
Garret Rieger
0be9fea0a9 [subset] Add comment to os2UnicodeRangesSorted. 2018-02-26 16:15:09 -08:00
Garret Rieger
e20ab71d12 [subset] Fix incorrect index. 2018-02-26 16:13:10 -08:00
Garret Rieger
074b5a29a1 [subset] Add special case handling of bit 57 in os2 ulUnicodeRange. 2018-02-26 16:11:24 -08:00
Garret Rieger
ddc4f2b9fc [subset] Add python util that was used to generated hb-ot-os2-unicode-ranges.hh 2018-02-26 16:00:33 -08:00
Garret Rieger
f757757eda [subset] Add cmake build def for test-unicode-ranges. 2018-02-26 16:00:33 -08:00
Garret Rieger
f82f2a3e50 [subset] Rename hb-os2-unicode-ranges.cc to test-unicode-ranges.cc. 2018-02-26 16:00:33 -08:00
Garret Rieger
4014555ca0 [subset] set ulUnicodeRange[] in os2. 2018-02-26 16:00:33 -08:00
Garret Rieger
a570142d0c [subset] Move hb-ot-os2-unicode-ranges into a cc file with a helper methods and tests. 2018-02-26 16:00:33 -08:00
Garret Rieger
8e81799b32 [subset] Add hb-ot-os2-unicode-ranges.hh, a map of os2 unicode ranges. 2018-02-26 16:00:33 -08:00
Ebrahim Byagowi
6c844ae8e8
[dev-run] show images using iTerm2 images feature 2018-02-26 23:04:27 +03:30
Behdad Esfahbod
28c4245e9f [aat/ankr] Define Anchor struct 2018-02-26 01:10:42 -08:00
Behdad Esfahbod
e347fb908b Minor 2018-02-26 01:08:50 -08:00
Behdad Esfahbod
05fbd14e71 [aat/ankr] Minor
DEFINE_SIZE_MIN is to be used only in rare cases. For fixed-size structs
we want DEFINE_SIZE_STATIC.
2018-02-26 01:04:16 -08:00
Behdad Esfahbod
f90cd9b1f5 [aat/ankr] Hook up Lookup table 2018-02-26 01:03:23 -08:00
Behdad Esfahbod
c36598450e [aat/ankr] Simplify 2018-02-26 00:57:07 -08:00
Behdad Esfahbod
fa3a69e233 [aat/trak] Simplify sanitize() 2018-02-26 00:32:11 -08:00
Behdad Esfahbod
f0bc6c0992 [aat/trak] Clean up
We always just used "unsigned int" for counter values. There's
no use for uint16_t outside of a struct.

Also, no need for explict casting where implicit does.
2018-02-26 00:18:17 -08:00
Ebrahim Byagowi
bb82f01383 [aat] trak sanitization 2018-02-26 00:15:26 -08:00
Ebrahim Byagowi
becb1d9eea
[aat] minor
Ops, this was done for testing
2018-02-26 11:29:48 +03:30
Behdad Esfahbod
df1c7d5b60 Minor 2018-02-25 19:06:25 -08:00
Behdad Esfahbod
6dd46fa598 [aat/trak] Minor
Maybe we should make DEFINE_* make structs uncopyable.
2018-02-25 18:54:52 -08:00
Ebrahim Byagowi
ae14dd0fb0 [aat] Implement ankr 2018-02-25 17:01:39 -08:00
Behdad Esfahbod
551fa2d200 [BASE] Minor 2018-02-25 16:32:17 -08:00
Behdad Esfahbod
05699fd996 Merge remote-tracking branch 'eroux/add-base' 2018-02-24 12:03:26 -08:00
Ebrahim Byagowi
a8d3c2c030
[ci] Add clang O3/O0 testers (#834) 2018-02-24 16:42:12 +03:30
Khaled Hosny
c73255f3eb Workaround for old automake on Travis Linux images
https://github.com/harfbuzz/harfbuzz/pull/821#issuecomment-368116538
2018-02-24 13:31:39 +02:00
Ebrahim Byagowi
cd28eb9f5d
Add -Werror=unused-function check to Travis (#832) 2018-02-24 14:17:54 +03:30
Ebrahim Byagowi
1ab16f4556
[aat] Implement trak logic (#816) 2018-02-24 12:49:42 +03:30
Behdad Esfahbod
b91e8da36e Include hb-version.h in git (#825) 2018-02-24 10:21:17 +03:30
Rod Sheeter
5267520e07 [subset] update hdmx test to create input explicitly 2018-02-23 18:36:22 -08:00
Rod Sheeter
2e3ee489f8 [subset] format tweak, doc string 2018-02-23 18:18:54 -08:00
Rod Sheeter
d78393b554 Merge branch 'master' of https://github.com/harfbuzz/harfbuzz into drophints 2018-02-23 17:53:26 -08:00
Rod Sheeter
1454d82a9d [subset] keep glyph trim separate of more general get_offset 2018-02-23 17:49:23 -08:00
Rod Sheeter
0ac8c0c1e6 [subset] zero glyf and loca memory before writing so pads are clean. Test just the part of maxp we care about 2018-02-23 17:43:00 -08:00
Garret Rieger
83af6c237f
Merge pull request #829 from googlefonts/test-checksum
[subset] Caclculate head table checksum adjustment
2018-02-23 18:33:25 -07:00
Behdad Esfahbod
dc5c7927e7 [subset] Caclculate head table checksum adjustment
Test still fails, because we do not serialize tables in the same
order that fonttools subsetter does.
2018-02-23 16:59:53 -08:00
Garret Rieger
7e5e1feb66
Merge pull request #828 from googlefonts/mem-fixes
[subset] Fix several memory leaks in subsetting.
2018-02-23 17:59:08 -07:00
Behdad Esfahbod
ec2538c880 [subset] Fix checksum calc out-of-bounds access 2018-02-23 15:51:26 -08:00