- 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.
-
- 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.
-
- 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.
-
- 07 9月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
And hb_buffer_content_type_t and enum values.
-
- 01 9月, 2012 2 次提交
-
-
由 Behdad Esfahbod 提交于
No panic, we reeally insert dotted circle when it's absolutely broken. Fixes most of the dotted-circle cases against Uniscribe. (for Devanagari fixes 80% of them, for Khmer 70%; the rest look like Uniscribe being really bogus...) I had to make a decision. Apparently Uniscribe adds one dotted circle to each broken character. I tried that, but that goes wrong easily with split matras. So I made it add only one dotted circle to an entire broken syllable tail. As in: "if there was a dotted circle here, this would have formed a correct cluster." That works better for split stuff, and I like it more.
-
由 Behdad Esfahbod 提交于
-
- 30 8月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
To be used in places we access buffer vars...
-
- 09 8月, 2012 1 次提交
-
- 01 8月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 27 7月, 2012 2 次提交
-
-
由 Behdad Esfahbod 提交于
Should give us some performance boost.
-
由 Behdad Esfahbod 提交于
-
- 19 7月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
Just in case, for the times we do out-of-bounds access. jk
-
- 17 6月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 09 6月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 08 6月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
Detected by clang and lots of cmdline options.
-
- 06 6月, 2012 2 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 13 5月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 24 4月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 08 4月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 26 8月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 05 8月, 2011 2 次提交
-
-
由 Behdad Esfahbod 提交于
hb_shape() now accepts a shaper_options and a shaper_list argument. Both can be set to NULL to emulate previous API. And in most situations they are expected to be set to NULL. hb_shape() also returns a boolean for now. If shaper_list is NULL, the return value can be ignored. shaper_options is ignored for now, but otherwise it should be a NULL-terminated list of strings. shaper_list is a NULL-terminated list of strings. Currently recognized strings are "ot" for native OpenType Layout implementation, "uniscribe" for the Uniscribe backend, and "fallback" for the non-complex backend (that will be implemented shortly). The fallback backend never fails. The env var HB_SHAPER_LIST is also parsed and honored. It's a colon-separated list of shaper names. The fallback shaper is invoked if none of the env-listed shapers succeed. New API hb_buffer_guess_properties() added.
-
由 Behdad Esfahbod 提交于
Where causing issues for people with MSVC.
-
- 04 8月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 29 7月, 2011 2 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Buffer var allocation coming into shape
-
- 26 7月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 23 7月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 21 7月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 15 6月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 29 4月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
Should be all set now.
-
- 22 4月, 2011 2 次提交
-
-
由 Behdad Esfahbod 提交于
Makes way for adding arbitrary user_data support.
-
由 Behdad Esfahbod 提交于
-
- 21 4月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
So we can liberally use the simple features of C++ that parts of the codebase is already using.
-
- 20 4月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 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 提交于
-
- 07 1月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
Reported on mailing list by Keith Stribley and Khaled Hosny.
-
- 03 11月, 2010 1 次提交
-
-
由 Behdad Esfahbod 提交于
-