bugGNU Octave - Bugs: bug #67131, multibyte (mbfont) not correctly...

 
 

bug #67131: multibyte (mbfont) not correctly passed to gnuplot resulting in non-utf8 font

Submitter:  None
Submitted:  Fri 16 May 2025 04:58:56 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Assigned to:  None
Originator Name:  Carlos Silva Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * 9.4.0
Release:  Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 16 May 2025 04:58:56 PM UTC, original submission:  

In the https://wiki.octave.org/Gnuplot_tips says in order to have UTF-8 fonts in gnuplot's with x11 term, the following options shall be set:


! gnuplot settings
gnuplot*font: mbfont:mbfont:-*-terminus-medium-*-*-*-14-*-*-*-*-*-iso10646-*
gnuplot*encoding: utf-8


The important part is the 'mbfont:' prefix.

However I've tested the line above and it correcly works if I use gnuplot directly. But that does not work if gnuplot is called from octave, which results in ugly fonts.

Exactly the same ugly effect is achieved if the font is passed through the GNUTERM environment variable.


export GNUTERM="x11 enhanced font 'mbfont:-*-terminus-medium-*-*-*-14-*-*-*-*-*-iso10646-*'


Apart from the ugly fonts, the UTF-8 characters are not displayed correctly.

Without the 'mbfont:' prefix. The fonts look nice again, but UTF-8 characters are not displayed correctly both in gnuplot and octave.

Anonymous

 

(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

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only group members can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.15-26b0.
Corresponding source code