Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 183714 Details for
Bug 258969
games-puzzle/fish-fillets-0.8.1 - Font.cpp:30: error: 'fribidi_utf8_to_unicode' was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
change fribidi_utf8_to_unicode to fribidi_charset_to_unicode
fribidi-0.19.1.patch (text/plain), 1.09 KB, created by
Andrea Grazioli
on 2009-03-02 20:54:18 UTC
(
hide
)
Description:
change fribidi_utf8_to_unicode to fribidi_charset_to_unicode
Filename:
MIME Type:
Creator:
Andrea Grazioli
Created:
2009-03-02 20:54:18 UTC
Size:
1.09 KB
patch
obsolete
>diff -ru fillets-ng-0.8.1.orig/src/effect/Font.cpp fillets-ng-0.8.1/src/effect/Font.cpp >--- fillets-ng-0.8.1.orig/src/effect/Font.cpp 2006-01-05 23:31:18.000000000 +0100 >+++ fillets-ng-0.8.1/src/effect/Font.cpp 2009-03-02 21:20:23.000000000 +0100 >@@ -26,7 +26,7 @@ > FriBidiChar *logicalString = new FriBidiChar[text.length() + 1]; > FriBidiChar *visualString = new FriBidiChar[text.length() + 1]; > >- int ucsLength = fribidi_utf8_to_unicode(const_cast<char*>(text.c_str()), >+ int ucsLength = fribidi_charset_to_unicode(FRIBIDI_CHAR_SET_UTF8, const_cast<char*>(text.c_str()), > text.length(), logicalString); > fribidi_boolean ok = fribidi_log2vis(logicalString, ucsLength, &base, > visualString, NULL, NULL, NULL); >@@ -37,7 +37,7 @@ > } > > char *buffer = new char[text.length() + 1]; >- int length = fribidi_unicode_to_utf8(visualString, ucsLength, buffer); >+ int length = fribidi_unicode_to_charset(FRIBIDI_CHAR_SET_UTF8, visualString, ucsLength, buffer); > std::string result = std::string(buffer, length); > delete[] buffer; > delete[] visualString;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 258969
: 183714