提交 b84e114b 编写于 作者: J Jason Simmons 提交者: GitHub

libtxt: fix some typos (#4206)

上级 11cac67f
......@@ -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,
}
......
......@@ -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=\"<directoy>\" to run this test.";
"--font-directory=\"<directory>\" to run this test.";
return EXIT_FAILURE;
}
FXL_DCHECK(txt::GetFontDir().length() > 0);
......
......@@ -48,7 +48,7 @@ using GlyphID = uint32_t;
// paragraph->Paint(<someSkCanvas>, <xpos>, <ypos>);
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();
......
......@@ -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=\"<directoy>\" to run this test.";
"--font-directory=\"<directory>\" to run this test.";
return EXIT_FAILURE;
}
FXL_DCHECK(txt::GetFontDir().length() > 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册