From 68eb8a7333f2d301268a41028ceafdd2f0d7d894 Mon Sep 17 00:00:00 2001 From: koki kaminoura <14070846+granola@users.noreply.github.com> Date: Tue, 2 Jul 2019 18:32:22 +0900 Subject: [PATCH] Fix typos (#6324) --- docs/android_studio.md | 2 +- libs/openFrameworks/graphics/ofTrueTypeFont.h | 8 ++++---- scripts/dev/download_libs.sh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/android_studio.md b/docs/android_studio.md index 4fd3e61a684..8040a0fe387 100644 --- a/docs/android_studio.md +++ b/docs/android_studio.md @@ -43,7 +43,7 @@ Press the Play button next to the `androidEmptyExample` shown in the toolbar. Wi - If your connected device is not recognized by Android Studio, restart adb with `adb kill-server && adb start-server`. -- If, when syncronizing a project for the first time, clicking on the console +- If, when synchronizing a project for the first time, clicking on the console messages does not solve the problem regarding a missing dependency of the android API (like for example Android API 22), open the sdk from the console, select the missing API and install it. diff --git a/libs/openFrameworks/graphics/ofTrueTypeFont.h b/libs/openFrameworks/graphics/ofTrueTypeFont.h index 0e5318e128b..4c8d0338519 100644 --- a/libs/openFrameworks/graphics/ofTrueTypeFont.h +++ b/libs/openFrameworks/graphics/ofTrueTypeFont.h @@ -178,7 +178,7 @@ class ofTrueTypeFont{ /// \param fontsize The size in pixels to load the font. /// \param _bAntiAliased true if the font should be anti-aliased. /// \param _bFullCharacterSet true if the full character set should be cached. - /// \param makeControus true if the vector contours should be cached. + /// \param makeContours true if the vector contours should be cached. /// \param simplifyAmt the amount to simplify the vector contours. Larger number means more simplified. /// \param dpi the dots per inch used to specify rendering size. /// \returns true if the font was loaded correctly. @@ -239,7 +239,7 @@ class ofTrueTypeFont{ /// \returns the current line height. float getLineHeight() const; - /// \brief Sets line height for text drawn on screen. + /// \brief Sets line height for text drawn on screen. /// /// Note the line height is automatically computed based on the font size, when you load in the font. /// @@ -298,7 +298,7 @@ class ofTrueTypeFont{ /// \returns the width of the space. float getSpaceSize() const; - /// \brief Sets the width for the whitespace character for this font + /// \brief Sets the width for the whitespace character for this font. /// /// This number, which defaults to 1.0, scales the width of a whitespace, based on the /// width of the whitespace glyph of this font. @@ -336,7 +336,7 @@ class ofTrueTypeFont{ /// \name Drawing /// \{ - /// \brief Draw a string s at position x,y + /// \brief Draws a string s at position x,y. /// \param s String to draw /// \param x X position of string /// \param y Y position of string diff --git a/scripts/dev/download_libs.sh b/scripts/dev/download_libs.sh index 96884aa8d7c..e33fe4744b7 100755 --- a/scripts/dev/download_libs.sh +++ b/scripts/dev/download_libs.sh @@ -21,7 +21,7 @@ cat << EOF msys2: 32 android: armv7, arm64, and x86 (if not specified will download all) linux: 64gcc4, 64gcc5, 64gcc6 / 64, armv6l or armv7l - -n, --no-overwrite Merge new libraries with exisiting ones, use only to download same version for different platforms + -n, --no-overwrite Merge new libraries with existing ones, use only to download same version for different platforms If not set deletes any existing libraries -s, --silent Silent download progress -h, --help Shows this message