|
56738429
|
2018-10-30T01:33:22
|
|
[test] Fix warnings
|
|
7170e350
|
2018-10-29T13:11:01
|
|
Rename deprecated symbols list file name and clean it up (#1328)
|
|
c929ccfc
|
2018-10-29T08:41:13
|
|
[ot-color/png] Consider strike ppem on scaling
|
|
307d6186
|
2018-10-29T00:03:01
|
|
[ot-color] Make PNGHeader reading actually work
|
|
632e9af8
|
2018-10-28T23:43:50
|
|
[ot-color] Implement PNGHeader and test it, it doesn't work however
|
|
3d4c1f6a
|
2018-10-28T21:38:56
|
|
[ot-color] Apply Behdad reviews
|
|
8ef0d2ef
|
2018-10-28T20:09:40
|
|
[ot-color] Apply Behdad comment
|
|
dbd419be
|
2018-10-27T15:15:24
|
|
[ot-color] Add public API for CBDT/sbix/SVG color Emojis
|
|
524e854c
|
2018-10-27T15:04:43
|
|
Merge pull request #1318 from ebraminio/png
Add a non-hooked _png _svg get emoji blob
|
|
8180c37d
|
2018-10-27T14:45:00
|
|
[ot-color] Remove _png and _svg public APIs
|
|
9435fb24
|
2018-10-27T13:32:14
|
|
[ot-color/png] Implement CBDT part
|
|
265ad408
|
2018-10-26T23:55:11
|
|
[ot-color/png] Implement sbix part
|
|
143ffe65
|
2018-10-26T12:14:30
|
|
[fuzz] Add a new testcase
|
|
30f18039
|
2018-10-26T09:34:34
|
|
[svg] Rename _svg_create_blob to _glyph_reference_blob_svg
|
|
5cb1ce86
|
2018-10-25T22:39:58
|
|
[svg] Collapse SVGDocumentIndex into SVG
|
|
4ceabb8c
|
2018-10-25T21:52:35
|
|
[svg] Hide start_glyph and end_glyph from API
|
|
c7a4e3df
|
2018-10-23T18:00:48
|
|
[svg] Add public API
* hb_ot_color_has_svg
* hb_ot_color_glyph_svg_create_blob
|
|
7997144b
|
2018-10-22T13:02:04
|
|
[color] Revamp palette API
|
|
1de17bdb
|
2018-10-22T10:29:01
|
|
[colr] Add hb_ot_color_layer_t
We never return parallel arrays from functions. That's inconvenient
and hard to bind.
|
|
3b3668ac
|
2018-10-21T19:23:11
|
|
[color] Rename / reorder a bit
Implement has_data() for realz.
|
|
9085a72d
|
2018-10-21T19:08:25
|
|
[cpal] Touch up palette flags
|
|
d440c8d3
|
2018-10-22T22:07:59
|
|
Add chromacheck Emoji test fonts and minor preparations (#1294)
|
|
44f79b4b
|
2018-10-21T10:17:34
|
|
Remove _palette_entry_count as can be done with _palette_colors
|
|
6795dcfc
|
2018-10-21T09:51:15
|
|
[test] Test hb_ot_color_has_{colr,cpal}_data
|
|
b8ee3a0e
|
2018-10-21T09:44:16
|
|
[CPAL] Add palette entry and enable palette flag API
|
|
d4261b4b
|
2018-10-21T08:48:07
|
|
Add API test for hb_ot_color_get_color_layers
|
|
456978d4
|
2018-10-21T08:26:40
|
|
Address COLR/CPAL reviews and revive cpal_v1 tests
|
|
e9d798dc
|
2018-10-19T18:30:01
|
|
[test] Use hb_test_open_font_file
|
|
e8a6f5b8
|
2018-10-19T18:23:42
|
|
Add three macros for separating color channels
|
|
0e33467e
|
2018-10-19T17:44:06
|
|
Make ot-color tests pass
|
|
d4e928b1
|
2018-05-01T17:16:46
|
|
[color] Minimal API for COLR/CPAL
|
|
c110878c
|
2018-10-21T11:07:17
|
|
[test] Unify font file opening across the tests
|
|
8931bc4a
|
2018-10-20T23:23:32
|
|
[test] Fix -Wunused-parameter on test-font.c
|
|
f11c5576
|
2018-10-20T11:56:30
|
|
[test] Fix leak
|
|
f70f9941
|
2018-10-19T20:00:36
|
|
Minor
|
|
4e09fb8f
|
2018-10-19T19:59:41
|
|
Oops. Fix build
|
|
9e288d29
|
2018-10-19T19:47:27
|
|
[test-map] Cosmetic
|
|
77d5c3df
|
2018-10-19T19:01:01
|
|
[font] Add failing test amongst font-func parallels infinite-looping
Reported by Nona while updating Android to HarfBuzz 2.0.0.
|
|
114f66dd
|
2018-10-19T12:05:26
|
|
Fix hb_map_is_empty logic
This needs reviewing
|
|
9df2fb16
|
2018-10-19T12:04:47
|
|
Add API tests for hb_map_t
|
|
8a5eba71
|
2018-10-19T10:20:16
|
|
[test] cosmetic, use g_assert_cmpint
|
|
c6eb5e85
|
2018-10-19T10:14:25
|
|
Don't report deprecated symbols as unused symbols
|
|
34f357c7
|
2018-10-19T10:13:53
|
|
Add test for hb_set_del
|
|
535ca678
|
2018-10-18T05:58:04
|
|
[test] Don't use newer glib API
|
|
3341c7fb
|
2018-10-17T15:04:35
|
|
[fuzzing] Move fuzzing fonts from api/ here
|
|
61510b63
|
2018-10-16T14:17:21
|
|
[test] Minor cleanup in test-multithread and test-ot-name (#1256)
|
|
c0a6814b
|
2018-10-12T16:05:56
|
|
Touch up new API
New API:
+hb_ot_layout_feature_get_name_ids()
+hb_ot_layout_feature_get_characters()
|
|
dc49bd8d
|
2018-10-12T03:00:59
|
|
Add two APIs for getting stylistic set labels
* hb_ot_layout_feature_get_characters
* hb_ot_layout_feature_get_name_ids
However HarfBuzz currently doesn't expose an API for retrieving the actual
information associated with NameId from the `name` table and that should be
done separately.
|
|
28d091d0
|
2018-10-11T17:15:22
|
|
Parse Indic3 tags
|
|
1d995a34
|
2018-10-11T15:42:54
|
|
Minor
|
|
57b05210
|
2018-10-11T15:03:21
|
|
[test] Fix use of deprecated symbols
|
|
7f1fbfe2
|
2018-07-23T21:19:23
|
|
Add hb_ot_tags_to_script_and_language
|
|
7c7cb2a9
|
2018-01-20T15:53:09
|
|
Match extlang subtags
If the second subtag of a BCP 47 tag is three letters long, it denotes
an extended language. The tag converter ignores the language subtag and
uses the extended language instead.
There are some grandfathered exceptions, which are handled earlier.
|
|
2f1f961c
|
2017-12-08T22:45:52
|
|
Autogenerate the BCP 47 to OpenType mappings
The new script, gen-tag-table.py, generates `ot_languages` automatically
from the [OpenType language system tag registry][ot] and the [IANA
Language Subtag Registry][bcp47] with some manual modifications. If an
OpenType tag maps to a BCP 47 macrolanguage, all the macrolanguage's
individual languages are mapped to the same OpenType tag, except for
individual languages with their own OpenType mappings. Deprecated
BCP 47 tags are canonicalized.
[ot]: https://docs.microsoft.com/en-us/typography/opentype/spec/languagetags
[bcp47]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
Some OpenType tags correspond to multiple ISO 639 codes. The mapping
from ISO 639 codes lists OpenType tags in priority order, such that more
specific or more likely tags appear first.
Some OpenType tags have no corresponding ISO 639 code in the registry so
their mappings use BCP 47 subtags besides the language. For example, any
BCP 47 tag with a fonipa variant subtag is mapped to 'IPPH', and 'IPPH'
is mapped back to und-fonipa.
Other OpenType tags have no corresponding ISO 639 code because it is not
clear what they are for. HarfBuzz just ignores these tags.
One such ignored tag is 'ZHP ' (Chinese Phonetic). It probably means
zh-Latn. However, it is used in Microsoft JhengHei and Microsoft YaHei
with the script tag 'hani', implying that it is not a romanization
scheme after all. It would be simple enough to add this mapping to
gen-tag-table.py once a definitive mapping is determined.
The manual modifications are mainly either obvious mappings that the
OpenType registry omits or mappings for compatibility with previous
versions of HarfBuzz. Some of the old mappings were discarded, though,
for homophonous language names. For example, OpenType maps 'KUI ' to
kxu; previous versions of HarfBuzz also mapped it to kvd, because kvd
and kxu both happen to be called "Kui".
gen-tag-table.py also generates a function to convert multi-subtag tags
like el-polyton and zh-HK to OpenType tags, replacing `ot_languages_zh`
and the hard-coded list of special cases in `hb_ot_tags_from_language`.
It also generates a function to convert OpenType tags to BCP 47,
replacing the hard-coded list of special cases in
`hb_ot_tag_to_language`.
|
|
91067716
|
2017-12-08T11:21:14
|
|
Refactor the selection of script and language tags
The old hb-ot-tag.cc functions, `hb_ot_tags_from_script` and
`hb_ot_tag_from_language`, are now wrappers around a new function:
`hb_ot_tags`. It converts a script and a language to arrays of script
tags and language tags. This will make it easier to add new script tags
to scripts, like 'dev3'. It also allows for language fallback chains;
nothing produces more than one language yet though.
Where the old functions return the default tags 'DFLT' and 'dflt',
`hb_ot_tags` returns an empty array. The caller is responsible for
using the default tag in that case.
The new function also adds a new private use subtag syntax for script
overrides: "x-hbscabcd" requests a script tag of 'abcd'.
The old hb-ot-layout.cc functions,`hb_ot_layout_table_choose_script` and
`hb_ot_layout_script_find_language` are now wrappers around the new
functions `hb_ot_layout_table_select_script` and
`hb_ot_layout_script_select_language`. They are essentially the same as
the old ones plus a tag count parameter.
Closes #495.
|
|
1e8fdd28
|
2018-10-10T16:32:35
|
|
Remove HAVE_OT
We never tested compiling without it. Just kill it. We always build
our own shaper.
|
|
be2f148d
|
2018-10-09T16:24:50
|
|
[ft] Use mutex to lock access to FT_Face
Makes our FT-backed hb_font_t safe to use from multiple threads. Still,
the underlying FT_Face should NOT be used from other threads by client
or other libraries.
Maybe I add a lock()/unlock() public API ala PangoFT2 and cairo-ft.
Maybe not.
|
|
9f79365c
|
2018-10-09T14:36:25
|
|
Fix warning
How come this one is not generated by clang everything bot?!
../../../test/api/test-multithread.c:37:26: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
static char *font_path = "fonts/Inconsolata-Regular.abc.ttf";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../test/api/test-multithread.c:38:21: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|
4035158d
|
2018-07-25T18:26:10
|
|
test/api/test-subset-*.c: Fix build on pre-C99
Ensure that we have the variables at the beginning of the block. These
are the only fixes that we need for building HarfBuzz on older
compilers.
|
|
eb2be97f
|
2018-10-09T07:48:52
|
|
Port test off deprecated API
|
|
a353c176
|
2018-10-09T01:05:28
|
|
Remove test for deprecated hb_set_invert()
|
|
fc509165
|
2018-10-09T00:39:42
|
|
Remove deprecated decompose_compatibility stuff
|
|
eed737f6
|
2018-10-09T00:33:30
|
|
Remove deprecated eastasian_width
|
|
f92330b5
|
2018-10-07T17:51:50
|
|
Minor
|
|
4146c00c
|
2018-10-03T21:26:58
|
|
[test] Use an in-repo font for test-multithread (#1218)
As Khaled's suggestion, hard-coded font paths was only for my own testing.
|
|
7a1ab046
|
2018-10-03T23:22:43
|
|
Fix test-multithread build on FreeBSD (#1217)
Add the default font path used by FreeBSD ports.
|
|
bf5088b3
|
2018-10-02T11:07:06
|
|
Minor, fix -Weverthing bot warnings (#1210)
|
|
dcfcb950
|
2018-09-30T18:14:50
|
|
[test] Fix -Wunused-parameter warnings
|
|
be0b2ed3
|
2018-09-30T18:01:20
|
|
More warning fixes
|
|
cefdef02
|
2018-09-29T10:19:54
|
|
Minor on test-multithread, align the actual and expected results
|
|
c763b944
|
2018-09-28T20:53:07
|
|
[test-multithread] Disable FreeType funcs
|
|
7b68edf2
|
2018-09-28T20:53:48
|
|
[tests] Don't try to get glyph names on failures
As it may cause a race unrelated to the issue actually happened
|
|
33231a85
|
2018-09-28T11:06:49
|
|
Fix pthread fail for real
Using a hack...
|
|
8cb8209c
|
2018-09-28T10:55:28
|
|
Fix bot fails
|
|
4cd342ba
|
2018-09-28T09:47:45
|
|
Fix ubsan bot
|
|
7e6e094a
|
2018-09-28T08:45:57
|
|
[test-multithread] Install ot funcs before filling ref buffer
|
|
21fbee83
|
2018-09-28T08:43:37
|
|
[test-multithread] Take num-threads and num-iters from command-line
|
|
598be3bb
|
2018-09-28T08:33:26
|
|
Minor
|
|
c09bf3d5
|
2018-09-28T16:13:01
|
|
test-multithread, check the results on every iteration (#1194)
|
|
dbc3070a
|
2018-09-28T16:01:15
|
|
Make test-multithread pass the tsan bot test (#1193)
|
|
d183b33c
|
2018-09-26T16:29:35
|
|
Rename test
|
|
39da1914
|
2018-09-26T23:32:45
|
|
Test freetype funcs on test-multithread (#1187)
|
|
e88009a9
|
2018-09-26T22:53:02
|
|
Minor, remove the no longer needed comment on test-multithread
|
|
34d5a259
|
2018-09-26T15:02:21
|
|
Fix test-multithread and increase num_threads to 30
What were you thinking? ;)
|
|
8bb73dad
|
2018-09-26T20:50:51
|
|
Add a multithreaded test (#1184)
|
|
d07f3111
|
2018-09-24T13:01:35
|
|
Link API test programs with C++ linker
Needed to make ubsan work.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1174
|
|
40301948
|
2018-09-22T17:24:03
|
|
Fix test-subset-* leak issues
See also https://github.com/harfbuzz/harfbuzz/pull/1169
|
|
f6ebe1f4
|
2018-09-22T17:05:52
|
|
Fix test-ot-math leak issue
See also https://github.com/harfbuzz/harfbuzz/pull/1169
|
|
669ac81a
|
2018-09-22T16:49:23
|
|
Fix test-set leak issue
See also https://github.com/harfbuzz/harfbuzz/pull/1169
|
|
ef9307fd
|
2018-09-22T16:45:31
|
|
Fix test-font leak issue
See also https://github.com/harfbuzz/harfbuzz/pull/1169
|
|
21bf1470
|
2018-09-05T18:04:52
|
|
[subset] Fix hdmx subsetted size calculation.
|
|
93fe0faa
|
2018-08-29T18:24:03
|
|
[subset] Clean up hb_subset_input_t API
|
|
f39166f0
|
2018-08-29T18:09:55
|
|
[subset] Remove unused hb_subset_profile_t
We might reintroduce it later, but for now remove, as it was unused.
Some things that should have been in this object (drop_hints, etc)
are already in hb_subset_input_t. So, for now, keep everything there.
|
|
dae39c58
|
2018-08-25T22:44:39
|
|
[face] Introduce character-map API
New API:
+hb_face_collect_unicodes
+hb_face_collect_variation_selectors
+hb_face_collect_variation_unicodes
|
|
c77ae408
|
2018-08-25T22:36:36
|
|
Rename hb-*private.hh to hb-*.hh
Sorry for the noise, downstream custom builders. Please adjust.
|
|
d60c4656
|
2018-08-25T08:47:06
|
|
Rename get_all_codepoints() to collect_unicodes()
|
|
2bdd903c
|
2018-07-31T17:44:02
|
|
[subset] limit the max codepoint value to the unicode limit.
When collecting all codepoints in the cmap avoid using large amount of memory for fonts that declare coverage over all 32 bit integers.
|
|
7278d9df
|
2018-07-31T17:59:19
|
|
[subset] Add hb_ot_layout_collect_features to harfbuzz-sections.txt.
Add the fuzzer test case for feature collection timeout.
|
|
5edf454a
|
2018-07-26T17:42:02
|
|
[subset] During lookup collection remember the features we've already processed.
|
|
019d18e9
|
2018-07-17T10:59:19
|
|
Minor
|