同步代码02

Signed-off-by: l50040306 <lijialong22@huawei.com>
Change-Id: I8cd4615770a32fbd3430807c386b8c6cc76c8e9d
This commit is contained in:
l50040306 2024-08-08 15:41:46 +08:00
parent 17e21bf65e
commit cb7d988318

View File

@ -60,7 +60,7 @@ const std::vector<TextSelectableMode> TEXT_SELECTABLE_MODE = { TextSelectableMod
constexpr bool DEFAULT_ENABLE_TEXT_DETECTOR = false;
const std::vector<std::string> TEXT_DETECT_TYPES = { "phoneNum", "url", "email", "location" };
std::map<TextHeightAdaptivePolicy, int> TEXT_HEIGHT_ADAPTIVE_POLICY_MAP = {
std::map<TextHeightAdaptivePolicy, int> TEXT_HEIGHT_ADAPTIVE_POLICY_MAP = {
{ TextHeightAdaptivePolicy::MAX_LINES_FIRST, 0 },
{ TextHeightAdaptivePolicy::MIN_FONT_SIZE_FIRST, 1 },
{ TextHeightAdaptivePolicy::LAYOUT_CONSTRAINT_FIRST, 2 } };