diff --git a/engine/src/flutter/lib/ui/text.dart b/engine/src/flutter/lib/ui/text.dart index d5960688ed..3418a28525 100644 --- a/engine/src/flutter/lib/ui/text.dart +++ b/engine/src/flutter/lib/ui/text.dart @@ -103,14 +103,14 @@ enum TextAlign { /// /// For left-to-right text ([TextDirection.ltr]), this is the left edge. /// - /// For right-to-left text ([TextDirection.rtr]), this is the right edge. + /// For right-to-left text ([TextDirection.rtl]), this is the right edge. start, /// Align the text on the trailing edge of the container. /// /// For left-to-right text ([TextDirection.ltr]), this is the right edge. /// - /// For right-to-left text ([TextDirection.rtr]), this is the left edge. + /// For right-to-left text ([TextDirection.rtl]), this is the left edge. end, } diff --git a/engine/src/flutter/third_party/txt/benchmarks/txt_run_all_benchmarks.cc b/engine/src/flutter/third_party/txt/benchmarks/txt_run_all_benchmarks.cc index ac6ae0a944..d2de9ae7cd 100644 --- a/engine/src/flutter/third_party/txt/benchmarks/txt_run_all_benchmarks.cc +++ b/engine/src/flutter/third_party/txt/benchmarks/txt_run_all_benchmarks.cc @@ -30,7 +30,7 @@ int main(int argc, char** argv) { txt::SetFontDir(dir); if (txt::GetFontDir().length() <= 0) { FXL_LOG(ERROR) << "Font directory must be specified with " - "--font-directoy=\"\" to run this test."; + "--font-directory=\"\" to run this test."; return EXIT_FAILURE; } FXL_DCHECK(txt::GetFontDir().length() > 0); diff --git a/engine/src/flutter/third_party/txt/src/txt/paragraph.h b/engine/src/flutter/third_party/txt/src/txt/paragraph.h index 3ad5199782..1c2ff82e4e 100644 --- a/engine/src/flutter/third_party/txt/src/txt/paragraph.h +++ b/engine/src/flutter/third_party/txt/src/txt/paragraph.h @@ -48,7 +48,7 @@ using GlyphID = uint32_t; // paragraph->Paint(, , ); class Paragraph { public: - // Constructor. I is highly recommended to construct a paragrph with a + // Constructor. It is highly recommended to construct a paragraph with a // ParagraphBuilder. Paragraph(); diff --git a/engine/src/flutter/third_party/txt/tests/txt_run_all_unittests.cc b/engine/src/flutter/third_party/txt/tests/txt_run_all_unittests.cc index e681cb3e6e..e24fccdf78 100644 --- a/engine/src/flutter/third_party/txt/tests/txt_run_all_unittests.cc +++ b/engine/src/flutter/third_party/txt/tests/txt_run_all_unittests.cc @@ -31,7 +31,7 @@ int main(int argc, char** argv) { txt::SetFontDir(dir); if (txt::GetFontDir().length() <= 0) { FXL_LOG(ERROR) << "Font directory must be specified with " - "--font-directoy=\"\" to run this test."; + "--font-directory=\"\" to run this test."; return EXIT_FAILURE; } FXL_DCHECK(txt::GetFontDir().length() > 0);