- 19 12月, 2015 1 次提交
-
-
由 Behdad Esfahbod 提交于
Currently just announces lookup applications. Message-API *will* change. hb-shape / hb-view are updated to print-out messages to stder if --debug is specified.
-
- 23 11月, 2015 1 次提交
-
-
由 Chun-wei Fan 提交于
This prepares the headers for exporting symbols using visibility attributes or __declspec(dllexport), so that we do not need to maintain symbols listing files, as this is what was and is done in GLib and GTK+.
-
- 03 9月, 2015 1 次提交
-
-
- 24 8月, 2015 1 次提交
-
-
由 Behdad Esfahbod 提交于
New API: HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS hb-shape now accepts --show-extents. Patch from Simon Cozens.
-
- 22 7月, 2015 1 次提交
-
-
由 Behdad Esfahbod 提交于
TODO: Documentation. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=71445
-
- 01 5月, 2015 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 27 1月, 2015 1 次提交
-
-
由 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!
-
- 17 7月, 2014 2 次提交
-
-
由 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.
-
- 18 10月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 27 8月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
Add deprecated alias for old name.
-
- 28 2月, 2013 3 次提交
-
-
由 Behdad Esfahbod 提交于
Using a ragel machine.
-
由 Behdad Esfahbod 提交于
-
由 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.
-
- 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 4 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 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.
-
- 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.
-
- 09 8月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
Apparently even that doesn't make check-internal-symbols.sh happy with mingw32. Going to disable that for DLLs again, but hopefully the export-file is doing *something*.
-
- 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.
-
- 17 6月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 06 6月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 13 4月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
Users should #include <hb.h> (or hb-ft.h, hb-glib.h, etc), but never things like hb-shape.h directly. This makes it easier to refactor headers later on without breaking compatibility.
-
- 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.
-
- 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'.
-
- 05 8月, 2011 1 次提交
-
-
由 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.
-
- 12 5月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 28 4月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 22 4月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 21 4月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
This was a bizzare piece of API that I inherited from cairo. It has been wrong adding them to cairo in the first place. Remove them before someone uses them!
-
- 19 4月, 2011 1 次提交
-
-
由 Behdad Esfahbod 提交于
-