Get rid of qharfbuzz_p private dependency

It's used for weird conversion from "QChar::Script" to internal
HB_Script and back.

Looks like it was in old Qt on this mirror link:
39b4955da3?view=parallel

Related to #96 #27 #16
This commit is contained in:
leha-bot 2018-04-11 15:38:56 +03:00 committed by Alex
parent 54705d060c
commit 56cbcdcf94
1 changed files with 0 additions and 2 deletions

View File

@ -20,7 +20,6 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
*/
#include "ui/text/text.h"
#include <private/qharfbuzz_p.h>
#include "core/click_handler_types.h"
#include "ui/text/text_block.h"
@ -1806,7 +1805,6 @@ private:
} else {
analysis->flags = QScriptAnalysis::None;
}
analysis->script = hbscript_to_script(script_to_hbscript(analysis->script)); // retain the old behavior
++start;
++analysis;
}