Behdad Esfahbod
96b80e9bcc
[Android.mk] Remove static library, add note re how to build
10 years ago
Behdad Esfahbod
b7bc0b671d
Simplify / speed up UTF-8 code
10 years ago
Behdad Esfahbod
af2490c095
Only accept well-formed UTF-8 sequences
...
Enable tests that were disabled before, and adjust one test,
and add more tests.
10 years ago
Behdad Esfahbod
7323d385cc
Simplify hb_utf_prev<16> to call hb_utf_next<16>
10 years ago
Behdad Esfahbod
c09a607a84
Use hb_in_range() for arabic and indic tables
...
Though, looks like gcc was smart enough to produce the same code
before...
10 years ago
Behdad Esfahbod
7627100f42
Mark unsigned integer literals with the u suffix
...
Simplifies hb_in_range() calls as the type can be inferred.
The rest is obsessiveness, I admit.
10 years ago
Behdad Esfahbod
a8b89a09f6
Simplify hb_in_range()
...
It's both faster and produces smaller code. Now I feel stupid for
not writing it this way before.
10 years ago
Behdad Esfahbod
db8934faa1
Simplify hb_utf_prev<8> to call hb_utf_next<8>
10 years ago
Behdad Esfahbod
efe74214bb
Show U+FFFD REPLACEMENT CHARACTER for invalid Unicode codepoints
...
Only if the font doesn't support it. Ie, this gives the user to
use non-Unicode codepoints as private values and return a meaningful
glyph for them. But if it's invalid and font callback doesn't
like it, and if font has U+FFFD, show that instead.
Font functions that do not want this automatic replacement to
happen should return true from get_glyph() if unicode > 0x10FFFF.
Replaces https://github.com/behdad/harfbuzz/pull/27
10 years ago
Behdad Esfahbod
6f13b6d62d
When parsing UTF-16, generate invalid codepoint for lonely low surrogate
...
Test passes now.
10 years ago
Behdad Esfahbod
24b2ba9dfa
[test-buffer] Add test for lonely low-surrogate
...
Currenty fails. Ouch!
10 years ago
Behdad Esfahbod
6334495ac1
Use zh-Hans / zh-Hant when converting OT language tag to hb_language_t
10 years ago
Behdad Esfahbod
f381e320df
Fix lang matching logic
...
Previous code was broken logically, but harmless.
10 years ago
Behdad Esfahbod
ee5350d667
Accept BCP 47 zh-Hans / zh-Hant language tags
10 years ago
Behdad Esfahbod
4315402867
[Android.mk] Add note re static library
10 years ago
Behdad Esfahbod
5b4131eb1c
[Android.mk] Update for new ICU
...
https://android-review.googlesource.com/#/c/100722/1/Android.mk
10 years ago
Behdad Esfahbod
ab28196c95
[Android.mk] Re-enable ICU unicode funcs
10 years ago
Behdad Esfahbod
ea001374b8
0.9.30
10 years ago
Behdad Esfahbod
8b16ff1259
[uniscribe] Fix build after recent changes to Offset
10 years ago
Behdad Esfahbod
73f7f8919e
Define _POSIX_C_SOURCE only if it is not defined
...
Fixes https://github.com/behdad/harfbuzz/pull/45
10 years ago
Behdad Esfahbod
6bd5646f1b
[tests] Remove bash'ish
...
Apparently on travis-ci, bash is linked to dash, which doesn't
understand "let". Failing tests were not being noticed. See eg:
https://travis-ci.org/behdad/harfbuzz/jobs/29544211
Don't rely on bash.
10 years ago
Behdad Esfahbod
0afedaa96c
[util/hb-shape] Fix crash; oops
10 years ago
Behdad Esfahbod
0cd94491b9
[ucdn] Update to Unicode 7.0.0 data
...
From http://github.com/behdad/ucdn
10 years ago
Behdad Esfahbod
9d4ede3a97
[Android.mk] Update source list
10 years ago
Behdad Esfahbod
7e1ab1f6d8
[Android.mk] Whitespace
10 years ago
Behdad Esfahbod
5c6695c424
[Android.mk] Remove -lpthread; we build with -DHB_NO_MT
10 years ago
Behdad Esfahbod
9109f1e944
[util/hb-shape] Accept an empty output-format that would skip output
...
Useful for benchmarking, to avoid buffer serialization overhead (which
seems to by far dominate shaping!)
10 years ago
Behdad Esfahbod
8656408572
[util] Fix hb-view rendering with --font-funcs=ot
10 years ago
Behdad Esfahbod
8650def735
[util] Add option to set font function implementation to use
...
Supports ft and ot right now. hb-view currently not rendering with ot.
Will fix after some clean up.
11 years ago
Behdad Esfahbod
2306ad46dc
[util] Fix memory issue
11 years ago
Behdad Esfahbod
14a4a9d649
Add Roozbeh to AUTHORS
...
He's been my shadow for all Indic-related changes in the last
few months.
11 years ago
Behdad Esfahbod
68f724484b
[indic] Remove some more now-unused special-cases
11 years ago
Behdad Esfahbod
e79c948980
[indic] Remove special-casing of U+1CF2,1CF3
...
These were introduced in a498565ced
,
but IndicSyllabicCategory has had the correct value already, so the
special code was never needed.
11 years ago
Behdad Esfahbod
d743ce78e1
[indic-table] Update to Unicode 7.0 data
...
Touch code just enough to preserve previous syllable structure
and functionality as closely as possible. Many further cleanups
coming later.
11 years ago
Behdad Esfahbod
5fa21b3ab7
[indic-table] Fix category frequency counts in comments
11 years ago
Behdad Esfahbod
5c4e3e9a57
Whitespace
11 years ago
Behdad Esfahbod
af528b6674
Fix typo; ouch!
11 years ago
Behdad Esfahbod
7d4ada66c9
Mark unsed members with a "Z" suffix
...
There may be more. There are members that are by definition
redundant or reserved and not needed, NOT what we *currently*
don't use.
I'm sure there's more...
11 years ago
Behdad Esfahbod
23afcff1d1
[ot-font] Implement Unicode variation selectors
11 years ago
Behdad Esfahbod
a5a4736916
[cmap] Implement subtable format 14
11 years ago
Behdad Esfahbod
586b60622c
Minor: final bits of cleanup
11 years ago
Behdad Esfahbod
51d9ba09bc
Minor
11 years ago
Behdad Esfahbod
3084767e92
Minor: Remove LongArrayOf
11 years ago
Behdad Esfahbod
41ea594950
Minor: Remove LongSortedArrayOf
11 years ago
Behdad Esfahbod
bb6ecf2ce5
Minor: Remove LongOffsetArrayOf and LongOffsetLongArrayOf
11 years ago
Behdad Esfahbod
99d2817123
Minor: Remove GenericOffset
11 years ago
Behdad Esfahbod
9da552dcc5
Minor: Remove some GenericXXX templates
11 years ago
Behdad Esfahbod
36073ede5b
Minor: Reorder template parameter order
11 years ago
Behdad Esfahbod
0394ec1bfb
Minor: Introduce GenericOffset
11 years ago
Behdad Esfahbod
0d1b3419a7
Minor: Use template parameter default values for OffsetTo
11 years ago