diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2017-11-10 17:14:27 -0800 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2017-11-10 17:14:27 -0800 |
commit | e4da38020021a92afa4062ed676f286945070dc4 (patch) | |
tree | 87a090291843b9f8e19bb7d1f60dc3403bbef753 /src/hb-directwrite.cc | |
parent | 4de03a1585cf735e3ac09847af761ff85fca5a02 (diff) | |
download | harfbuzz-e4da38020021a92afa4062ed676f286945070dc4.tar.gz |
[coretext/uniscribe/directwrite/graphite/fallback] Update for unsafe-to-break
Fixes https://github.com/behdad/harfbuzz/issues/615
We'll see which bots I broke.
Diffstat (limited to 'src/hb-directwrite.cc')
-rw-r--r-- | src/hb-directwrite.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hb-directwrite.cc b/src/hb-directwrite.cc index 25749de8..0674ef9b 100644 --- a/src/hb-directwrite.cc +++ b/src/hb-directwrite.cc @@ -927,8 +927,7 @@ hb_directwrite_shape_experimental_width(hb_font_t *font, hb_bool_t res = _hb_directwrite_shape_full (shape_plan, font, buffer, features, num_features, width); - if (res) - buffer->content_type = HB_BUFFER_CONTENT_TYPE_GLYPHS; + buffer->unsafe_to_break_all (); return res; } |