[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41715] Enhanced Plot labels, SVG terminal, XM
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #41715] Enhanced Plot labels, SVG terminal, XML deprecated use of Symbol font |
Date: |
Thu, 27 Feb 2014 00:34:42 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 |
URL:
<http://savannah.gnu.org/bugs/?41715>
Summary: Enhanced Plot labels, SVG terminal, XML deprecated
use of Symbol font
Project: GNU Octave
Submitted by: None
Submitted on: Thu 27 Feb 2014 12:34:39 AM UTC
Category: Plotting with gnuplot
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Inaccurate Result
Status: None
Assigned to: None
Originator Name:
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.0
Operating System: Any
_______________________________________________________
Details:
issue occurs when setting labels or legends with strings formatted in TeX.
internal function __go_draw_axes__ contains a subfunction __tex2enhanced__,
which replaces named TeX special characters (such as \Gamma) with their
equivalent in the gnuplot enhanced representation (such as {/Symbol G})
As this is passed to gnuplot, it is in effect told "please change the font to
Symbol", which it obeys. Because SVG is an XML file to be handled by some
external end device, as opposed to a raster, gnuplot does not draw the glyphs,
and instead directs the end device to render the glyphs with a text tag and a
font family class. But what gnuplot was told was "display the letter G in the
Symbol font", rather than the greek letter Gamma.
So, when this SVG file is read by a device that has not been specially
designed to handle Adobe's special encoding of this font, the resulting
display is not what was intended.
We live in the Unicode Age now. The use of the Symbol font for mathematical
characters is no longer necessary. The SVG files produced by gnuplot are
defined with a character encoding of UTF-8 _by default_, so there is no need
to use markup conventions that violate standards.
In summary, use Unicode instead of the Adobe Symbol font.
That should also solve your problem with
## FIXME The symbol font doesn't seem to support bold or italic
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41715>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #41715] Enhanced Plot labels, SVG terminal, XML deprecated use of Symbol font,
anonymous <=