[sword-devel] key parse failure, -r2304
Matthew Talbert
ransom1982 at gmail.com
Wed Apr 8 17:06:58 MST 2009
This patch prevents Farsi numbers from being used. I think it prevents
it always, but I'm not sure. At any rate, the root of the problem is
here.
Index: diathekemgr.cpp
===================================================================
--- diathekemgr.cpp (revision 2306)
+++ diathekemgr.cpp (working copy)
@@ -78,9 +78,11 @@
rtl = ((entry = section.find("Direction")) != section.end()) ?
((*entry).second == "RtoL") : false;
#ifdef _ICU_
- module->AddRenderFilter(arshaping);
+ if (shape){
+ module->AddRenderFilter(arshaping);
+ }
if (bidi && rtl) {
- module->AddRenderFilter(bidireorder);
+ module->AddRenderFilter(bidireorder);
}
#endif
SWMgr::AddRenderFilters(module, section);
If you aren't building with ICU, you'll never see this bug.
Matthew
More information about the sword-devel
mailing list