|
2a8c49ad
|
2013-12-11T20:22:28
|
|
Remove unnecessary includes
|
|
02c6c8cd
|
2013-11-15T13:05:38
|
|
Set buffer content type to INVALID in hb_buffer_set_length(0)
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.
|
|
061cb464
|
2013-11-13T14:50:25
|
|
Use long alignment for scratch buffer
Fixes last of scratch alignment warnings in hb-coretext.
|
|
68c372ed
|
2013-11-13T14:44:01
|
|
More scratch-buffer cleanup
|
|
16f175cb
|
2013-11-12T17:22:49
|
|
Fix scratch-buffer alignment warnings
|
|
6b65a76b
|
2013-10-14T18:51:39
|
|
[otlayout] Fix (Chain)Context recursion!
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.
|
|
8b63efb6
|
2013-05-02T14:29:32
|
|
Minor
|
|
847794e9
|
2013-02-27T17:59:28
|
|
[buffer] Implement buffer deserialization for format=text
Using a ragel machine.
|
|
3f82f8ff
|
2012-11-15T18:45:31
|
|
Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties()
|
|
f3064103
|
2012-11-15T18:39:46
|
|
Bunch of independent changes (ouch)
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.)
|
|
66ac2ff3
|
2012-11-13T16:26:32
|
|
API change: Remove "mask" from hb_buffer_add()
I don't expect anybody using hb_buffer_add(), so this shouldn't break
anyone's code.
|
|
0c7df222
|
2012-11-13T14:42:35
|
|
Add buffer flags
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/...
|
|
82ecaff7
|
2012-11-13T13:57:52
|
|
Add hb_buffer_clear()
Which is like _reset(), but does NOT clear unicode-funcs.
|
|
0bc7a384
|
2012-10-29T22:02:45
|
|
[OT] Fix ReverseChainingSubst
We should make it clear that we don't want output buffer in this case,
otherwise buffer->backtrack_len() would be wrong.
|
|
05207a79
|
2012-09-25T17:44:53
|
|
[buffer] Save pre/post textual context
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.
|
|
96fdc04e
|
2012-09-06T22:26:16
|
|
Add hb_buffer_[sg]et_content_type
And hb_buffer_content_type_t and enum values.
|
|
b85800f9
|
2012-08-31T18:12:01
|
|
[Indic] Implement dotted-circle insertion for broken clusters
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.
|
|
1be368e9
|
2012-08-31T16:29:17
|
|
Minor
|
|
965c280d
|
2012-08-29T13:59:16
|
|
Add HB_BUFFER_ASSERT_VAR
To be used in places we access buffer vars...
|
|
801298b5
|
2012-08-08T14:26:36
|
|
Fix cast
https://bugs.freedesktop.org/show_bug.cgi?id=53233
|
|
69cc492d
|
2012-07-31T14:51:36
|
|
[buffer] Minor
|
|
2f87cebe
|
2012-07-27T04:02:38
|
|
Implement shape_plan caching
Should give us some performance boost.
|
|
ea278d38
|
2012-07-27T02:12:28
|
|
Partially switch ot shaper to shape_plan
|
|
d16ccc4a
|
2012-07-18T15:43:55
|
|
Leave one extra item at the end of buffer allocation
Just in case, for the times we do out-of-bounds access.
jk
|
|
1bc1cb36
|
2012-06-16T15:21:55
|
|
Make source more digestable for gobject-introspection
|
|
e085fcf7
|
2012-06-08T21:45:00
|
|
Remove unused buffer->replace_glyphs_be16
|
|
2a3d911f
|
2012-06-07T17:31:46
|
|
Fix alignment-requirement missmatch
Detected by clang and lots of cmdline options.
|
|
6220e5fc
|
2012-06-06T03:30:09
|
|
Add ASSERT_POD for most objects
|
|
0594a244
|
2012-06-05T20:35:40
|
|
Cleanup TRUE/FALSE vs true/false
|
|
99c26957
|
2012-05-13T15:45:18
|
|
Add accessort to buffer for current info, current pos, and prev info
|
|
8e3715f8
|
2012-04-23T22:18:54
|
|
Minor
|
|
d4cc4471
|
2012-04-07T21:52:28
|
|
Move code around, in prep for Thai/Lao shaper
|
|
9ebe8c02
|
2011-08-26T09:29:42
|
|
Add buffer->replace_glyphs()
|
|
02aeca98
|
2011-08-04T22:31:05
|
|
[API] Changes to main shape API
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.
|
|
c605bbbb
|
2011-08-04T20:00:53
|
|
Remove C++ guards from source files
Where causing issues for people with MSVC.
|
|
e62df436
|
2011-08-03T17:38:54
|
|
Add internal hb_buffer_t::get_scratch_buffer()
|
|
b65c0602
|
2011-07-28T16:48:43
|
|
Formalize buffer var allocations
|
|
a9ad3d34
|
2011-07-28T15:42:18
|
|
Move more code around
Buffer var allocation coming into shape
|
|
f4a579bc
|
2011-07-25T16:20:16
|
|
Add internal API for buffer var allocation
|
|
468e9cb2
|
2011-07-22T11:28:07
|
|
Move buffer methods into the object
|
|
9111b21e
|
2011-07-21T00:58:29
|
|
Add _hb_buffer_output_glyph() and _hb_buffer_skip_glyph()
|
|
31f18abe
|
2011-06-15T09:49:58
|
|
Minor compiler warning fixes
|
|
e0db4b86
|
2011-04-28T12:56:49
|
|
[buffer] More error handling
Should be all set now.
|
|
fca368c4
|
2011-04-21T18:24:02
|
|
Add hb_object_header_t which is the common part of all objects
Makes way for adding arbitrary user_data support.
|
|
2409d5f8
|
2011-04-21T17:14:28
|
|
Update Copyright headers
|
|
c57d454a
|
2011-04-20T18:50:27
|
|
Rename all private sources and headers to C++ files
So we can liberally use the simple features of C++ that parts of the
codebase is already using.
|
|
fb194b87
|
2011-04-20T02:00:47
|
|
unicode: Cleanup implementation
|
|
c0af193c
|
2011-04-15T19:26:24
|
|
Change buffer default properties to invalid
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).
|
|
8f0d7e0c
|
2011-04-15T18:59:56
|
|
Remove hb_buffer_clear_positions(), add hb_ot_layout_position_start()
|
|
cc1a8a93
|
2011-01-06T14:58:52
|
|
Fix ChanContext backtrack matching with GPOS
Reported on mailing list by Keith Stribley and Khaled Hosny.
|
|
88474c6f
|
2010-10-27T14:42:15
|
|
Get rid of the OpenType-specific internal buffer representation
Add variant integers to buffer item types. More cleanup coming.
|
|
1115890b
|
2010-10-27T17:07:04
|
|
More cleanup
|
|
870e2d6e
|
2010-10-27T17:37:20
|
|
Remove unused function
|
|
dbf56b1d
|
2010-10-27T17:06:12
|
|
More lig-id cleanup
|
|
dd2ffd28
|
2010-10-27T16:57:01
|
|
Minor renaming
|
|
98370e89
|
2010-10-27T17:39:01
|
|
WIP removing external synthesized GDEF support and implementing it internally
|
|
fe263272
|
2010-10-27T16:51:02
|
|
Move setting lig_id/component out of buffer and to the gsub code
|
|
bd7378b2
|
2010-10-13T18:33:16
|
|
Massage mask setting a bit more
Still finding the exact correct way the masks should be set.
|
|
57ac0ecb
|
2010-10-12T17:07:02
|
|
Merge clearing masks and setting global masks
|
|
a7c5046d
|
2010-10-08T18:47:47
|
|
Add private hb_segment_properties_t
|
|
4e4ef24e
|
2010-07-23T17:22:11
|
|
Towards separating bit allocation from shaping
|
|
acdba3f9
|
2010-07-23T15:11:18
|
|
Prefer C linkage
|
|
da8edbb6
|
2010-06-09T07:15:39
|
|
Fix header
|
|
81c5e872
|
2010-05-28T18:31:16
|
|
Allow disabling default features
Patch from Jonathan Kew
|
|
1ce7b87c
|
2010-05-21T17:31:45
|
|
Cleanup bitmask allocation
|
|
a6a79df5
|
2010-05-14T23:20:16
|
|
Handle malloc failture in the buffer
|
|
910a33fe
|
2010-05-14T22:13:38
|
|
Update buffer docs
|
|
36b73c80
|
2010-05-14T22:10:39
|
|
Shortening buffer accessors: rename buffer->in_pos to buffer->i
|
|
29427c5c
|
2010-05-14T22:08:22
|
|
Shortening buffer accessors: rename buffer->out_length to buffer->out_len
|
|
6960350b
|
2010-05-14T22:07:46
|
|
Shortening buffer accessors: rename buffer->in_length to buffer->len
|
|
1b621823
|
2010-05-14T22:05:53
|
|
Shortening buffer accessors: rename buffer->positions to buffer->pos
|
|
9d5e26df
|
2010-05-14T22:03:11
|
|
Shortening buffer accessors: rename buffer->out_string to buffer->out_info
|
|
7e7007a1
|
2010-05-14T22:02:37
|
|
Shortening buffer accessors: rename buffer->in_string to buffer->info
|
|
8e6b6bb2
|
2010-05-14T21:58:22
|
|
Merge buffer->out_pos and buffer->out_length
|
|
22f668eb
|
2010-05-14T21:41:04
|
|
Remove the unused BUFFER macro
|
|
7e53ebe4
|
2010-05-14T21:38:13
|
|
Remove the IN_CURGLYPH() macro
|
|
d784da19
|
2010-05-14T21:37:18
|
|
Remove the IN_CURINFO() macro
|
|
281f59b4
|
2010-05-14T21:34:22
|
|
Remove IN_INFO() and IN_NEXTGLYPH() macros
|
|
6e489cdf
|
2010-05-14T21:07:35
|
|
Remove the IN_GLYPH() macro
|
|
01feb74c
|
2010-05-14T21:00:08
|
|
Remove the IN_CLUSTER() macro
|
|
d63a1e08
|
2010-05-14T20:30:07
|
|
Remove the IN_MASK() macro
|
|
89e2834d
|
2010-05-14T20:25:55
|
|
Remove the IN_LIGID() macro
|
|
4a871041
|
2010-05-14T20:25:04
|
|
Remove IN_COMPONENT() macro
|
|
27da6dd8
|
2010-05-14T20:17:50
|
|
Remove OUT_GLYPH() and OUT_INFO() macros
|
|
3109375b
|
2010-05-14T19:55:27
|
|
Remove POSITION() and CURPOSITION() macros
|
|
72071a8a
|
2010-05-13T13:22:24
|
|
Add a few more buffer convenience methods
|
|
1d5e7801
|
2010-05-12T23:43:00
|
|
Add a few other buffer methods
|
|
d0316a81
|
2010-05-12T23:34:52
|
|
Add buffer->swap()
|
|
8951fc2c
|
2010-05-12T23:13:39
|
|
Add buffer->allocate_lig_id()
|
|
22da7fd9
|
2010-05-12T18:23:21
|
|
Rename a few files to be C++ sources
In anticipation for buffer revamp coming.
|