mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 10:39:01 +08:00
f409536f5e
* [qt5] Fix mac build * [qt5] Disable parallel build on mac * [qt5] Fix qmake find on mac * [qt5] Update find jom for mac * [qt5] Fix invocation of build command * [qt5-base] Rebuild packages for #5624 * [harfbuzz] Remove disabled assert (failing due to -Werror) * [qt5] Bump control version * [qt5] Disable harfbuzz on mac * [qt5-base] Disable harfbuzz on mac
24 lines
770 B
Diff
24 lines
770 B
Diff
--- a/src/hb-coretext.cc
|
|
+++ b/src/hb-coretext.cc
|
|
@@ -1059,20 +1059,6 @@
|
|
buffer->len += num_glyphs;
|
|
}
|
|
|
|
- /* Mac OS 10.6 doesn't have kCTTypesetterOptionForcedEmbeddingLevel,
|
|
- * or if it does, it doesn't respect it. So we get runs with wrong
|
|
- * directions. As such, disable the assert... It wouldn't crash, but
|
|
- * cursoring will be off...
|
|
- *
|
|
- * https://crbug.com/419769
|
|
- */
|
|
- if (false)
|
|
- {
|
|
- /* Make sure all runs had the expected direction. */
|
|
- bool backward = HB_DIRECTION_IS_BACKWARD (buffer->props.direction);
|
|
- assert (bool (status_and & kCTRunStatusRightToLeft) == backward);
|
|
- assert (bool (status_or & kCTRunStatusRightToLeft) == backward);
|
|
- }
|
|
|
|
buffer->clear_positions ();
|
|
|