Garret Rieger
|
c817992f49
|
[subset] Write out a format 4, plat 0 encoding record to match fontTools.
|
2018-05-04 11:20:03 -07:00 |
Garret Rieger
|
9ef55a4c13
|
[subset] A few bug fixes for cmap format 4 subsetting.
|
2018-05-04 11:20:03 -07:00 |
Garret Rieger
|
81ea75f5c8
|
[subset] Complete implementation of cmap4 subsetting.
|
2018-05-04 11:20:03 -07:00 |
Garret Rieger
|
4195a52b04
|
[subset] WIP implementation of serialize for cmap format 4.
|
2018-05-04 11:20:03 -07:00 |
Garret Rieger
|
cfa592d31c
|
[subset] Add an implement for cmap format 4 create_sub_table_plan.
|
2018-05-04 11:20:03 -07:00 |
Garret Rieger
|
295d67ea7d
|
[subset] WIP cmap format 4 subsetting.
|
2018-05-04 11:20:03 -07:00 |
Garret Rieger
|
0053d13283
|
[subset] Refactor cmap subsetting to make it possible to add support for more sub tables.
|
2018-05-04 11:20:03 -07:00 |
Behdad Esfahbod
|
5b93f69169
|
Rename some X-terminated members to Z-terminated
X-terminated means don't access this, it's not located correctly.
Z-terminated means this is a C array with no bound checking.
|
2018-05-02 14:59:14 -04:00 |
Behdad Esfahbod
|
37b95612d4
|
Remove hb_auto_array_t
Part of https://github.com/harfbuzz/harfbuzz/issues/1017
|
2018-05-01 19:09:00 -04:00 |
Behdad Esfahbod
|
5c3112aec8
|
s/hb_prealloced_array_t/hb_vector_t/g
Part of https://github.com/harfbuzz/harfbuzz/issues/1017
|
2018-05-01 19:07:04 -04:00 |
Garret Rieger
|
5e318e09ba
|
[subset] Fix broken cmap creation.
It was ignoring the restriction that gids must be consecutive to be placed into a single group.
|
2018-04-19 12:51:51 -06:00 |
Garret Rieger
|
5dadbb0fa0
|
[subset] Add implementation of cmap format 12 codepoint listing. (#988)
|
2018-04-17 15:00:23 +02:00 |
Garret Rieger
|
39754fb659
|
[subset] Don't assume the last segment in cmap 4 can be skipped, actually check it.
|
2018-04-16 16:29:26 -06:00 |
Garret Rieger
|
21a181af2b
|
[subset] sketch out support for a call that lists all codepoints present in a font. Implement support for it in format 4 cmap sub table.
|
2018-04-16 16:29:26 -06:00 |
Ebrahim Byagowi
|
435b1878e7
|
Rename UINT24 to HBUINT24 for consistency (#983)
|
2018-04-15 21:18:48 +04:30 |
Ebrahim Byagowi
|
f24b0b9728
|
Update the links and revive the dead ones
|
2018-04-12 13:44:32 +04:30 |
Ebrahim Byagowi
|
b799fc8077
|
minor, use LOffsetTo and LArrayOf whenever possible (#966)
|
2018-04-11 18:36:09 +04:30 |
Garret Rieger
|
0fb8a5ce19
|
[subset] Fix memory leak in cmap subsetting.
|
2018-02-23 15:37:43 -08:00 |
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
|
2018-02-20 10:32:09 -08:00 |
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
|
2018-02-20 14:01:15 +02:00 |
Behdad Esfahbod
|
6fa690c75a
|
Fix debug build
Context needs to be called 'c'. The TRACE_* rely on that.
|
2018-02-18 16:27:59 -08:00 |
Rod Sheeter
|
1725c35da0
|
[subset] cmap space bracket
|
2018-02-14 19:36:33 -08:00 |
Behdad Esfahbod
|
b1bd0b5f50
|
[subset] Minor
|
2018-02-14 18:50:19 -08:00 |
Rod Sheeter
|
3ed70e5e64
|
[subset] return bool not hb_bool_t from table::subset
|
2018-02-14 15:24:49 -08:00 |
Rod Sheeter
|
88d56e241b
|
[subset] Use a supplier instead of memcpy and fix a few unnecessary {}s for cmap
|
2018-02-14 15:20:43 -08:00 |
Rod Sheeter
|
fa87770372
|
[subset] First pass at hmtx
|
2018-02-14 14:53:10 -08:00 |
Rod Sheeter
|
a0fe3011ba
|
copy all cmap groups at once
|
2018-02-14 10:52:41 -08:00 |
Garret Rieger
|
343dfe8965
|
[subset] white and add inline in hb-ot-cmap-table.
|
2018-02-14 10:19:50 -08:00 |
Rod Sheeter
|
d1a4d5616f
|
output format 12 as enc 10 to match how Roboto did it
|
2018-02-12 16:25:32 -08:00 |
Rod Sheeter
|
1330edc4fe
|
Use functions to get new gids. Avoid 0; fonttools drops it from cmap.
|
2018-02-12 14:29:23 -08:00 |
Rod Sheeter
|
a5713bc2cb
|
we love all our groups
|
2018-02-12 11:30:57 -08:00 |
Rod Sheeter
|
0301e5be28
|
Build a working cmap format 12
|
2018-02-12 10:12:11 -08:00 |
Behdad Esfahbod
|
41906cd5ef
|
[subset] Another fixup
I broke this in c31fcf4c58
|
2018-02-11 19:46:06 -06:00 |
Behdad Esfahbod
|
9aa2eb61e6
|
Minor
|
2018-02-11 19:00:49 -06:00 |
Behdad Esfahbod
|
c31fcf4c58
|
[subset] Replace auto_array with prealloced_array
auto_array has constructor/destructor. Cannot be used in POD object, as the clang
bots all noticed...
|
2018-02-10 14:20:10 -06:00 |
Rod Sheeter
|
9275bd03ea
|
First pass at building a cmap
|
2018-02-09 17:40:52 -08:00 |
Rod Sheeter
|
1cd98d05e0
|
Create the groups for a cmap format12. Does not yet build the actual table.
|
2018-02-08 19:39:57 -08:00 |
Rod Sheeter
|
59c658c8d5
|
capture codepoints sorted so we can use them for cmap later. one day we will have a map
|
2018-02-08 19:22:47 -08:00 |
Behdad Esfahbod
|
9682ef135f
|
Minor fixups
|
2018-02-08 17:35:57 -06:00 |
Rod Sheeter
|
13193a9b97
|
move to the hb_face_t dest pattern
|
2018-02-08 17:31:11 -06:00 |
Rod Sheeter
|
0859a00669
|
sketch a subset<T> and call it for cmap. Add subset to cmap, albeit not working even for the msot basic case just yet
|
2018-02-08 17:31:11 -06:00 |
Behdad Esfahbod
|
6b19178ee3
|
Prefix int types with HB
Such a headache that Windows defines UINT8, ...; Just prefix it.
|
2018-01-10 03:07:30 +01:00 |
Behdad Esfahbod
|
470fe5b603
|
[aat] Implement Lookup table
Untested, but compiles.
|
2018-01-10 02:50:49 +01:00 |
Behdad Esfahbod
|
6f335ed1e5
|
Replace USHORT/SHORT/ULONG/etc with UINT16/INT16/UINT32/etc
|
2017-11-14 21:06:07 -08:00 |
Behdad Esfahbod
|
977ddff1f1
|
[ot] Move hb_ot_face_cmap_accelerator_t
|
2017-11-14 20:06:19 -08:00 |
Behdad Esfahbod
|
dbdbfe3d7b
|
Use nullptr instead of NULL
|
2017-10-15 12:11:08 +02:00 |
Behdad Esfahbod
|
5e156fa5ed
|
Add LOffsetTo<>
|
2017-01-22 20:28:56 -08:00 |
Behdad Esfahbod
|
23335deaad
|
[ot-font] Accelerate cmap format4 get_glyph
|
2016-02-24 20:27:13 +09:00 |
Behdad Esfahbod
|
5473ebfb84
|
[ot-font] Remove level of indirection in get_glyph_variant
|
2016-02-24 19:32:43 +09:00 |
Behdad Esfahbod
|
b47159011c
|
Define return_trace()
Not functional change (expected!).
|
2015-09-29 14:57:02 +01:00 |