[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #8696] Use unicode utf-8 rather than Symbo
From: |
Dan Sebald |
Subject: |
[Octave-patch-tracker] [patch #8696] Use unicode utf-8 rather than Symbol font for gnuplot when possible |
Date: |
Fri, 03 Jul 2015 22:59:04 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15 |
Follow-up Comment #1, patch #8696 (project octave):
Attached is a patch that will use UTF-8 encoding of symbols in all gnuplot
terminal cases except the PostScript class of terminals, 'postscript' and
'epscairo'. This appears to work well on my system. There may be some
terminals like 'png' that don't function exactly right, and if that is the
case I'll investigate the issue in the gnuplot code.
Here's a reference to the TeX utf-8 glyphs:
http://www.w3.org/2001/06/utf-8-test/TeX.html
I was tempted to write a little script that creates the sym structure
automatically so that all of the entries on that page are accounted for, but I
just added the utf-8 characters that were present along side the 'Symbol'
definitions in a cell.
Here's a test sequence:
setenv('GNUTERM', 'qt')
graphics_toolkit gnuplot
h = text (0.5,0.6, 'H Gamma aleph I')
set(h,'fontweight', 'bold')
(file #34373)
_______________________________________________________
Additional Item Attachment:
File name: octave-gnuplot_unicode_text-djs2015jul03.patch Size:20 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?8696>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/