- 14 11月, 2012 2 次提交
-
-
由 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.
-
- 08 6月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 20 1月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 26 8月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
Can be -1 for NUL-terminated string. This is useful for passing parts of a larger string to a function without having to copy or modify the string first. Affected functions: hb_tag_t hb_tag_from_string() hb_direction_from_string() hb_language_from_string() hb_script_from_string()
-
- 20 8月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
For two reasons: 1. User can always call hb_buffer_pre_allocate() themselves, and 2. Now we do a pre_alloc in add_utfX anyway, so the total number of reallocs is limited to a small number (~3) anyway. This just makes the API cleaner.
-
- 17 5月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 12 5月, 2011 2 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 11 5月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 03 5月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
Getting the hang of how to cleanly use gtest.
-
- 30 4月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 29 4月, 2011 8 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Wraps around glib for convenience and ease of use.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Because the following loop overflows: while (size > new_allocated) new_allocated += (new_allocated >> 1) + 32;
-
由 Behdad Esfahbod 提交于
-
- 28 4月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 22 4月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 19 4月, 2011 3 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Returns the error status of the buffer.
-
由 Ryan Lortie 提交于
Return the length, whenever we return an array. Makes it easier on the language bindings.
-
- 16 4月, 2011 2 次提交
-
-
由 Behdad Esfahbod 提交于
This includes HB_DIRECTION_INVALID and HB_SCRIPT_INVALID. The INVALID will cause a "guess whatever from the text" in hb_shape(). While it's not ideal, it works better than the previous defaults at least (HB_DIRECTION_LTR and HB_SCRIPT_COMMON).
-
由 Behdad Esfahbod 提交于
One should use hb_buffer_reset() really.
-
- 15 4月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 13 4月, 2011 2 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-