|
c110878c
|
2018-10-21T11:07:17
|
|
[test] Unify font file opening across the tests
|
|
217a3728
|
2018-10-20T20:39:56
|
|
[fuzzing] Add more font
|
|
8931bc4a
|
2018-10-20T23:23:32
|
|
[test] Fix -Wunused-parameter on test-font.c
|
|
f11c5576
|
2018-10-20T11:56:30
|
|
[test] Fix leak
|
|
d39acc5a
|
2018-10-20T12:20:30
|
|
[fuzzing] Add new testcases
|
|
964ae32a
|
2018-10-20T07:39:18
|
|
Run valgrind on run-shape-fuzzer only when RUN_VALGRIND is set (#1285)
|
|
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.
|
|
257ded1f
|
2018-10-19T11:20:14
|
|
[trak] Fix test for previous fix
|
|
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
|
|
b7cef8cb
|
2018-10-19T09:24:21
|
|
Enable valgrind and dedicate a bot to it
|
|
bccd09d6
|
2018-10-19T09:06:42
|
|
Minor, tweak spaces on hb-shape-fuzzer.cc
|
|
fbf665b3
|
2018-10-19T08:09:53
|
|
[fuzz] Add more found cases (#1275)
|
|
535ca678
|
2018-10-18T05:58:04
|
|
[test] Don't use newer glib API
|
|
b9478e28
|
2018-10-17T21:52:14
|
|
Revert "[test] Remove not-fixed yet testcases (#1268)"
This reverts commit 191eef823fe95355425621f8e002dfe7fe632383.
|
|
191eef82
|
2018-10-18T08:04:18
|
|
[test] Remove not-fixed yet testcases (#1268)
I added them but now that I think, it is a bad idea to have them as
fuzzing bots will find good seeds to tweak in order to find easy new
testcases which causes duplicated issues.
|
|
392e1f4d
|
2018-10-18T07:42:20
|
|
[test/shape-fuzzer] fail on timeout and ubsan errors (#1267)
|
|
751c10e5
|
2018-10-18T06:36:48
|
|
[fuzz] Add more new testcases
|
|
fd282eb3
|
2018-10-18T06:33:39
|
|
[fuzz] Add a new testcase
|
|
3341c7fb
|
2018-10-17T15:04:35
|
|
[fuzzing] Move fuzzing fonts from api/ here
|
|
5842756b
|
2018-10-16T18:28:55
|
|
[fuzzing] Delete blink fuzzed data
These are text, not font.
|
|
ba426516
|
2018-10-16T17:35:46
|
|
Fix indent
|
|
c0c190c1
|
2018-10-16T16:39:29
|
|
[fuzzing] Run tests against fuzzing fonts
Some disable.
|
|
7b37705f
|
2018-10-16T16:33:06
|
|
[fuzzing] Rename
|
|
3676c685
|
2018-10-16T16:32:26
|
|
[fuzzing] Move rest of fuzzing tests here
|
|
1487173d
|
2018-10-16T16:30:38
|
|
[fuzzing] Delete duplicate fonts
|
|
49c041f7
|
2018-10-16T16:25:24
|
|
Minor
|
|
1147ce23
|
2018-10-16T16:18:32
|
|
[fuzzing] Add more tests
|
|
1aa353e4
|
2018-10-16T15:26:51
|
|
Fix tests
|
|
98d4ad02
|
2018-10-16T15:17:31
|
|
[fuzzing] One more
|
|
e6f267c3
|
2018-10-16T15:16:20
|
|
[fuzzing] Add more clusterfuzz tests I had lying around
|
|
e5320627
|
2018-10-17T01:42:04
|
|
Add all the fonts found by fuzzers to the repo (#1258)
|
|
2137582c
|
2018-10-16T14:46:07
|
|
[morx] Reword ligation
Still fails MORX-41. Am talking to Sascha to better understand what CoreText
is doing.
|
|
c46d42f8
|
2018-10-16T13:39:54
|
|
[test/text-rendering-tests] Update from upstream
|
|
61510b63
|
2018-10-16T14:17:21
|
|
[test] Minor cleanup in test-multithread and test-ot-name (#1256)
|
|
8dc62968
|
2018-10-15T01:09:05
|
|
[ot-font] Implement TrueType v_origin
Fixes https://github.com/harfbuzz/harfbuzz/issues/537
|
|
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.
|
|
bf8469be
|
2018-10-11T20:45:00
|
|
Attach CursivePositioning backwards, not forward
This is how Uniscribe does it. So, adjust. This is only relevant
to fonts that apply cursive positioning from a contextual lookup.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1181
|
|
bdb53ca2
|
2018-10-11T20:20:00
|
|
[myanmar] Implement Zawgyi shaper
Enabled if script tag 'Qaag' is passed to HarfBuzz. Disables mark
advance-zeroing and fallback mark-positioning.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1162
|
|
788e1478
|
2018-10-11T19:24:52
|
|
[test] Add test for USE indic3
|
|
a1197278
|
2018-10-11T19:23:36
|
|
Minor
|
|
28d091d0
|
2018-10-11T17:15:22
|
|
Parse Indic3 tags
|
|
211cd369
|
2018-10-11T17:31:29
|
|
Remove remains of get-codepoint-fuzzer
|
|
120ed027
|
2018-10-11T17:08:12
|
|
[fuzzing] Fold get-codepoints-fuzzer into subset-fuzzer
|
|
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
|
|
65d01f77
|
2018-01-18T16:33:39
|
|
Test deprecated tag fallback in a font
The font supports the deprecated tag 'DHV ' instead of 'DIV '. dv is
mapped to 'DIV ' and 'DHV ', in that order. The test specifies
`--language=dv`, demonstrating that if a font does not support the first
OpenType tag mapped to a BCP 47 tag, it will fall back to the next tag.
|
|
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.
|
|
100e95f4
|
2018-10-11T11:30:45
|
|
[trak] Add tests
|
|
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
|
|
cc126f28
|
2018-10-09T01:10:15
|
|
Minor
|
|
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
|
|
9c1bb81f
|
2018-10-08T16:10:54
|
|
[test/text-rendering-tests] Update from upstream
|
|
2a5cb37f
|
2018-10-07T20:36:46
|
|
Revert "[morx] Fix MORX-35"
This reverts commit f62f6e90ad1f1a83f77771ad65ee1ffb79470a8a.
|
|
f62f6e90
|
2018-10-07T18:06:53
|
|
[morx] Fix MORX-35
Fixes https://github.com/harfbuzz/harfbuzz/issues/1224
|
|
c07b91b8
|
2018-10-07T18:00:14
|
|
[test/text-rendering-tests] Update from upstream
|
|
f92330b5
|
2018-10-07T17:51:50
|
|
Minor
|
|
e9abe339
|
2018-10-06T12:19:33
|
|
Use tempfile in run-tests as a fix for Windows CI fails (#1228)
|
|
5a41cf6b
|
2018-10-05T11:33:19
|
|
[test/text-rendering-tests] Update from upstream
|
|
7b3ae5ff
|
2018-10-04T16:36:42
|
|
More bot fixes
|
|
0abce581
|
2018-10-04T16:23:42
|
|
[test] Choose 'ot' shaper specifically
Now that we added morx support, our OS X bot is running them through CoreText
and failing (with a DoS / infinite loop no less!). Always run tests through
our own shaper.
|
|
55468ca0
|
2018-10-04T12:13:55
|
|
[test/text-rendering-tests] Update from upstream
|
|
6ff8a8a1
|
2018-10-04T12:09:45
|
|
Minor
|
|
14ff3cbe
|
2018-10-04T11:34:21
|
|
Apply morx if there's no GSUB!
|
|
81f5eb09
|
2018-10-03T21:30:48
|
|
Add emoji test for recent work
|
|
03fb6dd4
|
2018-10-03T21:02:16
|
|
Rewrite grapheme-formation in terms of new work
Also, don't attach ZWNJ to previous cluster. Closer to Unicode graphemes.
|
|
3f1c741b
|
2018-10-03T20:45:19
|
|
[test] Split a test
|
|
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.
|
|
df32eaae
|
2018-10-03T14:44:25
|
|
[indic] Disallow vowel mark combinations that spoof other vowel marks
Fixes https://github.com/harfbuzz/harfbuzz/issues/1019
New numbers:
BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%)
DEVANAGARI: 707261 out of 707394 tests passed. 133 failed (0.0188014%)
GUJARATI: 366353 out of 366457 tests passed. 104 failed (0.0283799%)
GURMUKHI: 60729 out of 60747 tests passed. 18 failed (0.0296311%)
KANNADA: 951300 out of 951913 tests passed. 613 failed (0.0643966%)
MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%)
ORIYA: 42327 out of 42329 tests passed. 2 failed (0.00472489%)
SINHALA: 271596 out of 271847 tests passed. 251 failed (0.0923313%)
TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%)
TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%)
Devanagari regressed because Uniscribe doesn't enforce the full set.
Tests added with the *-vowel-letters.txt files in tree and Noto fonts.
|
|
d3d0cbd2
|
2018-10-03T13:54:21
|
|
Typo
|
|
75114e01
|
2018-10-03T12:29:56
|
|
[use] Add Halant_Or_Vowel_Modifier category
Fixes https://github.com/harfbuzz/harfbuzz/issues/1102
|
|
6353cc1f
|
2018-10-02T21:39:19
|
|
[circleci] Fix some of warnings from clang-everything bot (#1211)
* -Wshift-sign-overflow
* -Wmissing-prototypes
|
|
9f1dee32
|
2018-10-02T18:56:20
|
|
[tests] Allow test-runner to ignore shaping output
Fixes https://github.com/harfbuzz/harfbuzz/issues/1212
|
|
d992982d
|
2018-10-02T17:16:01
|
|
[indic] Add some confusable sequences from Unicode Standard
|
|
729f6347
|
2018-10-02T14:40:14
|
|
Disable joiner-skipping when looking back for base to attach mark to
Fixes https://github.com/harfbuzz/harfbuzz/issues/1189
|
|
bf5088b3
|
2018-10-02T11:07:06
|
|
Minor, fix -Weverthing bot warnings (#1210)
|
|
f72b7483
|
2018-10-02T00:16:08
|
|
[circleci] Fix "msan" and "everything" bots (#1205)
|
|
ab4c37f7
|
2018-10-01T19:35:48
|
|
[khmer] Add mark-ordering tests
Fixes https://github.com/harfbuzz/harfbuzz/issues/667
|
|
eb1e6028
|
2018-10-01T15:31:50
|
|
[test] Try import unicodedata2 as unicodedata
|
|
0fa1edbd
|
2018-10-01T09:40:29
|
|
[circleci] Couple of fixes (#1200)
* Raise error on warnings on -everything
* Enable fontconfig to two bots
* Fix msan bot now that all of its real complain are gone
|
|
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
|