mirror of https://github.com/procxx/kepka.git
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:
parent
54705d060c
commit
56cbcdcf94
|
@ -20,7 +20,6 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||||
*/
|
*/
|
||||||
#include "ui/text/text.h"
|
#include "ui/text/text.h"
|
||||||
|
|
||||||
#include <private/qharfbuzz_p.h>
|
|
||||||
|
|
||||||
#include "core/click_handler_types.h"
|
#include "core/click_handler_types.h"
|
||||||
#include "ui/text/text_block.h"
|
#include "ui/text/text_block.h"
|
||||||
|
@ -1806,7 +1805,6 @@ private:
|
||||||
} else {
|
} else {
|
||||||
analysis->flags = QScriptAnalysis::None;
|
analysis->flags = QScriptAnalysis::None;
|
||||||
}
|
}
|
||||||
analysis->script = hbscript_to_script(script_to_hbscript(analysis->script)); // retain the old behavior
|
|
||||||
++start;
|
++start;
|
||||||
++analysis;
|
++analysis;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue