|
bfe0faf1
|
2017-10-22T15:54:50
|
|
[docs] Deprecate hb_set_invert()
|
|
d8adaa97
|
2017-10-20T13:57:43
|
|
Another try at fixing build bots
hb-ot-shape.cc:287:18: error: comparison of constant 32 with expression of type 'hb_unicode_general_category_t' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
|
|
6058f988
|
2017-10-19T11:39:52
|
|
Remove FLAG_SAFE()
No flag is safe, over time... See previous commit.
|
|
7c561dac
|
2017-10-19T11:35:51
|
|
[myanmar] Fix unsafe usage of FLAG_SAFE()
The commit f559c633073f63b9d87cb2440048b4413cfa1c05 caused
"undefined-shift" errors in Myanmar shaper as we changed the
numeric value of type D from 19 to 32 there, making the
"FLAG_SAFE (info.myanmar_category())" wrong.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3546
|
|
d6f612fa
|
2017-10-17T16:32:12
|
|
[bsearch] Micro-optimization
|
|
41b1984b
|
2017-10-17T15:06:31
|
|
Switch from ICU deprecated unorm_normalize to unorm2_normalize. (#569)
The new unorm2_normalize has been public API since ICU 4.4, while
the old unorm_normalize has been deprecated since ICU 56.
Now, beginning with ICU 60, unorm_normalize will also be annotated
U_DEPRECATED and trigger the compiler -Wdeprecated-declarations warning.
|
|
b98adefb
|
2017-10-17T12:00:34
|
|
Update docs symbols
|
|
ba8b5696
|
2017-10-17T11:16:36
|
|
Try fixing build on VC
c:\projects\harfbuzz\src\hb-set-private.hh(151): error C2327: 'hb_set_t::page_t::v': is not a type name, static, or enumerator [C:\projects\harfbuzz\build\harfbuzz.vcxproj]
|
|
80cc0a7e
|
2017-10-17T11:14:48
|
|
[coretext] Fix build
error: static_assert expression is not an integral constant expression
|
|
a11249ee
|
2017-10-16T01:33:32
|
|
[set] Fix merge logic
|
|
ab8f327e
|
2017-10-15T18:21:35
|
|
Ouch.
|
|
bb991791
|
2017-10-15T18:20:25
|
|
[set] Disable vectorization
Fixes clang "non-const reference cannot bind to vector element" error.
|
|
221ce6c1
|
2017-10-15T17:58:58
|
|
Fix bots
|
|
0cf7d957
|
2017-10-15T17:01:31
|
|
[set] Remove TODO items not worth pursuing
|
|
10d43658
|
2017-10-15T16:56:05
|
|
[set] Speed up intersects()
|
|
56ef4e0c
|
2017-10-15T16:38:29
|
|
Simplify hb_prealloced_array_t initialization
|
|
7737e87a
|
2017-10-15T16:21:03
|
|
Properly detect vector_size attribute and use fallback otherwise
|
|
f8a0ec50
|
2017-10-15T16:10:35
|
|
[set] Add fallback implementation of int-vector type
|
|
deed4a48
|
2017-10-15T16:53:09
|
|
Faster hb_set_t
Fixes https://github.com/behdad/harfbuzz/pull/23
|
|
1d397120
|
2017-10-15T16:15:24
|
|
Deprecate hb_set_invert()
|
|
5e74044b
|
2017-10-15T16:15:06
|
|
Add bfind() to prealloaced_array_t
|
|
db5f7ef1
|
2017-10-15T16:00:22
|
|
Inline another bsearch()
|
|
6fb4ac73
|
2017-10-15T16:00:09
|
|
Add popcount for 64bit ints
|
|
473b17af
|
2017-10-15T14:10:34
|
|
Remove unused hb_cache_t
|
|
a433e60a
|
2017-10-15T14:09:46
|
|
Remove unused hb_frozen_set_t
|
|
826a1daf
|
2017-10-15T14:09:05
|
|
Move set-digests into their own header file
|
|
3c13e153
|
2017-10-15T14:02:58
|
|
Try fixing AppVeyor bots
|
|
7e3015a3
|
2017-10-15T12:13:19
|
|
Fix warnings
|
|
2075008f
|
2017-10-15T12:12:10
|
|
Use C++11
|
|
dbdbfe3d
|
2017-10-15T12:11:08
|
|
Use nullptr instead of NULL
|
|
fbb937b6
|
2017-10-15T12:04:16
|
|
Don't use NULL in public headers
|
|
c3448e8d
|
2017-10-15T12:02:00
|
|
Use static_assert instead of custom ASSERT_STATIC
|
|
76dcbf8b
|
2017-10-15T11:24:35
|
|
Add polyfill for static_assert and nullptr
Also fix hb_assert_constant_t.
|
|
dad431e7
|
2017-10-15T10:55:32
|
|
[util] Include hb-private.hh
Simplifies compatibility issues by centralizing all boilerplate code
in hb-private.hh.
|
|
81e2b9b8
|
2017-10-15T10:48:19
|
|
Never skip over CGJ
We might want to tweak this some more. For now, never skipping over
it is better behavior than always skipping.
Part of https://github.com/behdad/harfbuzz/issues/554
|
|
25846cc3
|
2017-10-13T16:30:33
|
|
1.6.0
|
|
74f1b88e
|
2017-10-13T11:01:55
|
|
[ucdn] Fix compiler warnings
|
|
c2cf68db
|
2017-10-13T10:30:19
|
|
[coretext] Fix build
|
|
95883fc5
|
2017-10-13T10:21:07
|
|
[coretext] Pass correct font size to CoreText
CoreText "point"s are not typographic points, but CSS pixels. Ie.
they are 96 per inch, not 72 per inch.
|
|
4f9a83ec
|
2017-10-12T14:08:58
|
|
Merge remote-tracking branch 'origin/master'
|
|
fa48ccbe
|
2017-10-12T14:07:37
|
|
[indic] Special-case Kannada Ra,H,ZWJ sequence
Fixes https://github.com/behdad/harfbuzz/issues/435
|
|
40b05d7b
|
2017-10-12T12:48:48
|
|
Replacing 'cluster' with 'syllable' when comments describe certain Indic shaping behavior (#563)
* Clarified wording of syllable/cluster behavior in Uniscribe in final_reordering; changed one other probable typo.
* Additional syllable/cluster swap in comments for final reordering and for initial-reordering matra decomposition.
|
|
6bac4ac2
|
2017-10-12T15:15:49
|
|
Minor BUILD.md fix (#565)
|
|
8923033e
|
2017-10-12T12:01:48
|
|
[coretext] Use fabs() to silence compiler warning
|
|
dd4b321b
|
2017-10-12T11:49:37
|
|
[coretext] Activate tracking for system fonts
Another attempt at fully fixing
https://github.com/behdad/harfbuzz/issues/360
|
|
6760021d
|
2017-10-12T12:05:08
|
|
CMakelists.txt fix for Freetype builds (#564)
Instead of searching for freetype using pkg-config, use the FindFreetype
feature of CMake. This allows for better integration with other projects
that make use of CMake.
Fixes https://github.com/behdad/harfbuzz/issues/518
|
|
6a2cbc6e
|
2017-10-12T10:46:09
|
|
[coretext] Use fabsf() instead of abs()
Fixes bots.
Link libharfbuzz.so with -lm. Surprising that we survived without
it so far!
|
|
dfeccd07
|
2017-10-12T12:11:47
|
|
Remove nmake port of harfbuzz (#562)
|
|
4e478131
|
2017-10-12T10:33:16
|
|
[ft] Add hb_ft_font_changed()
When the font size or variations settings on underlying FT_Face change,
one can call hb_ft_font_changed() and continue using hb_font created using
hb_ft_font_create().
Fixes https://github.com/behdad/harfbuzz/issues/559
New API:
hb_ft_font_changed()
|
|
94b3cafc
|
2017-10-11T17:22:44
|
|
Add hb_face_get_table_tags()
New API:
hb_face_get_table_tags()
Fixes https://github.com/behdad/harfbuzz/issues/560
|
|
e1b6d923
|
2017-10-11T15:51:31
|
|
Remove cast of functions to (hb_destroy_func_t)
Fixes https://github.com/behdad/harfbuzz/issues/474
|
|
717fcb51
|
2017-10-11T15:38:21
|
|
[coretext] Minor
|
|
374bb48d
|
2017-10-11T15:37:50
|
|
Change ptem API to make 0 mean unset
|
|
06c14225
|
2017-10-11T15:29:53
|
|
[coretext] Minor
|
|
a4b46212
|
2017-10-11T15:29:22
|
|
[coretext] Adjust font size check for 0
|
|
269cf1ca
|
2017-10-11T15:24:22
|
|
Correctly initialize ptem
|
|
84686bf4
|
2017-10-11T15:02:48
|
|
[coretext-aat] Also pass through CoreText if font has kerx table
SFNSText has kerx table which apparently is applied.
|
|
296d0134
|
2017-10-11T14:09:30
|
|
[coretext] Change default point size to 12
|
|
7b23c286
|
2017-10-11T13:35:32
|
|
Merge branch 'coretext-optical-sizing'
Should fix https://github.com/behdad/harfbuzz/issues/360
|
|
a5ebe1d4
|
2017-10-11T13:32:38
|
|
[coretext] Recreate CTFont if pt size changed
Attempt at fixing #360
|
|
db7a73ce
|
2017-10-11T13:24:39
|
|
[coretext] Fix build
|
|
f3341307
|
2017-10-11T13:17:46
|
|
[coretext] Another try
|
|
a8e466c3
|
2017-10-11T13:05:59
|
|
[coretext] Move CT_Font to font data
Towards implementing optical sizing. Untested; won't compile.
https://github.com/behdad/harfbuzz/issues/360
|
|
f9b4c657
|
2017-10-11T12:51:25
|
|
[coretext] Move font size to a macro
|
|
8d450dd1
|
2017-10-11T12:43:46
|
|
Infrastructure for creating CTFont with correct font size
https://github.com/behdad/harfbuzz/issues/360
|
|
16d02a58
|
2017-10-11T12:28:06
|
|
[coretext] Change default font size from 36 to 18
|
|
c0c2dbc8
|
2017-10-11T12:23:35
|
|
Remove dirty tracking
Turns out I don't need this to resolve CoreText optical sizing
issue after all.
https://github.com/behdad/harfbuzz/issues/360
|
|
b57f18da
|
2017-10-11T11:47:47
|
|
Add hb_font_[sg]et_ptem() to set/get point size on font
New API:
hb_font_set_ptem()
hb_font_get_ptem()
Needed for hb-coretext optical sizing:
https://github.com/behdad/harfbuzz/issues/360
|
|
3f9370d9
|
2017-10-11T11:34:53
|
|
Fix TODO item
|
|
5f50f883
|
2017-10-07T13:17:33
|
|
[arabic] Fix cluster merging
|
|
c2545b92
|
2017-10-07T12:56:53
|
|
Add check for HB_EXTERNs
https://github.com/behdad/harfbuzz/pull/555
|
|
48a94068
|
2017-10-07T18:57:14
|
|
Fix build of HarfBuzz tools and HarfBuzz-GObject on Visual Studio (#555)
* hb-buffer.h: Mark hb_buffer_diff() for export
This will fix the tools builds on Visual Studio, as the symbol is used
by the tools.
* build: Adapt NMake Makefiles for GLib 2.53.4 or later
glib-mkenums was ported from a PERL script to a Python script, so we
need to update how we generate the enum sources for HarfBuzz-GObject in
the NMake builds. Let this be known in the build documentation for MSVC
builds.
One of the problems with the underlying cmd.exe that the NMake Makefiles
run on is that shebang lines are not recognized, so we need to to test
run the script with Python and see whether it succeeded by outputing a
source file that is larger than 0 in file size (since running the PERL
version of the script will clearly fail and cause an empty file to be
created).
If it succeeds, we then run a small Python utility script that makes the
necessary string replacements, and we are done. If that fails, then we
run the glib-mkenums script with PERL, and do the replacements with the
PERL one-liners as we did before.
We need to make replace.py use latin-1 encoding when using Python 3.x to
cope with the copyright sign that is in the generated enum sources.
|
|
c9e2cf6f
|
2017-10-04T16:59:22
|
|
[ot] Remove 'mal' and 'gle' lang tags
Fixes https://github.com/behdad/harfbuzz/issues/477
|
|
621c49cb
|
2017-10-04T15:06:48
|
|
Improve performance of ligature component matching
This O(N^2) was introduced in 8b2c94c43fd335b944d5e5487265706b8e0f9041.
Make it O(N).
|
|
ab8d70ec
|
2017-10-04T14:47:10
|
|
[arabic] Implement Unicode Arabic Mark Ordering Algorithm UTR#53
Fixes https://github.com/behdad/harfbuzz/issues/509
|
|
b6fe0ab6
|
2017-10-04T13:37:08
|
|
Add info_cc() convenience macro
|
|
7f9e7f86
|
2017-10-04T13:20:33
|
|
Adjust normalizer for out-of-order marks
We are going to implement Unicode Arabic Mark Ordering Algorithm:
http://www.unicode.org/reports/tr53/tr53-1.pdf
which will reorder marks out of their sorted ccc order. Adjust
normalizer to stop combining as soon as dangerous ordering is
detected.
|
|
a252ad61
|
2017-10-04T13:07:08
|
|
Minor
|
|
4c05a405
|
2017-10-04T13:06:51
|
|
Revert "Treat HAMZA ABOVE similar to SHADD for sorting purposes"
This reverts commit 5a330575768f5a213072230b9ec8faabac9c5737.
Proper fix coming soon.
|
|
d695cacb
|
2017-10-04T11:33:47
|
|
Shorthand format controls should not be ignored
Fixes https://github.com/behdad/harfbuzz/issues/503
|
|
50e95229
|
2017-10-04T11:28:04
|
|
Add Chinantec language tags
Fixes https://github.com/behdad/harfbuzz/issues/516
|
|
9786fcd8
|
2017-10-03T17:22:43
|
|
Fix GPOS v_origin ordering
This should affect mark attachment in vertical text. I have no font to test,
but this sounds the right order.
Noticed while debugging https://github.com/behdad/harfbuzz/issues/532
|
|
63db692f
|
2017-10-03T16:00:18
|
|
[indic] Fix shaping of U+0AFB GUJARATI SIGN SHADDA
Fixes https://github.com/behdad/harfbuzz/issues/552
|
|
f559c633
|
2017-10-03T15:20:07
|
|
[indic] Implement Consonent_With_Stacker
Fixes https://github.com/behdad/harfbuzz/issues/528
|
|
e07669fc
|
2017-10-03T14:57:14
|
|
[use] Implement Consonant_With_Stacker
Related to https://github.com/behdad/harfbuzz/issues/528
|
|
3ca9c92a
|
2017-10-03T08:07:02
|
|
Test Consonant_With_Stacker in Kannada (#530)
|
|
5d98de1f
|
2017-10-03T13:46:25
|
|
Tweak mark-base attachment
Apparently a base glyph can also become an attached component of a
ligature if the ligature-forming lookup used IgnoreBase. This was
being confused with a non-first component of a MultipleSubst and
hence not matched for mark-attachment. Tweak test to fix.
Fixes https://github.com/behdad/harfbuzz/issues/543
|
|
ea772932
|
2017-10-03T13:25:44
|
|
Merge commit 'c44657a05d565ec5f2c32ac15d4ecfbee00ac5f7'
|
|
771970ef
|
2017-10-03T13:23:31
|
|
Minor
|
|
09cbeb22
|
2017-10-03T13:22:07
|
|
Make bots happy
Fixes https://github.com/behdad/harfbuzz/issues/551
|
|
c44657a0
|
2017-10-03T13:14:17
|
|
Tweak input matching some more
Followup to 8b2c94c43fd335b944d5e5487265706b8e0f9041
Allow matching sequences of marks attached to different ligatures,
as supposedly the base of the subsequent marks were already jumped
over.
|
|
bbe94777
|
2017-10-02T22:36:14
|
|
Print test-suite.log when CI builds fail
|
|
16335139
|
2017-10-02T20:28:56
|
|
Add test for U+0A51
New Indic numbers are:
BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%)
DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%)
GUJARATI: 366355 out of 366457 tests passed. 102 failed (0.0278341%)
GURMUKHI: 60729 out of 60747 tests passed. 18 failed (0.0296311%)
KANNADA: 951201 out of 951913 tests passed. 712 failed (0.0747968%)
KHMER: 299071 out of 299124 tests passed. 53 failed (0.0177184%)
MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%)
ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%)
SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%)
TAMIL: 1091754 out of 1091754 tests passed. 0 failed (0%)
TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%)
Before 71c0a1429db7c7e7e32507be248c9457e1cbfc7d GURMUKHI used to be at 15,
because Uniscribe seems to allow this character standalone, but that looks
wrong.
|
|
8b2c94c4
|
2017-10-02T20:02:45
|
|
Tweak ligature component matching for ligature formation
If two marks want to ligate and they belong to different components of the
same ligature glyph, and said ligature glyph is to be ignored according to
mark-filtering rules, then allow.
Example Burmese senquence:
U+1004,U+103A,U+1039,U+101B,U+103D,U+102D
Test font provided by Norbert Lindenberg.
Fixes https://github.com/behdad/harfbuzz/issues/545
|
|
71c0a142
|
2017-10-02T18:56:10
|
|
[indic] Fix shaping of U+0A51
Mark it as matra below to allow the sequence U+0A15, U+0A51, U+0A47.
Oh well...
Fixes https://github.com/behdad/harfbuzz/issues/524
|
|
6eb8950e
|
2017-10-02T18:30:05
|
|
[ucdn] Oops!
|
|
cbec0cd6
|
2017-10-02T18:26:52
|
|
Remove some really old cruft
|
|
b3dff772
|
2017-10-02T18:22:51
|
|
[ucdn] Update README
|
|
57c55ef8
|
2017-10-02T18:21:27
|
|
[ot] Improve shaper selection heuristic
|
|
5680ef88
|
2017-10-02T18:20:51
|
|
[use] Hack to fix shaping of U+1A7F
Fixes https://github.com/behdad/harfbuzz/issues/525
|