Behdad Esfahbod
fde6f5bd68
Convert to uppercase in hb_ot_tag_from_language()
15 years ago
Behdad Esfahbod
6f729b45b0
More contour point use
15 years ago
Behdad Esfahbod
3840b6b505
[gdef] Fix delta scale
15 years ago
Behdad Esfahbod
4ac6cc284b
[gdef] Fix rounding
15 years ago
Behdad Esfahbod
b52fbb1bab
[gdef] Implement getting contour point
15 years ago
Behdad Esfahbod
4c5fbae011
Make sure mirroring is done in original direction
...
Reported by Jonathan Kew.
15 years ago
Behdad Esfahbod
ce23c9234b
Use BCP47 private-use tags for OpenType tag language string mapping
15 years ago
Behdad Esfahbod
eaf1d9a46c
Minor
15 years ago
Behdad Esfahbod
3a4784fe88
Fix bug in hb_language_from_string()
...
Reported by Jonathan Kew.
15 years ago
Behdad Esfahbod
602e4f8d55
Use const_cast
15 years ago
Behdad Esfahbod
abff3580a5
Add const
15 years ago
Behdad Esfahbod
6617eada95
Rename apply_context -> context
15 years ago
Behdad Esfahbod
b4c7fab762
Rename
15 years ago
Behdad Esfahbod
1376fb7bf9
[apply] Use a context object to reduce number of parameters passed around
15 years ago
Behdad Esfahbod
173fde7087
Further simplify tracing
15 years ago
Behdad Esfahbod
bc20045743
Simplify trace code
15 years ago
Behdad Esfahbod
807c5b03a2
[sanitize] Make debug code always available to the compiler
...
Such that we don't break debug build all the time.
15 years ago
Behdad Esfahbod
74e313c016
[gsubgpos] Make debug code always available to the compiler
...
Such that we don't break debug build all the time.
15 years ago
Behdad Esfahbod
41011a6ed7
Fix compiler warning about value unused
15 years ago
Behdad Esfahbod
863df68e89
[object] Make debug code always available to the compiler
...
Such that we don't break debug build all the time.
15 years ago
Behdad Esfahbod
1d52151a19
Minor
15 years ago
Behdad Esfahbod
444fffb1ab
[blob] Make debug code always available to the compiler
...
Such that we don't break debug build all the time.
15 years ago
Behdad Esfahbod
ba51b25c7b
Fix build. Ouch!
15 years ago
Behdad Esfahbod
a92f0fda7f
Fix debug build
15 years ago
Behdad Esfahbod
c165f25410
[object] Actually handle malloc() failure
...
Caught by John Daggett.
15 years ago
Behdad Esfahbod
caff7db93d
Fix Device::get_size() calculation
15 years ago
Behdad Esfahbod
66d6eb30eb
Rename Var to Obj
15 years ago
Behdad Esfahbod
690b919461
Remove use of flexible arrays
...
Also remove wrong ASSERT_SIZE that would trigger only when not using
flexible arrays (which was the case on win32, but not with gcc).
15 years ago
Behdad Esfahbod
1cebfbb063
Cleanup hb_face_create_for_data()
15 years ago
Behdad Esfahbod
d6b3c83a90
Allow get_table() to return NULL
15 years ago
Behdad Esfahbod
ad3653751b
Typo
15 years ago
Behdad Esfahbod
990443e5f2
Remove lock_instance()
15 years ago
Behdad Esfahbod
187454c595
Add different casts from pointer and ref to avoid bugs
15 years ago
Behdad Esfahbod
efb324a46f
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.
15 years ago
Behdad Esfahbod
f1aaa2a436
Add TODO
15 years ago
Behdad Esfahbod
33d4d4325e
Zero glyph metrics before calling user callback
15 years ago
Behdad Esfahbod
4206e9511a
More warning fixes
15 years ago
Behdad Esfahbod
ef66ebeabc
Remove unused parameter
15 years ago
Behdad Esfahbod
1d720192b1
Fix compile warnings (HB_GNUC_UNUSED)
15 years ago
Behdad Esfahbod
8dfdca599c
No need to keep blob in sanitize context
15 years ago
Behdad Esfahbod
254933c397
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.
15 years ago
Behdad Esfahbod
71e735e915
[blob] Fallback to copying if mprotect() fails
15 years ago
Behdad Esfahbod
1aa4666b91
Cleanup OpenTypeFontFile
15 years ago
Behdad Esfahbod
ae4190cafe
Properly define separate structs for TTCHeader and TTCHeaderVersion1
15 years ago
Behdad Esfahbod
a065f471b3
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.
15 years ago
Behdad Esfahbod
a0bb49c583
Add comment re bsearch effect on sanitize
15 years ago
Behdad Esfahbod
d632ec4000
Cosmetic
15 years ago
Behdad Esfahbod
a3263aa773
Convert the last set of cast macros to templates
15 years ago
Behdad Esfahbod
c38188a191
Remove unused macro
15 years ago
Behdad Esfahbod
3b2c2df41b
Cleanup Extension sanitize()
15 years ago