Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Symbol fonts and non-white background in SVG? Followup-To: comp.graphics.apps.gnuplot Date: Sun, 02 Dec 2012 09:47:22 -0800 Organization: gnuplot development team Lines: 34 Message-ID: References: Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Sun, 2 Dec 2012 17:47:25 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="de68407e1e0278021e2f738a9cf7b10c"; logging-data="8749"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/6PtR1veM41dVZQ89ZG4P5" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:ohgF41corLucAeauaW3xyM1xo3Y= Xref: csiph.com comp.graphics.apps.gnuplot:1508 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