Chen,
In src/ispell/Hyphenator.cpp, you are building a pattern from the file provided.
+ std::ofstream myfile("c://1.txt",ios::app);
+ myfile<<"result0£º"<<result<<endl;
+ myfile.close();
I can see some weird characters, above.
Make sure the relative path is given for the files. Hope you are not
hard-coding the file location as above to a fixed absolute location.
What happens if the file is missing? Is there any performance impact?
Regards,
Pradeeban.
2011/7/3 chenxiajian1985 <chenxiajian1985@gmail.com>:
> Hi
> the attachment is the newest patch file that I make some changes about my last patch. Thanks.
>
> the changes:
> 1 in my hyphenation branch, I add some code to call the function from enchant
> and some comments in lineBreaker.h(cpp) and textRun.h(cpp)
> 2 some tests in hyphenation
>
> todo:
> 1 Fully support hyphenation in Abiword
> 2 Support more language besides En_us
> 3 Some tests in Linux(Unix)
>
>
> Best Regards~
> chenxiajian
-- Kathiravelu Pradeeban. Software Engineer. WSO2 Inc. Blog: [Llovizna] http://kkpradeeban.blogspot.com/Received on Mon Jul 4 13:03:40 2011
This archive was generated by hypermail 2.1.8 : Mon Jul 04 2011 - 13:03:40 CEST