Menu

#712 multibyte named font for win term

Version 5
closed-fixed
nobody
windows (3)
5
2014-12-24
2014-12-24
No

In Japan, we usually use Japanese-named font in Japanese MS-Windows.
Under the sjis encoding mode, we can use the font in wgnuplot,
but not under the utf8 encoding mode:

utf-8 encoding script file

set term win
set encoding utf8
set title "(some Japanese title)" font "(some Japanese named font)"
plot x
pause -1

In our environment (Japanese Win 7), attached patch for src/win/wgdiplus.cpp
solved the problem.

1 Attachments

Discussion

  • Bastian Märkisch

    Thanks for spotting this. Indeed, the current encoding should be always applied to font names. Fixed in CVS for 5.0 and 5.1.
    Please note that this currently only solves your issue for the GDI+ variant of the terminal.

     
  • Bastian Märkisch

    • labels: --> windows
    • status: open --> closed-fixed
     

Log in to post a comment.