[Bug 277876] New: gnuplot 4.2 doesn't support UTF-8
https://bugzilla.novell.com/show_bug.cgi?id=277876 Summary: gnuplot 4.2 doesn't support UTF-8 Product: openSUSE 10.3 Version: Alpha 4 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: nderkach@gmail.com QAContact: qa@suse.de gnuplot 4.2 doesn't support multibyte characters but according to the announcement it should: http://www.gnuplot.info/announce.4.2.0 Maybe it's worth to fix this issue. For example, I have these plot commands: --- set title "UTF" set xlabel "f, UTF" set ylabel "U, UTF" --- where "UTF" are characters in UTF-8 encoding, they are not displayed on the output png image. I'll give a screenshot. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=277876 ------- Comment #1 from nderkach@gmail.com 2007-05-24 09:39 MST ------- Created an attachment (id=142077) --> (https://bugzilla.novell.com/attachment.cgi?id=142077&action=view) a plot with broken characters -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=277876 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |werner@novell.com |screening@forge.provo.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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=277876 werner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Comment #2 from werner@novell.com 2007-05-25 07:46 MST ------- Please report upstream if your are using the wxt terminal. If I do export LANG en_US.UTF-8 gnuplot gnuplot> set term wxt gnuplot> load '/usr/share/doc/packages/gnuplot/demo/utf8.dem' I can view UTF-8. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=277876 ------- Comment #3 from mfabian@novell.com 2007-05-25 08:02 MST ------- Works with the x11 terminal as well if you use the right font settings (see the comments at the top of /usr/share/doc/packages/gnuplot/demo/utf8.dem). Example: gnuplot> set term x11 font "mbfont:sazanami mincho,DejaVu Sans,20" Terminal type set to 'x11' Options are '0 font "mbfont:sazanami mincho,DejaVu Sans,20"' gnuplot> load '/usr/share/doc/packages/gnuplot/demo/utf8.dem' gnuplot_x11: Some character sets not available gnuplot> -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=277876 ------- Comment #4 from mfabian@novell.com 2007-05-25 08:05 MST ------- Created an attachment (id=142309) --> (https://bugzilla.novell.com/attachment.cgi?id=142309&action=view) gnuplot-term-x11-utf8.png Screen shot of the example explained in the last comment. Looks fine. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=277876 ------- Comment #5 from mfabian@novell.com 2007-05-25 08:06 MST ------- Well, it looks mostly fine, a few characters are missing, it is not as good as the font support in the wxt terminal. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=277876 ------- Comment #6 from mfabian@novell.com 2007-05-25 08:07 MST ------- Werner, as it works with "set term x11" as well if suitable font settings are used, could we please improve the default font settings to make UTF-8 work by default? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=277876 nderkach@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | Summary|gnuplot 4.2 doesn't support |gnuplot 4.2: default font settings for UTF-8 |UTF-8 | ------- Comment #7 from nderkach@gmail.com 2007-05-25 11:41 MST ------- (In reply to comment #6)
Werner, as it works with "set term x11" as well if suitable font settings are used, could we please improve the default font settings to make UTF-8 work by default?
Yes, after setting of the appropriate font all characters are displayed correctly. It would be nice to have default settings for them. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=277876 werner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Enhancement ------- Comment #8 from werner@novell.com 2007-05-29 03:20 MST ------- Please provide a patch. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=277876 werner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Comment #9 from werner@novell.com 2007-05-30 08:18 MST ------- Using "mbfont:sazanami,16 mincho-medium,verdana-medium,16 dejavu,sans,20" for UTF-8 locale only and only if no default font is provided by the user. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=277876 nderkach@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #10 from nderkach@gmail.com 2007-06-14 01:01 MST ------- These setting work fine in wxt and x11, but not in png terminal, hence reopening. Command like 'set font "mbfont:sazanami mincho,DejaVu Sans,20"' doesn't work in this case: "Could not find/open font when opening font mbfont:sazanami mincho,DejaVu Sans, using default", but 'set font "/usr/share/fonts/truetype/DejaVuSerif.ttf" is fine. Please fix it. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=277876 werner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |nderkach@gmail.com ------- Comment #11 from werner@novell.com 2007-06-14 03:35 MST ------- Sorry but I'm not one of the gnuplot developers, please report upstream in best case with a fixing patch. I do not have the time to add all missing features of my round about 140 packages. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=277876#c12
Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com