|
3b0e47ca
|
2017-06-19T14:47:09
|
|
Fix arm-none-eabi build (fixes #451) (#496)
|
|
529a9331
|
2015-11-07T02:00:04
|
|
Micro optimization to hb_utf16_t and hb_utf32_t ::prev()
Implement reverse lookup instead of re-using next()
|
|
44ae9be7
|
2015-11-07T01:58:38
|
|
Nano optimization to hb_utf16_t and hb_utf32_t ::next()
|
|
61820bc4
|
2015-01-26T14:25:52
|
|
[API] Add hb_buffer_add_latin1()
This is by no ways to promote non-Unicode encodings. This is an entry
point that takes Unicode codepoints that happen to all be the first
256 characters and hence fit in 8bit strings. This is useful eg in Chrome
where strings that can fit in 8bit are implemented that way, and this
avoids copying into UTF-8 or UTF-16.
Perhaps we should rename this to hb_buffer_add_codepoints8(). I'm also
curious if anyone would be really interested in hb_buffer_add_codepoints16().
Please discuss!
|
|
a4d64375
|
2014-07-16T20:15:45
|
|
Minor
|
|
976c8f45
|
2014-07-16T15:34:20
|
|
New API: hb_buffer_[sg]et_replacement_codepoint()
With this change, we now by default replace broken UTF-8/16/32 bits
with U+FFFD. This can be changed by calling new API on the buffer.
Previously the replacement value used to be (hb_codepoint_t)-1.
Note that hb_buffer_clear_contents() does NOT reset the replacement
character.
See discussion here:
https://github.com/behdad/harfbuzz/commit/6f13b6d62daae4989e3cc2fe4b168e5c59650964
New API:
hb_buffer_set_replacement_codepoint()
hb_buffer_get_replacement_codepoint()
|
|
625dbf14
|
2014-07-16T14:49:55
|
|
[buffer] Templatize UTF-* functions
|
|
e634fed4
|
2014-07-16T14:17:26
|
|
[buffer] Validate UTF-32 input
Same as what we do for UTF-8 and UTF-16.
|
|
b7bc0b67
|
2014-07-11T16:20:28
|
|
Simplify / speed up UTF-8 code
|
|
af2490c0
|
2014-07-11T16:10:58
|
|
Only accept well-formed UTF-8 sequences
Enable tests that were disabled before, and adjust one test,
and add more tests.
|
|
7323d385
|
2014-07-11T15:10:05
|
|
Simplify hb_utf_prev<16> to call hb_utf_next<16>
|
|
7627100f
|
2014-07-11T14:54:42
|
|
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.
|
|
db8934fa
|
2014-07-11T13:58:36
|
|
Simplify hb_utf_prev<8> to call hb_utf_next<8>
|
|
6f13b6d6
|
2014-07-10T19:31:40
|
|
When parsing UTF-16, generate invalid codepoint for lonely low surrogate
Test passes now.
|
|
0beb66e3
|
2012-12-05T18:46:04
|
|
Fix warnings
|
|
e13f8d28
|
2012-11-13T15:12:06
|
|
Fix UTF-8 backward iteration
Ouch!
|
|
89ac39db
|
2012-09-25T13:59:24
|
|
Add hb_utf_prev()
|
|
70ea4ac6
|
2012-09-25T12:30:16
|
|
Slightly optimize UTF-8 parsing
|
|
4445e5e2
|
2012-09-25T12:26:12
|
|
[buffer] Cleanup / optimize UTF-16 parsing a bit
|
|
1f66c3c1
|
2012-09-25T11:42:16
|
|
Add hb_utf_strlen()
Speeds up UTF-8 parsing by calling strlen().
|
|
7f19ae7b
|
2012-09-25T11:22:28
|
|
[buffer] Templatize UTF handling
Also move UTF routines into a separate file, to be reused from shapers
that need it.
|