Unicode in the postscript terminal

Tatsuro MATSUOKA <[email protected]> Fri, 4 Feb 2022 07:18:57 +0900 (JST)
Newsgroups gmane.comp.graphics.gnuplot.devel
Message-ID <[email protected]>
A post was made for plot of unicode chracter.
https://sourceforge.net/p/gnuplot/mailman/gnuplot-info/thread/66152bfa-127c-bb35-7068-91b0f215e705%40kaniuk.co.uk/#msg37602226

For interactive terminal it seems to be a problem of font selection.
However,  in the postscript terminal,unicode character is not represented.

The test script is :

#!/usr/bin/gnuplot -persist
reset session
set encoding utf8
set terminal wxt 1 nopersist enhanced font 'Dejavu Sans'

unset key; set key on inside left

set samples 20

plot [1:10] \
0.9*x w lp t "POINT"   pt "◎", \
0.5*x w lp t "UNICODE" pt "\U+25CE", \
0.2*x w lp t "HASH"    pt "#"

set terminal push
set terminal postscript eps enhanced color size 20 cm, 10 cm
set output "test-pt.eps"
replot
set output
set terminal pop
#EOF    

I thouht that the postscript terminal cannot handle unicode.
However Norwid provided the detailed analysis of eps file (test-pt.eps) created by the above script
https://sourceforge.net/p/gnuplot/mailman/message/37602883/

With Inkscape (version 1.1.1) by internal import, one can see the unicode characters on the plot.
(On Evince and Inksapce with poppler/cairo import (default), we cannot see unicode character. 
In addtion, I also cannot see unicode chracters on gv , eps viewer and adobe reader (after coverted to pdf file))

Anyway, in the current state, the postscipt terminal cannot treat the unicode character properly.
Am I right?

Tatsuro



_______________________________________________
gnuplot-beta mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta