- 21 3月, 2015 1 次提交
-
-
由 Behdad Esfahbod 提交于
Fixes coretext notdef loop consisting of all default_ignorable glyphs https://code.google.com/p/chromium/issues/detail?id=464755
-
- 03 3月, 2015 1 次提交
-
-
由 Behdad Esfahbod 提交于
In hb-coretext, when we were using scratch buffer for book-keeping, a reverse_range() caused by the notdef-insertion loop could mess up our log_clusters. Ouch!
-
- 27 1月, 2015 2 次提交
-
-
由 Behdad Esfahbod 提交于
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!
-
由 Behdad Esfahbod 提交于
-
- 07 1月, 2015 1 次提交
-
-
由 Behdad Esfahbod 提交于
Minimal shaping works now!
-
- 12 8月, 2014 1 次提交
-
-
由 Behdad Esfahbod 提交于
After 763e5466, one doesn't need to set flags for different pieces of text. The flags now are something the client sets up once, depending on how it actually uses the buffer. As such, don't clear it in clear_contents(). Tests updated.
-
- 17 7月, 2014 3 次提交
-
-
由 Behdad Esfahbod 提交于
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()
-
由 Behdad Esfahbod 提交于
Like hb_buffer_add_utf32, but doesn't do any Unicode validation. This is like what hb_buffer_add_utf32 used to be until a couple commits ago.
-
由 Behdad Esfahbod 提交于
-
- 15 4月, 2014 1 次提交
-
-
由 Behdad Esfahbod 提交于
Disables any cluster-merging. Added for testing purposes while we investigate what kind of API to add for this.
-
- 16 11月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
Previously we were only setting this in hb_buffer_clear_contents(), but set_length(0) is a valid way to reinitialize buffer to use with new text.
-
- 14 11月, 2013 2 次提交
-
-
由 Behdad Esfahbod 提交于
Fixes last of scratch alignment warnings in hb-coretext.
-
由 Behdad Esfahbod 提交于
-
- 13 11月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 17 10月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
Commit 6b65a76b. "end" was becoming negative. Was trigerred by Lohit-Kannada 2.5.3 and the sequence: U+0CB0,U+200D,U+0CBE,U+0CB7,U+0CCD,U+0C9F,U+0CCD,U+0CB0,U+0C97,U+0CB3 Two glyphs were being duplicated.
-
- 15 10月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
Previously we only supported recursive sublookups with ascending indices. We were also not correctly handling non-1-to-1 recursed lookups. Fix all that! Fixes the three tests in test/shaping/tests/context-matching.tests, which were derived from NotoSansBengali and NotoSansDevanagari among others.
-
- 13 9月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
Since our types are not associated with their methods, marking constructors makes them inaccessible from bindings. Undo for now.
-
- 07 9月, 2013 2 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 06 9月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 27 8月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
Add deprecated alias for old name.
-
- 30 4月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
Some infrastructures use DEBUG as a generic symbol.
-
- 28 2月, 2013 2 次提交
-
-
由 Behdad Esfahbod 提交于
Using a ragel machine.
-
由 Behdad Esfahbod 提交于
-
- 08 1月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
The previous name was clashing with harfbuzz.old. There are systems that need to link both... Clash-free now again.
-
- 22 12月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 30 11月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
Was causing assertion failure in shape_plan().
-
- 16 11月, 2012 5 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
API additions: hb_segment_properties_t HB_SEGMENT_PROPERTIES_DEFAULT hb_segment_properties_equal() hb_segment_properties_hash() hb_buffer_set_segment_properties() hb_buffer_get_segment_properties() hb_ot_layout_glyph_class_t hb_shape_plan_t hb_shape_plan_create() hb_shape_plan_create_cached() hb_shape_plan_get_empty() hb_shape_plan_reference() hb_shape_plan_destroy() hb_shape_plan_set_user_data() hb_shape_plan_get_user_data() hb_shape_plan_execute() hb_ot_shape_plan_collect_lookups() API changes: Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups(). New header file: hb-shape-plan.h And a bunch of prototyped but not implemented stuff. Coming soon. (Tests fail because of the prototypes right now.)
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Two output formats for now: TEXT, and JSON. For example: hb-shape --output-format=json Deserialization API is added, but not implemented yet.
-
- 14 11月, 2012 3 次提交
-
-
由 Behdad Esfahbod 提交于
I don't expect anybody using hb_buffer_add(), so this shouldn't break anyone's code.
-
由 Behdad Esfahbod 提交于
New API: hb_buffer_flags_t HB_BUFFER_FLAGS_DEFAULT HB_BUFFER_FLAG_BOT HB_BUFFER_FLAG_EOT HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES hb_buffer_set_flags() hb_buffer_get_flags() We use the BOT flag to decide whether to insert dottedcircle if the first char in the buffer is a combining mark. The PRESERVE_DEFAULT_IGNORABLES flag prevents removal of characters like ZWNJ/ZWJ/...
-
由 Behdad Esfahbod 提交于
Which is like _reset(), but does NOT clear unicode-funcs.
-
- 01 11月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
Patch from Jonathan Kew. Part of fixing: Mozilla Bug 801410 - avoid inserting dotted-circle for run-initial Unicode combining characters in "simple" scripts such as Latin https://bugzilla.mozilla.org/show_bug.cgi?id=801410
-
- 30 10月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
We should make it clear that we don't want output buffer in this case, otherwise buffer->backtrack_len() would be wrong.
-
- 29 10月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
Was causing invalid realloc()s.
-
- 26 9月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
To be used for a variety of purposes. We save up to five characters in each direction. No public API changes, everything is taken care of already. All clients need to do is to call hb_buffer_add_utf* with the full text + segment info (or at least some context) instead of just passing in the segment. Various operations (hb_buffer_reset, hb_buffer_set_length, hb_buffer_add*) automatically reset the relevant contexts.
-
- 25 9月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
Speeds up UTF-8 parsing by calling strlen().
-