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.
11 years ago
Behdad Esfahbod
db8934faa1
Simplify hb_utf_prev<8> to call hb_utf_next<8>
11 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
11 years ago
Behdad Esfahbod
6f13b6d62d
When parsing UTF-16, generate invalid codepoint for lonely low surrogate
...
Test passes now.
11 years ago
Behdad Esfahbod
24b2ba9dfa
[test-buffer] Add test for lonely low-surrogate
...
Currenty fails. Ouch!
11 years ago
Behdad Esfahbod
6334495ac1
Use zh-Hans / zh-Hant when converting OT language tag to hb_language_t
11 years ago
Behdad Esfahbod
f381e320df
Fix lang matching logic
...
Previous code was broken logically, but harmless.
11 years ago
Behdad Esfahbod
ee5350d667
Accept BCP 47 zh-Hans / zh-Hant language tags
11 years ago
Behdad Esfahbod
4315402867
[Android.mk] Add note re static library
11 years ago
Behdad Esfahbod
5b4131eb1c
[Android.mk] Update for new ICU
...
https://android-review.googlesource.com/#/c/100722/1/Android.mk
11 years ago
Behdad Esfahbod
ab28196c95
[Android.mk] Re-enable ICU unicode funcs
11 years ago
Behdad Esfahbod
ea001374b8
0.9.30
11 years ago
Behdad Esfahbod
8b16ff1259
[uniscribe] Fix build after recent changes to Offset
11 years ago
Behdad Esfahbod
73f7f8919e
Define _POSIX_C_SOURCE only if it is not defined
...
Fixes https://github.com/behdad/harfbuzz/pull/45
11 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.
11 years ago
Behdad Esfahbod
0afedaa96c
[util/hb-shape] Fix crash; oops
11 years ago
Behdad Esfahbod
0cd94491b9
[ucdn] Update to Unicode 7.0.0 data
...
From http://github.com/behdad/ucdn
11 years ago
Behdad Esfahbod
9d4ede3a97
[Android.mk] Update source list
11 years ago
Behdad Esfahbod
7e1ab1f6d8
[Android.mk] Whitespace
11 years ago
Behdad Esfahbod
5c6695c424
[Android.mk] Remove -lpthread; we build with -DHB_NO_MT
11 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!)
11 years ago
Behdad Esfahbod
8656408572
[util] Fix hb-view rendering with --font-funcs=ot
11 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
Behdad Esfahbod
546b1adcdc
Minor: Use template parameter default values for hb_prealloced_array_t
11 years ago
Behdad Esfahbod
911ca38645
Add back API removed recently
...
Add hb_ot_layout_language_get_required_feature_index() again, which
is used in Pango. This was removed in
da13293798
in favor of
hb_ot_layout_language_get_required_feature().
API changes:
- Added hb_ot_layout_language_get_required_feature_index back.
11 years ago
Behdad Esfahbod
89e4946929
Add new IndicSyllabicCategory short forms for Unicode 7.0
11 years ago
Behdad Esfahbod
dcee838e89
Minor
11 years ago
Behdad Esfahbod
f2ad86e605
[indic-table-gen] Minor
11 years ago
Behdad Esfahbod
2ec62279aa
[indic-table] Update to Unicode 6.3.0
...
Was from 6.2.0. It's a no-op. Committing for the record.
11 years ago