|· Hosting provided by Anduin.net / Øverby Consulting ·|
|Anonymous | Login | Signup for a new account||2014-10-01 14:13 CEST|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003173||Scribus||NLS||public||06-Feb-04 04:48||14-Sep-17 17:59|
|Target Version||1.5.0||Fixed in Version|
|Summary||0003173: Japanese (CJK) text in story editor is not entered into text frame. Frequent crashes.|
|Description||If Japanese text is entered in the story editor, it is not copied to the text frame. |
There are frequent crashes, the crash window explains:
"Scribus crashes due to following exception: EXCEPTION_ACCESS_VIOLATION"
|Steps To Reproduce||Create text frame.|
Open story editor.
Turn IME on.
Enter Japanese text.
If it doesn't crash, save and close.
|Additional Information||I see this on both a English XP pro OS, and a Japanese XP Home OS|
|Tags||No tags attached.|
|can you provide us with some japanese text to test this with. We have not tested with IME as no one on our team knows Japanese.|
edited on: 06-Feb-05 13:26
If you just want something to copy and paste go to Japanese wikipedia. I can't enter it here, as this page is Windows 1252 encoding, which doesn't support Japanese.
But turning on the IME in windows isn't tricky.
For direct input the IME is disabled by Scribus, but cut and paste of Japanese is possible (separate bug?). The Japanese text which has been cut and pasted can be viewed, edited (in Japanese) and saved from the story editor. But new paragraphs are truncated at the first Japanese character.
This probably affects Korean and Chinese users too.
Hope this helps.
|This issue continues to be present in 1.3.3|
I've seen reports of similar issues, and suspect there's an encoding issue in there somewhere. I've seen reports of this problem but never been able to reproduce it myself. I'm not sure if it happens under Linux.
I'll give it a go when I'm next around in Windows.
Developers are probably aware of this, but to turn on the IME in Win XP is straight forward see (for example) http://www.msu.edu/~bellbri2/ime.html#_Windows_XP_Installation [^]
The crashes are Seg faults. Gdb hints at an array being out of range somewhere in qt-mt3.dll.
Would a backtrace be useful? Are debug builds made?
|There is a known issue triggering these EXCEPTION_ACCESS_VIOLATION which was caused indeed by out of bounds array access. It appeared when Scribus was run in other languages than en_us and was solved in 18.104.22.168 (released some days ago). Upgrade, it should not solve your issue with IME (text not copied to frame), but will reduce crashes.|
|The crashes are not the ones that jghali mentioned. I'm running 22.214.171.124 (May 29 build) and I'm using the English interface. Scribus still crashes.|
edited on: 06-Jul-10 02:38
To ringerc: yes, the issue does affect Linux. At least, Japanese text does not get copied to the frame. As for the crashes, I'm not sure how severe it is--I haven't yet attempted to create any substantial Japanese documents (what would be the point?), but I did cause a crash by doing the following:
1) Entered Japanese text in the story editor
2) Closed-with-save the story editor
3) Saved the document
4) Opened the story editor for the same frame again
5) Entered some Japanese text, during which ...
** CRASH (signal 11) **
This is the first time I have tried steps 3 & 4, and the first time Scribus has crashed.
Given that this only affects IME-entered text, not unicode text pasted in, I'm wondering if this is being caused by an assumption somewhere that one keystroke == one unichar that's being broken by the IME.
I'll have to look up how to actually use the Japanese IME on win32 and see if I can reproduce the fault. Ideally it'd be traced in a debugger but I don't have a useful debug env working under win32 yet.
Here's a little additional info, though it seems mainly to confirm what is already known. I imported a UTF-8 text file with mainly Japanese characters into the story editor, and found that the Japanese text *was* inserted into the text frame.
BTW, I am running Scribus 126.96.36.199 on Linux with glibc 2.4 and Qt 3.3.6.
Anything else I can do to help? I would like to see this bug resolved soon. Unfortunately, I don't know much C++ and am unfamiliar with the Qt API, but I'm reasonably knowledgeable about CJK issues.
Here is a bit of good news: I am using SCIM (not SKIM) with Anthy for Japanese input on Linux. I have found that if I set 'XIM Input Style' to 'Over the Spot' in qtconfig, Japanese text is properly transferred from the story editor to the text frame. In fact, this is addressed in the SCIM FAQ:
Of course, I cannot say that this will eliminate crashes, but I did save a file with several paragraphs of Japanese text, then reopen it, enter additional text, and Scribus did not crash.
I'm not very familiar with MS-IME, but perhaps it has a similar setting that would have similar results.
|Windows IME doesn't support over the spot, only on the spot, or root window.|
Just want to add some more info.
I am using Scribus 188.8.131.52 on WinXP SP2.
Right now, the only way for me to use Chinese or Japanese characters in Scribus is to do the following:
1. Enter the texts in a separate TXT file
2. Import that into Scribus with the "Get Text" function
<but see bug below>
Otherwise if the characters were just typed in directly into the story editor, they would appear in it but won't show up in the text frame after update, just as others had described.
To add another somewhat related bug:
Since it is not possible to use paragraph style to pre-set the font of a new text box. When the Chinese or Japanese TXT file is first imported, the texts would appear as a "red block" instead of the real characters. However, that problem can be gotten around if the correct font was explicitly chosen in the story editor or in the Properties box.
I've just tried this with 1.3.4cvs (win XP). The results are pleasing. I was able to enter Japanese text into the story editor, and see the result on the page. I couldn't get it to crash.
I can't enter japanese text directly into a frame, the IME is disabled, and mixing Japanese and latin fonts is fiddly. And I haven't been able to align text vertially. These are separate bugs. For now I think this bug can be closed.
|Addendum, just now it did crash when converting kana->kanji in the story editor.|
|I'll try to release a 1.3.5 preview sometime soon, the story editor has been partially rewritten in the hope to better support IME. It will be interesting to test story editor in this version|
|As for me, japanese input in 1.3.5svn using Anthy on linux doesn't work at all. Neither directly in text frame nor in story editor.|
|06-Feb-04 04:48||Zeimusu||New Issue|
|06-Feb-04 21:42||plinnell||Note Added: 0008570|
|06-Feb-05 13:20||Zeimusu||Note Added: 0008590|
|06-Feb-05 13:22||Zeimusu||Note Edited: 0008590|
|06-Feb-05 13:26||Zeimusu||Note Edited: 0008590|
|06-Feb-08 11:03||plinnell||Status||new => acknowledged|
|06-Feb-08 11:03||plinnell||Relationship added||related to 0001493|
|06-Mar-08 18:53||bluetux||Note Added: 0009159|
|06-Mar-08 18:54||bluetux||Note Deleted: 0009159|
|06-Mar-31 04:34||Zeimusu||Note Added: 0009577|
|06-Mar-31 09:41||jo-hannes||Product Version||1.3.2 => 1.3.4cvs|
|06-Mar-31 10:19||ringerc||Note Added: 0009578|
|06-Jun-03 14:50||Zeimusu||Note Added: 0011564|
|06-Jun-03 18:07||jghali||Note Added: 0011565|
|06-Jun-03 19:58||mhanski||Relationship added||related to 0003740|
|06-Jun-03 19:59||mhanski||Relationship added||related to 0003765|
|06-Jun-05 15:40||Zeimusu||Note Added: 0011579|
|06-Jul-10 02:37||mgushee||Note Added: 0011827|
|06-Jul-10 02:38||mgushee||Note Edited: 0011827|
|06-Jul-10 10:47||ringerc||Note Added: 0011831|
|06-Jul-10 11:25||mhanski||Relationship added||child of 0003965|
|06-Jul-11 04:12||mgushee||Note Added: 0011845|
|06-Jul-15 22:21||mgushee||Note Added: 0011887|
|06-Jul-20 17:45||Zeimusu||Note Added: 0011944|
|06-Dec-28 11:35||cbradney||Relationship added||has duplicate 0005018|
|07-Jan-04 10:05||cbradney||Category||Story Editor / Text Frames => NLS|
|07-Feb-05 03:46||tisiphone||Note Added: 0015096|
|07-May-07 16:17||Zeimusu||Note Added: 0016116|
|07-May-07 16:19||Zeimusu||Note Added: 0016117|
|07-Aug-03 09:57||jghali||Relationship added||has duplicate 0006060|
|07-Oct-18 21:10||jghali||Relationship added||has duplicate 0006380|
|08-May-08 16:56||jghali||Note Added: 0019640|
|08-May-09 23:42||user2155||Note Added: 0019651|
|08-Jul-09 21:07||cbradney||Relationship added||has duplicate 0007128|
|10-Mar-02 10:25||jghali||Relationship added||has duplicate 0008899|
|10-Sep-08 21:03||cbradney||Relationship added||has duplicate 0009349|
|14-Jul-25 07:41||Kunda||Target Version||=> 1.5.0|
|14-Sep-11 04:34||Kunda||Severity||crash => block|
|14-Sep-17 17:58||Kunda||Relationship added||related to 0008987|
|14-Sep-17 17:59||Kunda||Relationship added||related to 0012697|
|My View | View Issues | Change Log | Roadmap|
|Copyright © 2000 - 2014 MantisBT Team|