|
81a31f3e
|
2015-01-06T15:37:31
|
|
[bindings] Make sample Python 2/3 compatible
|
|
b632e799
|
2015-01-06T14:05:26
|
|
Fix up gobject-introspection a bit
Minimal shaping works now!
|
|
3d1a666a
|
2015-01-05T14:43:13
|
|
Remove hardcoded ICU include paths.
ICU exports them using LOCAL_EXPORT_C_INCLUDE_DIRS.
https://android-review.googlesource.com/#/c/121311/
|
|
8cb41cb9
|
2015-01-04T20:32:18
|
|
Merge pull request #76 from cpeterso/cpeterso/Wunused-function
Add #ifdef HB_USE_ATEXIT to fix -Wunused-function warnings
|
|
fb85d618
|
2015-01-04T19:31:10
|
|
Add #ifdef HB_USE_ATEXIT to fix -Wunused-function warnings
|
|
365c03fc
|
2015-01-03T21:55:30
|
|
Merge pull request #75 from cpeterso/cpeterso/Wunused-value
Fix hb_atomic_ptr_cmpexch -Wunused-value warnings
|
|
d1897a98
|
2015-01-03T19:46:19
|
|
Fix hb_atomic_ptr_cmpexch -Wunused-value warnings
|
|
c36c4a99
|
2015-01-02T14:09:23
|
|
Add missing va_end()
Fixes https://github.com/behdad/harfbuzz/pull/74
|
|
f34aaba8
|
2014-12-28T18:56:15
|
|
[ft] Don't set font ppem
For discussion see:
http://lists.freedesktop.org/archives/harfbuzz/2012-April/001905.html
Over time we have had added NO_HINTING all over the place in hb-ft. Finish it off.
Not setting ppem on hb-font disables get_contour_point() calls which is good anyway.
See comments in the commit.
|
|
350f3a02
|
2014-12-28T17:44:26
|
|
[ft] Add hb_ft_face_create_referenced() and hb_ft_font_create_referenced()
When I originally wrote hb-ft, FreeType objects did not support reference
counting. As such, hb_ft_face_create() and hb_ft_font_create() had a
"destroy" callback and client was responsible for making sure FT_Face is
kept around as long as the hb-font/face are alive.
However, since this was not clearly documented, some clienets didn't
correctly did that. In particular, some clients assumed that it's safe
to destroy FT_Face and then hb_face_t. This, indeed, used to work, until
45fd9424c723f115ca98995b8f8a25185a6fc71d, which make face destroy access
font tables.
Now, I fixed that issue in 395b35903e052aecc97d0807e4f813c64c0d2b0b since
the access was not needed, but the problem remains that not all clients
handle this correctly. See:
https://bugs.freedesktop.org/show_bug.cgi?id=86300
Fortunately, FT_Reference_Face() was added to FreeType in 2010, and so we
can use it now. Originally I wanted to change hb_ft_face_create() and
hb_ft_font_create() to reference the face if destroy==NULL was passed in.
That would improve pretty much all clients, with little undesired effects.
Except that FreeType itself, when compiled with HarfBuzz support, calls
hb_ft_font_create() with destroy==NULL and saves the resulting hb-font on
the ft-face (why does it not free it immediately?). Making hb-face
reference ft-face causes a cycling reference there. At least, that's my
current understanding.
At any rate, a cleaner approach, even if it means all clients will need a
change, is to introduce brand new API. Which this commit does.
Some comments added to hb-ft.h, hoping to make future clients make better
choices.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=75299
|
|
9a3b7488
|
2014-12-28T17:27:39
|
|
Remove redundant check for FT_Face_GetCharVariantIndex
We require FreeType >= 2.8.3. This symbol was introduced earlier
than that.
|
|
1226b2e9
|
2014-12-28T17:04:23
|
|
Fix FreeType version check
|
|
affacf2f
|
2014-12-28T16:20:31
|
|
[ft] Open blob in READONLY mode
HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE is deprecated and fairly
useless now.
|
|
395b3590
|
2014-12-28T16:03:26
|
|
Avoid accessing layout tables at face destruction
"Fixes" https://bugs.freedesktop.org/show_bug.cgi?id=86300
Based on discussion someone else who had a similar issue, most probably
the user is releasing FT_Face before destructing hb_face_t / hb_font_t.
While that's a client bug, and while we can (and should) use FreeType
refcounting to help avoid that, it happens that we were accessing
the table when we didn't really have to. Avoid that.
|
|
7d5e7613
|
2014-12-18T18:22:21
|
|
Fail blob creation if length overflows or is too large
Fail if blob start plus length overflows; or if blob length
is greater than 2GB. It takes a while for fonts to get to that
size. In the mean time, it protects against bugs like this:
http://www.icu-project.org/trac/ticket/11450
Also avoids some weird issues with 32bit vs 64bit systems
as we accept length as unsigned int. As such, a length of
-1 will cause overflow on 32bit machines, but happily
accepted on a 64bit machine. Avoid that.
|
|
d5a50520
|
2014-12-18T18:09:41
|
|
Assert that blob length doesn't overflow address.
This will crash now, if blob was created with wrong length.
Check for that coming next commit.
|
|
66e37409
|
2014-12-17T12:09:17
|
|
0.9.37
|
|
093c520d
|
2014-12-12T21:07:53
|
|
[otlayout] Mark variables that are C arrays as opposed to OT::ArrayOf
|
|
9df0a520
|
2014-12-12T20:54:28
|
|
[otlayout] Avoid invalid access with Context format 3
|
|
295ef1dd
|
2014-12-12T20:43:18
|
|
[ot] Debug get_coverage
|
|
00f6a8e3
|
2014-12-12T20:36:49
|
|
[ot] Print format in dispatch trace
|
|
5c7d6f02
|
2014-12-12T20:28:49
|
|
Minor
|
|
153beebb
|
2014-12-12T19:46:09
|
|
[ot] Make sure all toplevel tables have tableTag
|
|
282b13f9
|
2014-12-12T19:32:46
|
|
[sanitize] Improve debug output some more
|
|
0766ee1f
|
2014-12-12T18:23:20
|
|
[sanitize] Improve debug output
|
|
e6f80fa1
|
2014-12-10T12:05:24
|
|
[indic] Allow ZWJ/ZWNJ before SM
In Oriya, a ZWJ/ZWNJ might be added before candrabindu to encourage
or stop ligation of the candrabindu. This is clearly specified in
the Unicode section on Oriya. Allow it there. Note that Uniscribe
doesn't allow this.
Micro tests added using Noto Sans Oriya draft.
No changes in numbers. Currently at:
BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%)
DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%)
GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%)
GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%)
KANNADA: 951190 out of 951913 tests passed. 723 failed (0.0759523%)
KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%)
MALAYALAM: 1048147 out of 1048334 tests passed. 187 failed (0.0178378%)
ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%)
SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%)
TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%)
TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%)
|
|
c0e95abc
|
2014-11-20T14:42:24
|
|
0.9.36
|
|
fde3e4a4
|
2014-10-29T11:23:08
|
|
In hb_ot_collect_glyphs(), don't recurse to a lookup more than once
Otherwise, we might process a lookup thousands of times, with no
benefit. This pathological case was hit by Noto Nastaliq Urdu Draft
in Firefox's code to determine whether space glyph is involved in
any GSUB/GPOS rules. A test page is at http://behdad.org/urdu
See:
https://bugzilla.mozilla.org/show_bug.cgi?id=1090869
|
|
5a5640d8
|
2014-10-14T21:26:13
|
|
Move code around
|
|
666b42f7
|
2014-10-14T21:24:59
|
|
Move macros around
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=84491
|
|
5c87120b
|
2014-10-14T20:07:31
|
|
Fix misc warnings
Fixes https://github.com/behdad/harfbuzz/pull/51
|
|
a1f27ac3
|
2014-10-02T16:54:33
|
|
Update test expectation for previous commit
|
|
8afaf096
|
2014-10-02T16:40:41
|
|
[ft] Add NO_HINTING in a couple other places
|
|
72280114
|
2014-10-01T18:58:43
|
|
[travis] Fix clang again
|
|
406a020e
|
2014-10-01T18:54:55
|
|
[travis] Fail build if coveralls fails
|
|
a8aa2026
|
2014-10-01T18:48:40
|
|
[travis] Only run coveralls under gcc
|
|
5de04073
|
2014-10-01T18:18:25
|
|
Help clang with gcov
|
|
ef40ca8e
|
2014-10-01T18:07:27
|
|
[travis] Try to make coverage work with clang
|
|
52784da1
|
2014-10-01T17:57:43
|
|
[travis] Minor
|
|
f2c9005f
|
2014-10-01T17:45:17
|
|
Add README.md symlink to make github happy
|
|
40987e8a
|
2014-10-01T17:44:30
|
|
[travis] Re-enable clang
|
|
5400ac47
|
2014-10-01T17:41:41
|
|
Add build and coverage status links
|
|
19360e0a
|
2014-10-01T17:35:03
|
|
[travis] Report matrix settings to help debugging
|
|
9b89fc52
|
2014-10-01T17:20:31
|
|
[travis] More coveralls
|
|
a68f2b62
|
2014-10-01T17:05:58
|
|
[travis] Give coveralls a hand
|
|
5194d647
|
2014-10-01T17:03:26
|
|
[travis] Disable clang for now
|
|
715f27f8
|
2014-10-01T16:53:00
|
|
[test] Fixup test
|
|
2a508dda
|
2014-10-01T16:49:22
|
|
[travis] Another try at coveralls.io
|
|
dfe8078e
|
2014-10-01T16:38:47
|
|
[travis] First try to hookup coveralls.io code coverage tracking
|
|
1b387571
|
2014-10-01T16:14:59
|
|
[travis] Unbreak
|
|
e281ed36
|
2014-10-01T16:09:08
|
|
[travis] Minor
|
|
c0b82ba3
|
2014-10-01T14:24:07
|
|
Create ragel-generated files in srcdir
|
|
79bbb10b
|
2014-10-01T13:33:21
|
|
Clean ragel-generated headers in maintainercleanfiles
|
|
8971cac8
|
2014-10-01T12:41:03
|
|
Don't use tmp files in Makefile
Useful for code-coverage generation of the ragel-generated files
as they will now contain the correct .hh filename in them.
|
|
22723186
|
2014-10-01T11:56:07
|
|
check-static-inits: Filter out zero-length sections
When compiling with -O0, zero-sized constructors were showing up
and confusing the test.
|
|
b695a3dc
|
2014-10-01T11:55:14
|
|
check-static-inits: check for static finalizers
|
|
250398b1
|
2014-10-01T11:28:01
|
|
Hide other bubble-sort
|
|
c1e87442
|
2014-10-01T11:07:08
|
|
Hide bubble-sort!
|
|
80f77282
|
2014-09-25T17:59:46
|
|
[util] Fix ansi output when surface is empty
|
|
15685299
|
2014-09-25T17:45:49
|
|
[ot-font] Add hb_ot_face_cmap_accelerator_t
|
|
d088ccaf
|
2014-09-25T17:26:56
|
|
[ot-font] Minor
|
|
d7c160a1
|
2014-09-25T17:15:35
|
|
[ot-font] Handle missing vertical metrics tables
|
|
be1cca27
|
2014-09-25T16:53:24
|
|
[ot-font] Add metrics_accel_t
|
|
d41b809e
|
2014-09-25T13:04:08
|
|
[ot-font] Start adding vertical support
|
|
22f0de50
|
2014-08-25T12:54:57
|
|
Fix build
|
|
d457e3f0
|
2014-08-25T12:31:19
|
|
[arabic] Don't #include __FILE__
Fine!
https://code.google.com/p/chromium/issues/detail?id=406957
|
|
9ceb673d
|
2014-08-25T11:48:12
|
|
[arabic] Allow disabling win1256 fallback code
By defining HB_NO_WIN1256.
|
|
8a931950
|
2014-08-22T12:06:57
|
|
[ot] Prefer Windows platform cmap tables / accept all Unicode encodingIDs
Some fonts on the Mac ship with (0,1).
|
|
270971a0
|
2014-08-15T14:28:04
|
|
[win32] Avoid preprocessor warnings re macros
|
|
8c6bd34d
|
2014-08-14T13:33:37
|
|
Fix check-symbols on OS X
|
|
522b1cc5
|
2014-08-14T13:29:30
|
|
[coretext] Hide feature_mappings
|
|
0d2c2f23
|
2014-08-14T13:25:55
|
|
Simplify hb-object
|
|
9d861b81
|
2014-08-14T13:15:21
|
|
Really fix clang build this time
|
|
272226f2
|
2014-08-14T13:11:33
|
|
Revert "Fix build on clang after previous commit"
This reverts commit 9c80cbc87f23040a334e30c750f64523d9ef10c8.
|
|
9c80cbc8
|
2014-08-14T13:09:52
|
|
Fix build on clang after previous commit
|
|
a5a27073
|
2014-08-14T13:05:36
|
|
Rewrite this==NULL checks to avoid undefined behavior
Fixes https://code.google.com/p/chromium/issues/detail?id=403594
|
|
cc3b2d43
|
2014-08-14T12:59:16
|
|
Remove this==NULL check from face->reference_table()
Not supposed to happen, and apparently this is undefined in C++.
https://code.google.com/p/chromium/issues/detail?id=403594
|
|
cd7ea4f7
|
2014-08-14T12:57:02
|
|
Make hb_object_t members private
In preparation for fixing:
https://code.google.com/p/chromium/issues/detail?id=403594
|
|
c4308f89
|
2014-08-13T19:42:01
|
|
Minor
|
|
cd5a1149
|
2014-08-13T12:39:34
|
|
0.9.35
|
|
20076cc4
|
2014-08-12T19:26:35
|
|
[coretext] Add version guards for kCTLanguageAttributeName
|
|
1b3011c2
|
2014-08-12T19:17:19
|
|
[coretext] Pass buffer language to CoreText
|
|
3eb6a4db
|
2014-08-12T19:10:33
|
|
[coretext] Minor
|
|
08acfe0d
|
2014-08-12T18:57:08
|
|
[hb-coretext] Fix cluster order of notdef runs in RTL text
|
|
30eed75d
|
2014-08-12T17:15:09
|
|
[shape-plan] Fix typo!
The only effect is, if shaper_list was not NULL and no shaper was found,
we now don't insert anything into cache and return earlier.
|
|
dc9aba6f
|
2014-08-12T17:14:36
|
|
[shape-plan] Better debug messages
|
|
e956c65b
|
2014-08-12T17:03:27
|
|
[shape-plan] Simplify macro
|
|
29e25550
|
2014-08-12T17:02:59
|
|
Fix gcc warning
|
|
8d5eebc0
|
2014-08-12T16:50:22
|
|
[shape-plan] Fix shape-plan caching with more than one requested shaper
Wasn't breaking out of loop, ouch!
http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html
|
|
bc3d0dc6
|
2014-08-12T16:49:18
|
|
[shape-plan] Add debug tracing
|
|
81b8d977
|
2014-08-12T15:49:47
|
|
[coretext] Fix buffer resizing
Was very broken. Now fixed and tested.
|
|
c3e924fb
|
2014-08-12T14:25:11
|
|
[coretext] Rewind scratch-allocated arrays when not needed anymore
|
|
8fd4d70b
|
2014-08-12T13:12:31
|
|
[wince] Two more Windows CE fixes
Report has it that it builds (and works) now:
https://codereview.qt-project.org/#/c/92087/
|
|
fd0001d7
|
2014-08-12T10:32:41
|
|
[coretext] Compare CGFont and PS name, if CTFont didn't match
See comments.
Fixes vertical text. CoreText backend is in very good shape now!
Also see:
5a0eed3b50629be4826e4e9428f2c3255195395d
25f4fb9b56bb3f8bec821571c78f8829e40daa54
Fixes http://github.com/behdad/harfbuzz/pull/36
|
|
5a0eed3b
|
2014-08-11T23:47:16
|
|
[coretext] Implement vertical shaping
Currently doesn't work though, we detect font fallback. Apparently
matching on ct_font is not safe for this. Looks like commit
25f4fb9b56bb3f8bec821571c78f8829e40daa54 wasn't enough after all.
|
|
1b55077f
|
2014-08-11T20:45:12
|
|
[coretext] Remove unnecessary alt_size
Wasn't needed after a6b8dc87421de33746b0b14d86d2d1532aec02af.
|
|
10b1104d
|
2014-08-11T20:02:45
|
|
[coretext] Use CFRunStatus
Assert that all runs had expected direction, and take hint for
non-monotone clusters.
|
|
fd1a6aa8
|
2014-08-11T20:01:37
|
|
[coretext] Minor
|
|
130856c7
|
2014-08-11T19:16:26
|
|
[coretext] Remove debug printf!
|
|
b5fbc3b8
|
2014-08-11T18:40:01
|
|
API: Do not clear buffer-flags in hb_buffer_clear_contents()
After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't
need to set flags for different pieces of text. The flags now
are something the client sets up once, depending on how it
actually uses the buffer. As such, don't clear it in
clear_contents().
Tests updated.
|