summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2010-06-14 14:14:59 +0200
committerLars Knoll <lars.knoll@nokia.com>2010-06-14 14:22:31 +0200
commitcce760d41f115fecd5b9b6b20b62883b10a9c204 (patch)
treef7fc041c8a1c8c73744060fc845a3c6af76a8793 /contrib
parent85ad0ddd092522b4cff251f324128662f100991f (diff)
Fixes for thai linebreaking
* Load libthai.so.0 since libthai.so is not there on all systems * Remove dependency on codecs. Unicode->TIS620 is so simple we can simply hardcode it in harbuzz-thai.c * Speed up detection of word boundaries * Falback when libthai is not found is now to not break instead of breaking after every character (in line with recommendations from unicode.org linebreaking algorithm) Reviewed-by: Simon Hausmann
Diffstat (limited to 'contrib')
-rw-r--r--contrib/harfbuzz-unicode.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/contrib/harfbuzz-unicode.c b/contrib/harfbuzz-unicode.c
index 51dd4ea..049e0ca 100644
--- a/contrib/harfbuzz-unicode.c
+++ b/contrib/harfbuzz-unicode.c
@@ -262,24 +262,7 @@ HB_GetMirroredChar(HB_UChar16 ch) {
}
void *
-HB_Library_Resolve(const char *library, const char *symbol) {
+HB_Library_Resolve(const char *library, int version, const char *symbol) {
abort();
return NULL;
}
-
-void *
-HB_TextCodecForMib(int mib) {
- abort();
- return NULL;
-}
-
-char *
-HB_TextCodec_ConvertFromUnicode(void *codec, const HB_UChar16 *unicode, hb_uint32 length, hb_uint32 *outputLength) {
- abort();
- return NULL;
-}
-
-void
-HB_TextCodec_FreeResult(char *v) {
- abort();
-}