- 25 9月, 2012 4 次提交
-
-
由 Behdad Esfahbod 提交于
Speeds up UTF-8 parsing by calling strlen().
-
由 Behdad Esfahbod 提交于
Also move UTF routines into a separate file, to be reused from shapers that need it.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 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...
-
- 12 8月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
It's considerably faster than the fallback implementation we had previously!
-
- 02 8月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 01 8月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 27 7月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 20 7月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 18 7月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
This reorders glyphs within the cluster to a nominal order. This should have no visible effect on the output, but helps with testing, for getting the same hb-shape output for visually-equal glyphs for each cluster.
-
- 09 6月, 2012 8 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 08 6月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
Detected by clang and lots of cmdline options.
-
- 06 6月, 2012 4 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Oops!
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 24 4月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 10 4月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
That's not in the OpenType spec, but it's what MS and Adobe do.
-
- 08 4月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 19 1月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
Patch from Kenichi Ishibashi.
-
- 26 8月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 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.
-
- 15 8月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
We do a conservative estimate of the number of characters, but still, this limits the number of buffer reallocs to a small constant.
-
- 09 8月, 2011 2 次提交
-
-
由 Behdad Esfahbod 提交于
We need this to set data on objects safely without worrying that some other thread unsets it by setting it at the same time.
-
由 Behdad Esfahbod 提交于
Since we already switched to accepting -1 as 'zero-terminated'.
-
- 07 8月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
A -1 text_length means: zero-terminated string. A -1 item_length means: to the end of string.
-
- 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 提交于
-