aboutsummaryrefslogtreecommitdiff
path: root/gen/string/scale
diff options
context:
space:
mode:
Diffstat (limited to 'gen/string/scale')
-rwxr-xr-xgen/string/scale5
1 files changed, 5 insertions, 0 deletions
diff --git a/gen/string/scale b/gen/string/scale
index 0455447..df8e53a 100755
--- a/gen/string/scale
+++ b/gen/string/scale
@@ -3,6 +3,11 @@
# Usage: scale -v utf=X -v mapping=X [-v az=X] [-v lt=X]
# Example: scale -v utf=8 -v mapping=title -v lt=1
+# NOTE: Titlecasing is a combination of titlecasing the first rune in a word,
+# and lowercasing all the other runes in the word. This means that for
+# the titlecase scale factor, you actually need MAX(TS, LS) where TS is
+# the titlecase scale factor and LS is the lowercase scale factor.
+
set -e
cd "${0%/*}/../.."