diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-08-25 03:49:56 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-08-25 03:49:56 +0000 |
commit | 3a220eb574e300067eb4eb22dbce9424e323c487 (patch) | |
tree | 0391fecc67cc0edfcf02bc4848f92161c3385e57 /games/wesnoth | |
parent | 793a49d7c01284a5e5a35fbaf209f069dca6d441 (diff) |
Notes
Diffstat (limited to 'games/wesnoth')
-rw-r--r-- | games/wesnoth/files/patch-src_font.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games/wesnoth/files/patch-src_font.cpp b/games/wesnoth/files/patch-src_font.cpp new file mode 100644 index 000000000000..4497d7c7296b --- /dev/null +++ b/games/wesnoth/files/patch-src_font.cpp @@ -0,0 +1,14 @@ +--- src/font.cpp.orig 2009-08-24 23:47:26.000000000 -0400 ++++ src/font.cpp 2009-08-24 23:48:51.000000000 -0400 +@@ -474,9 +474,9 @@ void text_surface::bidi_cvt() + FriBidiCharType base_dir = FRIBIDI_TYPE_ON; + int n; + +- n = fribidi_utf8_to_unicode (c_str, len, bidi_logical); ++ n = fribidi_charset_to_unicode (FRIBIDI_CHAR_SET_UTF8, c_str, len, bidi_logical); + fribidi_log2vis(bidi_logical, n, &base_dir, bidi_visual, NULL, NULL, NULL); +- fribidi_unicode_to_utf8 (bidi_visual, n, utf8str); ++ fribidi_unicode_to_charset (FRIBIDI_CHAR_SET_UTF8, bidi_visual, n, utf8str); + is_rtl_ = base_dir == FRIBIDI_TYPE_RTL; + str_ = std::string(utf8str); + delete[] bidi_logical; |