Behdad Esfahbod
4f5f1c34dd
Rename const_sub_array to sub_array since all consts are implicit now
15 years ago
Behdad Esfahbod
0795b784dd
Cosmetic
15 years ago
Behdad Esfahbod
2d98d3bbaa
Simplify Lookup sanitize
15 years ago
Behdad Esfahbod
c755cb3e3a
Change header comment
15 years ago
Behdad Esfahbod
243d20e011
More cast simplification
15 years ago
Behdad Esfahbod
0dfcc13a46
Rename ConstCharP to CharP (overloaded now)
15 years ago
Behdad Esfahbod
62c0fd7573
Cleanup de-const-casting during sanitize
15 years ago
Behdad Esfahbod
dd15587056
Add more comments
15 years ago
Behdad Esfahbod
c85c362067
Add comment
15 years ago
Behdad Esfahbod
2467c669c2
Add comment
15 years ago
Behdad Esfahbod
29c3f5e1b6
Improve comment
15 years ago
Behdad Esfahbod
01c01618e9
Further simplify IntType struct defs
15 years ago
Behdad Esfahbod
2cb08458f6
Rename const_array() to array() (overloaded)
15 years ago
Behdad Esfahbod
2e2f43edf2
Remove ArrayAfter, use StructAfter in place
15 years ago
Behdad Esfahbod
e961c86c57
Convert NEXT() and ARRAY_AFTER() macros to templates
15 years ago
Behdad Esfahbod
198facdc55
Use templates for const char * casts
15 years ago
Behdad Esfahbod
1922ffe701
Const correctness
15 years ago
Behdad Esfahbod
e032ed9f75
Use templates for defining int typess
15 years ago
Behdad Esfahbod
2c9fd2adce
Remove unused macro
15 years ago
Behdad Esfahbod
7a52f28117
Rename macros
15 years ago
Behdad Esfahbod
ffff7dc44c
Minor
15 years ago
Behdad Esfahbod
f60f2166c4
Move macros around
15 years ago
Behdad Esfahbod
649a4344ca
Remove unused macros
15 years ago
Behdad Esfahbod
eba8b4f644
GNOME Bug 613015 - [HB] Does not sanitize Device tables referenced from ValueRecords
15 years ago
Behdad Esfahbod
673a4efcbc
WIP
15 years ago
Behdad Esfahbod
40d73bc68d
Improve comments
15 years ago
Behdad Esfahbod
394bad41a7
Remove stale TODO item
15 years ago
Behdad Esfahbod
9d3677899f
Use a function template instead of struct template for Null
15 years ago
Behdad Esfahbod
ffd321afd9
Simplify Tag struct
15 years ago
Behdad Esfahbod
00e23fcc6f
Cosmetic
15 years ago
Behdad Esfahbod
a87072db5d
Fix Class operator return type
15 years ago
Behdad Esfahbod
f9b3772798
Add couple consts to operators
15 years ago
Behdad Esfahbod
53d237ec63
Remove ASSERT_SIZE_DATA
15 years ago
Behdad Esfahbod
06558d2a74
Round instead of trunc
15 years ago
Behdad Esfahbod
0e206de986
Fix warnings
15 years ago
Behdad Esfahbod
d5943407a4
Fix debug build
15 years ago
Behdad Esfahbod
12b27ed91d
Fix leak when duplicating blob
15 years ago
Behdad Esfahbod
4b8487d83e
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.
15 years ago
Behdad Esfahbod
9b39755d10
Typo
15 years ago
Behdad Esfahbod
f85ec1c7da
Cosmetic
15 years ago
Behdad Esfahbod
e48ed72230
[ft] Check stream->read instead of stream->base
...
The former is more robust. See discussion on freetype-devel.
15 years ago
Behdad Esfahbod
917c227500
Make blob unlocking 64bit-safe
...
GNOME Bug 604128 - Applications crash when displaying Hebrew characters
15 years ago
Behdad Esfahbod
ecd2e996d2
Improve the alignment for NullPool
15 years ago
Behdad Esfahbod
bc7830e425
Use __attribute__((unused)) only with gcc 4 and later
...
See discussion at:
https://bugzilla.gnome.org/show_bug.cgi?id=610183
15 years ago
Behdad Esfahbod
555d11273e
[GDEF] Fix bug in building synthetic GDEF
15 years ago
Behdad Esfahbod
70834d89c3
[TODO] Add kern/GPOS interaction
15 years ago
Behdad Esfahbod
cd11a98fa1
Fix compile with older FreeType
15 years ago
Behdad Esfahbod
7f7448a354
Indent
15 years ago
Behdad Esfahbod
e70f45eb52
Revert "Fallback to 'kern' if no GPOS applied"
...
This reverts commit d740c8f78b
.
The change is wrong. If there is a GPOS table, we should not use 'kern'.
15 years ago
Behdad Esfahbod
d740c8f78b
Fallback to 'kern' if no GPOS applied
15 years ago