bugGNU Octave - Bugs: bug #52764, Non-ASCII characters are not...

 
 

bug #52764: Non-ASCII characters are not plotted correctly when printing

Submitted by:  Etienne Dechamps <edechamps>
Submitted on:  Sat 30 Dec 2017 11:17:50 AM UTC  
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 30 Jun 2018 10:14:35 PM UTC, comment #4:

There is a whole bunch of bug reports due to inadequacies of
current printing system (which is essentially using postscript as
an intermidiate format). The proposed alternative E.g.: https://savannah.gnu.org/bugs/?52193 have it own limitations...

At this moment, is one needs a bitmap format with special symbols/non-ascii fonts I would suggest either create an svg or pdf (via pdflatex) and convert those to desired format using other available tools (inkscape or xetex work for me).

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Sat 30 Jun 2018 02:23:16 PM UTC, comment #3:

This is still failing on a current development build. However, trying to print as a .png now gives the following error:

This might (or might not) be related to the change for bug #53646:
http://hg.savannah.gnu.org/hgweb/octave/rev/def1b446ba64

The degree sign "°" seems to have been converted to "\302\260". I am not sure where that comes from or which tools are involved. Maybe someone who better knows the printing system could chime in.

Also changing Operating System to "Any" because the same happens on Windows, too.

Markus Mützel <mmuetzel>
Project Member
Wed 28 Mar 2018 07:30:21 PM UTC, comment #2:

another example, with a workaround with gnuplot/cairo:
https://stackoverflow.com/a/26939014/3565696

ederag <ederag>
Sat 30 Dec 2017 01:08:27 PM UTC, comment #1:

This is a known issue but I don't think it has already been reported.

The problem is not specific to png (only do svg and eventually latex based outputs work) so I removed png from the title.

Pantxo Diribarne <pantxo>
Project Member
Sat 30 Dec 2017 11:17:50 AM UTC, original submission:

Debian Unstable, Octave 4.2.1

Steps to reproduce: (in UTF-8)

  • The window output is correct. "°" is displayed as "°".
  • The SVG output is correct. "°" is displayed as "°".
  • The PNG output is incorrect. "°" is displayed as "’".

Other non-ASCII characters have similar issues.

Etienne Dechamps <edechamps>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by ederag (Posted a comment)
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by edechamps (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-30 mmuetzel Item GroupIncorrect Result => Unexpected Error
        Release4.2.1 => dev
        Operating SystemGNU/Linux => Any
    2017-12-30 pantxo StatusNone => Confirmed
        SummaryNon-ASCII characters are not plotted correctly when printing to PNG => Non-ASCII characters are not plotted correctly when printing

    Back to the top


    Powered by Savane 3.3