Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1508

Re: Symbol fonts and non-white background in SVG?

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Symbol fonts and non-white background in SVG?
Followup-To comp.graphics.apps.gnuplot
Date 2012-12-02 09:47 -0800
Organization gnuplot development team
Message-ID <k9g47c$8hd$1@dont-email.me> (permalink)
References <ai0vn1Fdg5lU1@mid.individual.net>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


Ingo Thies wrote:

> Dear all,
> 
> is there a robust way to display symbol fonts (i.e. greek letters) in
> SVG terminal? 

SVG is a subset of XML, for which the standard encoding is UTF-8.
If you enter your characters in UTF-8 you should be OK.
In theory you should also gnuplot "set encoding utf8"
but in practice that doesn't make any difference to the
svg terminal output since it is already the default. 

> Apparently, the usual {/Symbol a} doesn't output the
> letter alpha, but simply the latin a. 

The "usual" font named Symbol is specifically an Adobe font with a
non-standard encoding.  It is useful only for PostScript. 
If you have a non-Adobe font with that name, I don't know what
encoding it uses.

> My terminal definition is
> 
> set term svg size 1000, 600 dynamic enhanced font "Arial,20"
>
> In addition: The setting of a background other than white still
> doesn't work properly (neither Firefox nor Safari apply the optional
> black background rgb '#000000').

Heh.  That seems to be a bug specific to a background setting
that is identically zero.  Setting the background to '#000001' works.
I will look into it.

	Ethan

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Symbol fonts and non-white background in SVG? Ingo Thies <ingo.thies@gmx.de> - 2012-12-02 13:26 +0100
  Re: Symbol fonts and non-white background in SVG? Michael <proximum@land.ru> - 2012-12-02 23:43 +0700
  Re: Symbol fonts and non-white background in SVG? sfeam <sfeam@users.sourceforge.net> - 2012-12-02 09:47 -0800
    Re: Symbol fonts and non-white background in SVG? Ingo Thies <ingo.thies@gmx.de> - 2012-12-02 19:54 +0100
      Re: Symbol fonts and non-white background in SVG? sfeam <sfeam@users.sourceforge.net> - 2012-12-02 12:14 -0800
        Re: Symbol fonts and non-white background in SVG? Ingo Thies <ingo.thies@gmx.de> - 2012-12-03 09:49 +0100
          Re: Symbol fonts and non-white background in SVG? sfeam <sfeam@users.sourceforge.net> - 2012-12-03 09:36 -0800

csiph-web