summaryrefslogtreecommitdiffstats
path: root/libs/minikin/Android.mk
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2015-03-18 23:04:28 -0700
committerRaph Levien <raph@google.com>2015-03-30 09:15:53 -0700
commitdaf6a6bdbf2ff1f66496d6200cb253e2f50759d5 (patch)
tree20b32ff4bddb7fd70b72a734fea4d9ac5458dd51 /libs/minikin/Android.mk
parent01f526614431e3a0a6e1a48039e00b8a9b7d6fbf (diff)
downloadandroid_frameworks_minikin-daf6a6bdbf2ff1f66496d6200cb253e2f50759d5.tar.gz
android_frameworks_minikin-daf6a6bdbf2ff1f66496d6200cb253e2f50759d5.tar.bz2
android_frameworks_minikin-daf6a6bdbf2ff1f66496d6200cb253e2f50759d5.zip
Add hyphenation to line breaking
This patch adds hyphenation using the Liang hyphenation algorithm, similar to TeX. It also improves the optimized line breaker so that it works correctly and efficiently even when the line width is not constant (there is a specialization for constant width, which is probably worthwhile, but performance TODOs remain). Still to be done: * hyphenator has many shortcuts, only tested with English * interaction between punctuation and hyphenation is problematic Change-Id: I2d94a1668ebc536398b7c43fcf486333eeb7c6aa
Diffstat (limited to 'libs/minikin/Android.mk')
-rw-r--r--libs/minikin/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/minikin/Android.mk b/libs/minikin/Android.mk
index 5406824..34b535c 100644
--- a/libs/minikin/Android.mk
+++ b/libs/minikin/Android.mk
@@ -22,6 +22,7 @@ LOCAL_SRC_FILES := \
FontCollection.cpp \
FontFamily.cpp \
GraphemeBreak.cpp \
+ Hyphenator.cpp \
Layout.cpp \
LineBreaker.cpp \
MinikinInternal.cpp \