|
187454c5
|
2010-04-23T16:35:01
|
|
Add different casts from pointer and ref to avoid bugs
|
|
efb324a4
|
2010-04-23T16:22:54
|
|
Remove GET_FOR_DATA macros
The major-version check is now handled by sanitize. If major
doesn't match, we reject and fall back to the Null object.
|
|
f1aaa2a4
|
2010-04-23T15:19:50
|
|
Add TODO
|
|
33d4d432
|
2010-04-23T14:56:55
|
|
Zero glyph metrics before calling user callback
|
|
4206e951
|
2010-04-23T14:44:55
|
|
More warning fixes
|
|
ef66ebea
|
2010-04-23T14:40:36
|
|
Remove unused parameter
|
|
1d720192
|
2010-04-23T14:39:10
|
|
Fix compile warnings (HB_GNUC_UNUSED)
|
|
8dfdca59
|
2010-04-23T14:07:34
|
|
No need to keep blob in sanitize context
|
|
254933c3
|
2010-04-23T13:57:10
|
|
When sanitizing, delay making writable
Before, as soon as we needed to make an edit, we tried to make the blob
writable inplace. That grows code unnecessarily though. We can simply
fail, make writable, then start again. That's indeed what the fallback
was doing anyway.
|
|
71e735e9
|
2010-04-23T13:48:06
|
|
[blob] Fallback to copying if mprotect() fails
|
|
1aa4666b
|
2010-04-23T13:32:03
|
|
Cleanup OpenTypeFontFile
|
|
ae4190ca
|
2010-04-23T12:33:02
|
|
Properly define separate structs for TTCHeader and TTCHeaderVersion1
|
|
a065f471
|
2010-04-22T20:15:11
|
|
Cleanup Extension lookups
Two things:
1. Allow nested Extension lookups. The offset is always positive, so
it can't loop circularly.
2. Move the check for all Extension subtables having the same lookup
type to the correct place. Before it wasn't really working.
|
|
a0bb49c5
|
2010-04-22T18:47:03
|
|
Add comment re bsearch effect on sanitize
|
|
d632ec40
|
2010-04-22T18:33:12
|
|
Cosmetic
|
|
a3263aa7
|
2010-04-22T18:29:09
|
|
Convert the last set of cast macros to templates
|
|
c38188a1
|
2010-04-22T16:52:09
|
|
Remove unused macro
|
|
3b2c2df4
|
2010-04-22T16:51:42
|
|
Cleanup Extension sanitize()
|
|
1856184b
|
2010-04-22T14:15:11
|
|
Fail sanitize on major version mismatch
We handle major-version differences via get_for_data(), so sanitize
should never see a major version mismatch.
|
|
df3f505d
|
2010-04-22T14:11:33
|
|
More sanitize cleanup
|
|
278a91f0
|
2010-04-22T13:59:39
|
|
Minor cleanup of sanitize
Done with an audit of all sanitize()
|
|
9ac7dc73
|
2010-04-22T13:50:22
|
|
Check for (impossible) overflow
|
|
9fc8684f
|
2010-04-22T13:37:58
|
|
Cleanup ContextFormat3 sanitize
|
|
e77302c6
|
2010-04-22T13:34:00
|
|
Add comment
|
|
7c469c3c
|
2010-04-22T13:26:21
|
|
Minor
|
|
dc228048
|
2010-04-22T13:22:41
|
|
Remove integrity check in Tag sanitize
Serves no useful purpose.
|
|
8015a8c7
|
2010-04-22T11:06:30
|
|
Don't sanitize raw table data
That part is performed by individual table sanitize.
|
|
c293581e
|
2010-04-22T11:15:46
|
|
Add coment
|
|
1faa76c6
|
2010-04-22T10:54:26
|
|
Remove unnecessary casts
|
|
079dc401
|
2010-04-22T10:47:12
|
|
Avoid overflow in TableDirectory sanitize
|
|
fb5904ec
|
2010-04-22T10:43:30
|
|
Make casts more explicit
|
|
565c80bd
|
2010-04-22T10:26:35
|
|
Make sure semicolon is expected after DEFINE_NULL_DATA()
|
|
bb1e1633
|
2010-04-22T01:01:35
|
|
Improve Subst/Pos SubTable access and sanitize
|
|
81f2af40
|
2010-04-22T00:58:49
|
|
Simplify Extension offset now that our int types have no alignment
|
|
19828ad4
|
2010-04-22T00:49:16
|
|
Sanitize shallow in Lookup since the generic SubLookup has no methods
|
|
e5546a43
|
2010-04-22T00:45:42
|
|
Watch for overflow in Array sanitize
|
|
4f5f1c34
|
2010-04-22T00:27:39
|
|
Rename const_sub_array to sub_array since all consts are implicit now
|
|
0795b784
|
2010-04-22T00:23:14
|
|
Cosmetic
|
|
2d98d3bb
|
2010-04-22T00:19:30
|
|
Simplify Lookup sanitize
|
|
c755cb3e
|
2010-04-22T00:11:43
|
|
Change header comment
|
|
243d20e0
|
2010-04-21T23:57:01
|
|
More cast simplification
|
|
0dfcc13a
|
2010-04-21T23:41:26
|
|
Rename ConstCharP to CharP (overloaded now)
|
|
62c0fd75
|
2010-04-21T23:30:48
|
|
Cleanup de-const-casting during sanitize
|
|
dd155870
|
2010-04-21T23:13:33
|
|
Add more comments
|
|
c85c3620
|
2010-04-21T23:12:54
|
|
Add comment
|
|
2467c669
|
2010-04-21T23:11:45
|
|
Add comment
|
|
29c3f5e1
|
2010-04-21T23:01:00
|
|
Improve comment
|
|
01c01618
|
2010-04-21T22:49:56
|
|
Further simplify IntType struct defs
|
|
2cb08458
|
2010-04-21T22:37:31
|
|
Rename const_array() to array() (overloaded)
|
|
2e2f43ed
|
2010-04-21T22:30:36
|
|
Remove ArrayAfter, use StructAfter in place
|
|
e961c86c
|
2010-04-21T15:56:11
|
|
Convert NEXT() and ARRAY_AFTER() macros to templates
|
|
198facdc
|
2010-04-21T13:35:36
|
|
Use templates for const char * casts
|
|
1922ffe7
|
2010-04-21T04:19:51
|
|
Const correctness
|
|
e032ed9f
|
2010-04-21T03:11:46
|
|
Use templates for defining int typess
|
|
2c9fd2ad
|
2010-04-21T02:15:39
|
|
Remove unused macro
|
|
7a52f281
|
2010-04-21T02:14:44
|
|
Rename macros
|
|
ffff7dc4
|
2010-04-21T02:13:55
|
|
Minor
|
|
f60f2166
|
2010-04-21T02:12:45
|
|
Move macros around
|
|
649a4344
|
2010-04-21T02:11:59
|
|
Remove unused macros
|
|
eba8b4f6
|
2010-03-29T00:04:12
|
|
GNOME Bug 613015 - [HB] Does not sanitize Device tables referenced from ValueRecords
|
|
673a4efc
|
2010-04-21T02:02:57
|
|
WIP
|
|
40d73bc6
|
2010-04-21T00:49:40
|
|
Improve comments
|
|
394bad41
|
2010-04-21T00:40:50
|
|
Remove stale TODO item
|
|
9d367789
|
2010-04-21T00:32:47
|
|
Use a function template instead of struct template for Null
|
|
ffd321af
|
2010-04-21T00:14:12
|
|
Simplify Tag struct
|
|
00e23fcc
|
2010-04-20T23:50:45
|
|
Cosmetic
|
|
a87072db
|
2010-04-20T15:52:47
|
|
Fix Class operator return type
|
|
f9b37727
|
2010-04-20T15:51:53
|
|
Add couple consts to operators
|
|
53d237ec
|
2010-04-20T15:25:27
|
|
Remove ASSERT_SIZE_DATA
|
|
06558d2a
|
2010-04-19T02:34:10
|
|
Round instead of trunc
|
|
0e206de9
|
2010-04-19T02:29:04
|
|
Fix warnings
|
|
d5943407
|
2010-04-19T02:27:56
|
|
Fix debug build
|
|
12b27ed9
|
2010-03-27T17:00:19
|
|
Fix leak when duplicating blob
|
|
4b8487d8
|
2010-03-16T03:46:17
|
|
Fix the mystery bug!
A couple bugs joined forces to exhibit the mystery behavior of
crashes / infinite loops on OS X / wrong kerning / invalid memory
access. Pooh!
The bugs were involved:
- Wrong pointer math with ValueRecord in PairPosFormat1
- Fallout from avoiding flex arrays, code not correctly updated
to remove sizeof() usage.
We strictly never use sizeof() directly now. And the PairPos code
is cleaned up. Should fix them all. Bugs are:
Bug 605655 - Pango 1.26.2 introduces kerning bug
Bug 611229 - Pango reads from uninitialized memory
Bug 593240 - (pangoosx) Crash / infinite loop with Mac OS X
We were also doing wrong math converting Device adjustments to
hb_position_t. Fallout from FreeType days. Should shift 16, not
6. Fixed that too.
There's still another bug: we don't sanitize Device records
referenced from value records. Fixing that also.
|
|
9b39755d
|
2010-04-15T14:00:25
|
|
Typo
|
|
f85ec1c7
|
2010-03-10T04:14:40
|
|
Cosmetic
|
|
e48ed722
|
2010-03-01T22:33:45
|
|
[ft] Check stream->read instead of stream->base
The former is more robust. See discussion on freetype-devel.
|
|
917c2275
|
2010-02-23T16:47:51
|
|
Make blob unlocking 64bit-safe
GNOME Bug 604128 - Applications crash when displaying Hebrew characters
|
|
ecd2e996
|
2010-02-23T02:42:00
|
|
Improve the alignment for NullPool
|
|
bc7830e4
|
2010-02-17T15:14:57
|
|
Use __attribute__((unused)) only with gcc 4 and later
See discussion at:
https://bugzilla.gnome.org/show_bug.cgi?id=610183
|
|
555d1127
|
2010-01-26T12:58:59
|
|
[GDEF] Fix bug in building synthetic GDEF
|
|
70834d89
|
2010-01-26T12:17:37
|
|
[TODO] Add kern/GPOS interaction
|
|
cd11a98f
|
2009-12-20T23:05:02
|
|
Fix compile with older FreeType
|
|
7f7448a3
|
2009-12-20T21:42:14
|
|
Indent
|
|
e70f45eb
|
2009-12-20T21:26:24
|
|
Revert "Fallback to 'kern' if no GPOS applied"
This reverts commit d740c8f78bcbe80a8bcd8a9468830a406da37cc0.
The change is wrong. If there is a GPOS table, we should not use 'kern'.
|
|
d740c8f7
|
2009-12-20T21:23:56
|
|
Fallback to 'kern' if no GPOS applied
|
|
2f78c171
|
2009-12-20T21:03:11
|
|
Remove glibism!
|
|
907e67da
|
2009-12-20T20:59:51
|
|
Oops, add file.
|
|
2014b8d1
|
2009-12-20T20:58:26
|
|
Hook OpenType shaping up
Default features only for now.
|
|
196610ba
|
2009-12-20T19:01:14
|
|
Pass features down
|
|
51f141a7
|
2009-12-20T18:22:28
|
|
Avoid overflow
|
|
26d7a757
|
2009-12-20T17:58:25
|
|
Refactor hb_shape a bit
|
|
001fc2d2
|
2009-12-20T17:24:05
|
|
Add TrueType kern support
|
|
2c1b85cf
|
2009-12-20T16:29:17
|
|
Direct unicode->get_mirroring directly
|
|
6a2ef5aa
|
2009-12-20T16:28:01
|
|
Do mirroring
|
|
0465e698
|
2009-12-20T16:25:18
|
|
Protect against NULL funcs
|
|
5ceefa1d
|
2009-12-20T15:29:16
|
|
Add hb_unicode_get_*() functions
|
|
b8a53e44
|
2009-12-20T14:56:25
|
|
We'll have to link to libstdc++ if linking to ICU, so disable test for now
We have to get rid of the ICU in main lib. Still thinking about best way
to do it.
|
|
314905d7
|
2009-12-20T14:50:42
|
|
Explicitly track whether the buffer has positions
|
|
314b460d
|
2009-12-20T13:58:50
|
|
Add HB_DIRECTION_IS_FORWARD/BACKWARD
|