[Bug 784979] New: wxMaxima can not print correctly cyrilloc text (letters)
https://bugzilla.novell.com/show_bug.cgi?id=784979 https://bugzilla.novell.com/show_bug.cgi?id=784979#c0 Summary: wxMaxima can not print correctly cyrilloc text (letters) Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: kiv@mail.orbitel.bg QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) konqueror/4.8.5 Safari/534.34 When use latin letters to solve some mathematical problem and tnen print evdeery thing is print as expected. When use cyrillic letters on the screen every thing looks as expected but when print to file or to a printer all cyriltlic letters get replaced by unreadable text. Reproducible: Always Steps to Reproduce: 1. Open wxMaxima 2. Solve some problem using cyrillic and latin letters in the worksheet 3. Try to print the workshee to file. 4. Then open the file and check the cyrillic text - it get unreadable Actual Results: The cyrillic text get unreadable when print the worksheet Expected Results: The cyrillic text get unreadable - letters are replaced by some different letters and symbols. Seems like wrong kodepage used. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784979 https://bugzilla.novell.com/show_bug.cgi?id=784979#c Jiaying ren <jren@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jren@novell.com AssignedTo|bnc-team-screening@forge.pr |sbrabec@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784979 https://bugzilla.novell.com/show_bug.cgi?id=784979#c1 Stanislav Brabec <sbrabec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |lrupp@suse.com --- Comment #1 from Stanislav Brabec <sbrabec@suse.com> 2012-11-08 16:22:49 CET --- When I tried to type random Cyrillic and accented Latin letters and print to file, I got SIGSEGV (crash): Core was generated by `wxmaxima'. Program terminated with signal 11, Segmentation fault. #0 0x00007fcdd19b44e9 in wxPostScriptDC::DoGetTextExtent (this=0x1ca1e00, string=..., x=0x7fffe9ae1e28, y=0x7fffe9ae1e2c, descent=0x0, externalLeading=0x0, theFont=0x0) at src/generic/dcpsg.cpp:2151 Thread 4 (Thread 0x7fcdb89a7700 (LWP 10239)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x00007fcdcf87f7e5 in g_cond_wait_until (cond=cond@entry=0x19de8e8, mutex=mutex@entry=0x19de8e0, end_time=end_time@entry=160127683948) at gthread-posix.c:855 #2 0x00007fcdcf819f11 in g_async_queue_pop_intern_unlocked (queue=0x19de8e0, wait=wait@entry=1, end_time=160127683948) at gasyncqueue.c:424 #3 0x00007fcdcf81a5b8 in g_async_queue_timeout_pop_unlocked (queue=<optimized out>, timeout=timeout@entry=500000) at gasyncqueue.c:572 #4 0x00007fcdcf8667ea in g_thread_pool_wait_for_new_task (pool=0x19de880) at gthreadpool.c:264 #5 g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:298 #6 0x00007fcdcf8660e5 in g_thread_proxy (data=0x7fcd9000a540) at gthread.c:801 #7 0x00007fcdcf5e4e0e in start_thread (arg=0x7fcdb89a7700) at pthread_create.c:305 #8 0x00007fcdd092d2bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 3 (Thread 0x7fcdba1aa700 (LWP 10237)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x00007fcdcf87f7e5 in g_cond_wait_until (cond=cond@entry=0x19de8e8, mutex=mutex@entry=0x19de8e0, end_time=end_time@entry=160127681933) at gthread-posix.c:855 #2 0x00007fcdcf819f11 in g_async_queue_pop_intern_unlocked (queue=0x19de8e0, wait=wait@entry=1, end_time=160127681933) at gasyncqueue.c:424 #3 0x00007fcdcf81a5b8 in g_async_queue_timeout_pop_unlocked (queue=<optimized out>, timeout=timeout@entry=500000) at gasyncqueue.c:572 #4 0x00007fcdcf8667ea in g_thread_pool_wait_for_new_task (pool=0x19de880) at gthreadpool.c:264 #5 g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:298 #6 0x00007fcdcf8660e5 in g_thread_proxy (data=0x1b748a0) at gthread.c:801 #7 0x00007fcdcf5e4e0e in start_thread (arg=0x7fcdba1aa700) at pthread_create.c:305 #8 0x00007fcdd092d2bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 2 (Thread 0x7fcdbb8d2700 (LWP 10238)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x00007fcdcf87f7e5 in g_cond_wait_until (cond=cond@entry=0x19de8e8, mutex=mutex@entry=0x19de8e0, end_time=end_time@entry=160127521305) at gthread-posix.c:855 #2 0x00007fcdcf819f11 in g_async_queue_pop_intern_unlocked (queue=0x19de8e0, wait=wait@entry=1, end_time=160127521305) at gasyncqueue.c:424 #3 0x00007fcdcf81a5b8 in g_async_queue_timeout_pop_unlocked (queue=<optimized out>, timeout=timeout@entry=500000) at gasyncqueue.c:572 #4 0x00007fcdcf8667ea in g_thread_pool_wait_for_new_task (pool=0x19de880) at gthreadpool.c:264 #5 g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:298 #6 0x00007fcdcf8660e5 in g_thread_proxy (data=0x1b9c140) at gthread.c:801 #7 0x00007fcdcf5e4e0e in start_thread (arg=0x7fcdbb8d2700) at pthread_create.c:305 #8 0x00007fcdd092d2bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 1 (Thread 0x7fcdd290a980 (LWP 9901)): #0 0x00007fcdd19b44e9 in wxPostScriptDC::DoGetTextExtent (this=0x1ca1e00, string=..., x=0x7fffe9ae1e28, y=0x7fffe9ae1e2c, descent=0x0, externalLeading=0x0, theFont=0x0) at src/generic/dcpsg.cpp:2151 #1 0x00000000004b9d51 in GetTextExtent (theFont=0x0, externalLeading=0x0, descent=0x0, y=0x7fffe9ae1e2c, x=0x7fffe9ae1e28, string=..., this= 0x1ca1e00) at /usr/include/wx-2.8/wx/dc.h:447 #2 EditorCell::RecalculateWidths (this=0x1af7950, parser=..., fontsize=12, all=true) at EditorCell.cpp:156 #3 0x00000000004945b9 in TextCell::RecalculateWidths (this=0x1af7890, parser=..., fontsize=12, all=true) at TextCell.cpp:145 #4 0x00000000004c9b68 in GroupCell::RecalculateWidths (this=0x1af7580, parser=..., fontsize=<optimized out>, all=false) at GroupCell.cpp:306 #5 0x00000000004c68af in GroupCell::Recalculate (this=0x1af7580, parser=..., d_fontsize=12, m_fontsize=<optimized out>) at GroupCell.cpp:287 #6 0x00000000004b70c5 in MathPrintout::Recalculate (this=this@entry=0x7fffe9ae2780) at MathPrintout.cpp:279 #7 0x00000000004b7729 in MathPrintout::SetupData (this=0x7fffe9ae2780) at MathPrintout.cpp:166 #8 0x00007fcdd19cbf37 in wxPostScriptPrinter::Print (this=0x1af7330, parent=0x17b1fd0, printout=0x7fffe9ae2780, prompt=<optimized out>) at src/generic/printps.cpp:133 #9 0x0000000000435305 in wxMaxima::PrintMenu (this=0x17b1fd0, event=...) at wxMaxima.cpp:1701 #10 0x00007fcdd12137e6 in ProcessEventIfMatches (event=..., handler=<optimized out>, entry=...) at src/common/event.cpp:1239 #11 wxEvtHandler::ProcessEventIfMatches (entry=..., handler=<optimized out>, event=...) at src/common/event.cpp:1214 #12 0x00007fcdd1213954 in wxEventHashTable::HandleEvent (this=<optimized out>, event=..., self=self@entry=0x17b1fd0) at src/common/event.cpp:906 #13 0x00007fcdd1213c77 in ProcessEvent (event=..., this=0x17b1fd0) at src/common/event.cpp:1301 #14 wxEvtHandler::ProcessEvent (this=0x17b1fd0, event=...) at src/common/event.cpp:1272 #15 0x00007fcdd1213c00 in ProcessEvent (event=..., this=0x17b22d0) at src/common/event.cpp:1308 #16 wxEvtHandler::ProcessEvent (this=0x17b22d0, event=...) at src/common/event.cpp:1272 #17 0x00007fcdd1927e56 in gtk_menu_clicked_callback (widget=<optimized out>, menu=0x1903dd0) at src/gtk/menu.cpp:653 #18 0x00007fcdcfb00700 in g_closure_invoke (closure=0x1953d40, return_value=0x0, n_param_values=1, param_values=0x7fffe9ae2c70, invocation_hint= 0x7fffe9ae2c10) at gclosure.c:777 #19 0x00007fcdcfb11770 in signal_emit_unlocked_R (node=node@entry=0x1764f20, detail=detail@entry=0, instance=instance@entry=0x194b070, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffe9ae2c70) at gsignal.c:3551 #20 0x00007fcdcfb196dc in g_signal_emit_valist (instance=0x194b070, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7fffe9ae2eb8) at gsignal.c:3300 #21 0x00007fcdcfb19872 in g_signal_emit (instance=instance@entry=0x194b070, signal_id=<optimized out>, detail=detail@entry=0) at gsignal.c:3356 #22 0x00007fcdd046876c in IA__gtk_widget_activate (widget=widget@entry=0x194b070 [GtkImageMenuItem]) at gtkwidget.c:5022 #23 0x00007fcdd036479d in IA__gtk_menu_shell_activate_item (menu_shell=0x19090c0 [GtkMenu], menu_item=0x194b070 [GtkImageMenuItem], force_deactivate=<optimized out>) at gtkmenushell.c:1283 #24 0x00007fcdd0364b2c in gtk_menu_shell_button_release (widget=0x19090c0 [GtkMenu], event=<optimized out>) at gtkmenushell.c:710 #25 0x00007fcdd03519d9 in _gtk_marshal_BOOLEAN__BOXED (closure=0x17521d0, return_value=0x7fffe9ae31a0, n_param_values=<optimized out>, param_values=0x7fffe9ae3250, invocation_hint=<optimized out>, marshal_data=<optimized out>) at gtkmarshalers.c:86 #26 0x00007fcdcfb00700 in g_closure_invoke (closure=0x17521d0, return_value=0x7fffe9ae31a0, n_param_values=2, param_values=0x7fffe9ae3250, invocation_hint=0x7fffe9ae31f0) at gclosure.c:777 #27 0x00007fcdcfb114f0 in signal_emit_unlocked_R (node=node@entry=0x1752440, detail=detail@entry=0, instance=instance@entry=0x19090c0, emission_return=emission_return@entry=0x7fffe9ae3320, instance_and_params=instance_and_params@entry=0x7fffe9ae3250) at gsignal.c:3589 #28 0x00007fcdcfb192fb in g_signal_emit_valist (instance=0x19090c0, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7fffe9ae34a8) at gsignal.c:3310 #29 0x00007fcdcfb19872 in g_signal_emit (instance=instance@entry=0x19090c0, signal_id=<optimized out>, detail=detail@entry=0) at gsignal.c:3356 #30 0x00007fcdd046953e in gtk_widget_event_internal (widget=widget@entry=0x19090c0 [GtkMenu], event=event@entry=0x1a820b0) at gtkwidget.c:4991 #31 0x00007fcdd04698b9 in IA__gtk_widget_event (widget=widget@entry=0x19090c0 [GtkMenu], event=event@entry=0x1a820b0) at gtkwidget.c:4788 #32 0x00007fcdd034fd74 in IA__gtk_propagate_event (widget=0x19090c0 [GtkMenu], event=0x1a820b0) at gtkmain.c:2489 #33 0x00007fcdd03500cb in IA__gtk_main_do_event (event=0x1a820b0) at gtkmain.c:1684 #34 0x00007fcdcffbbcbc in gdk_event_dispatch (source=source@entry=0x172f3f0, callback=<optimized out>, user_data=<optimized out>) at gdkevents-x11.c:2377 #35 0x00007fcdcf8433b5 in g_main_dispatch (context=0x16ea700) at gmain.c:2539 #36 g_main_context_dispatch (context=context@entry=0x16ea700) at gmain.c:3075 #37 0x00007fcdcf8436e8 in g_main_context_iterate (context=0x16ea700, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3146 #38 0x00007fcdcf843ae2 in g_main_loop_run (loop=0x1bc0a60) at gmain.c:3340 #39 0x00007fcdd034f0d7 in IA__gtk_main () at gtkmain.c:1256 #40 0x00007fcdd18c7498 in wxEventLoop::Run (this=0x1991390) at src/gtk/evtloop.cpp:76 #41 0x00007fcdd193de5c in wxAppBase::MainLoop (this=0x16e9320) at src/common/appcmn.cpp:312 #42 0x00007fcdd11c5675 in wxEntry (argc=<optimized out>, argv=<optimized out>) at src/common/init.cpp:448 #43 0x000000000041e932 in main (argc=1, argv=<optimized out>) at main.cpp:45 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784979 https://bugzilla.novell.com/show_bug.cgi?id=784979#c2 Stanislav Brabec <sbrabec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |Other Version|Final |RC 1 AssignedTo|sbrabec@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE 12.2 |openSUSE 12.3 --- Comment #2 from Stanislav Brabec <sbrabec@suse.com> 2013-02-19 15:51:23 CET --- There are two independent problems: - All characters are mapped to ISO-8859-1. Some part of code incorrectly supports UNICODE. - Using of Cyrillic characters causes crash. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784979 https://bugzilla.novell.com/show_bug.cgi?id=784979#c Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |sbrabec@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784979 https://bugzilla.novell.com/show_bug.cgi?id=784979#c3 --- Comment #3 from Stanislav Brabec <sbrabec@suse.com> 2013-03-22 20:03:18 CET --- In 12.3, it does not crash, but removes contents of the window instead. All other problems are present. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=784979 --- Comment #4 from Tomáš Chvátal <tchvatal@suse.com> --- This is fixed in wxMaxima in Factory (and in Education subproject). It might be good candidate for maintenance update to 13.2 but I would leave 13.1 with its old wxwidgets alone. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=784979 --- Comment #5 from Krasimir Ivanov <kiv@mail.orbitel.bg> --- Created attachment 626858 --> http://bugzilla.novell.com/attachment.cgi?id=626858&action=edit Small examples - a wxMaxima calculation wht Cyr comments and print to PDF results This small example shows how some Cyrillic texts get printed correctly but some other get missing. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=784979 --- Comment #6 from Krasimir Ivanov <kiv@mail.orbitel.bg> --- Dear Mr. Brabec, Unfortunately I have to inform you that wxMaxima 14.12.1 from the science repository does not solve fully the problem. This is only some how a partial solution. I have tested it in openSUSE 13.2 on a x86_64 installation and found that some Cyrillic comments (texts) get printed correctly but some of them get missing from the printout. (Please see the attached ZIP file with a short example) I believe we need to be sure that all Cyrillic texts from the wxMaxima files will be printed correctly and will be not missing from the printout. Only them we can say the problem is solved. With best regards, -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=784979 http://bugzilla.novell.com/show_bug.cgi?id=784979#c7 Tomáš Chvátal <tchvatal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |UPSTREAM --- Comment #7 from Tomáš Chvátal <tchvatal@suse.com> --- Missed your response before. Thanks for the testing. I again sent an update for wxMaxima but it seems the problem is still around I have to point you to upstream bugtracker so they can fix the problem. Nothing much we can do at SUSE. https://github.com/andrejv/wxmaxima/issues -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=784979 http://bugzilla.novell.com/show_bug.cgi?id=784979#c8 --- Comment #8 from Krasimir Ivanov <kiv@mail.orbitel.bg> --- I have installed openSUSE Tumbleweed and after some updates now have wxMaxima 16.04.1 This version for my needs works as expected. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com