未验证 提交 d9fcdfb6 编写于 作者: J Jason Simmons 提交者: GitHub

Enable libtxt as the default text renderer (#4773)

上级 b6df7a63
......@@ -121,7 +121,7 @@ void Shell::InitStandalone(fxl::CommandLine command_line,
command_line.HasOption(FlagForSwitch(Switch::EnableSoftwareRendering));
settings.using_blink =
!command_line.HasOption(FlagForSwitch(Switch::EnableTxt));
command_line.HasOption(FlagForSwitch(Switch::EnableBlink));
settings.endless_trace_buffer =
command_line.HasOption(FlagForSwitch(Switch::EndlessTraceBuffer));
......
......@@ -63,9 +63,9 @@ DEF_SWITCH(SkiaDeterministicRendering,
"Skips the call to SkGraphics::Init(), thus avoiding swapping out"
"some Skia function pointers based on available CPU features. This"
"is used to obtain 100% deterministic behavior in Skia rendering.")
DEF_SWITCH(EnableTxt,
"enable-txt",
"Enable libtxt as the text shaping library instead of Blink.")
DEF_SWITCH(EnableBlink,
"enable-blink",
"Enable Blink as the text shaping library instead of libtxt.")
DEF_SWITCH(FLX, "flx", "Specify the FLX path.")
DEF_SWITCH(FlutterAssetsDir,
"flutter-assets-dir",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册