|
|
x11, wxt, special characters, fonts etc
Dear all,
I have a problem with setting the proper fonts to obtain special
characters like the Euro sign or the degree sign.
Background: Gnuplot is called from a ruby on rails application (ROR app),
Apache is the web server in use. Apache is started during boot and runs
as user/group apache. Apache has a home directory /home/httpd in which
the .gnuplot file and .Xdefaults are located:
httpd # cat .gnuplot
set encoding utf8
set terminal x11 font 'mbfont:-adobe-helvetica-bold-r-*-*-*-*-*-*-*-*-
iso10646-1;arial;times'
httpd # cat .Xdefaults
gnuplot*persist: on
gnuplot*background: grey95
gnuplot*textColor: black
gnuplot*borderColor: black
gnuplot*axisColor: black
gnuplot*line1Color: red
gnuplot*line2Color: green
gnuplot*line3Color: blue
gnuplot*line4Color: magenta
gnuplot*line5Color: cyan
gnuplot*line6Color: sienna
gnuplot*line7Color: orange
gnuplot*line8Color: coral
I myself log on as a normal user. When accessing the ROR app, the ruby
code and the page rendering works fine (no surprise). When I now call an
action to have some data plotted, the following happens:
if the terminal is set in the .gnuplot file to
'set term wxt'
no plot window comes up and the following error message is in the Apache
log:
Failed to initialize wxWidgets.
When using 'set term x11' or the above default from .gnuplot, a plot
window pops up as defined (e.g. with a light gray background) but the
special characters like the Euro sign are not printed, instead some odd
characters are shown.
When simply restarting Apache (su - root) while X-windows is up and
running, the labels with the special characters are plotted just nicely
for an x11 terminal. But the wxt terminal still doesn't work, the same
error occurs: Failed to initialize wxWidgets.
I would be happy if you give some more detailed information on how the
fonts are retrieved under X11 and how the initlizing of teh wxWidgets is
done to preferentially use wxt.
Thanks and best regards,
Klaus
|
|
0
|
|
|
|
Reply
|
klaus.dahlke (1)
|
11/2/2009 9:26:38 PM |
|
|
0 Replies
574 Views
(page loaded in 0.029 seconds)
Similiar Articles: x11, wxt, special characters, fonts etc - comp.graphics.apps ...Dear all, I have a problem with setting the proper fonts to obtain special characters like the Euro sign or the degree sign. Background: Gnuplot... Best way to delete old files? find & exec VS find & xargs - comp ...I ran my script, and it removed someone's /tmp/.X11 ... $1"/' | xargs rm But what about other special characters like tab ... Anyone got LHF Stanford Script? - comp.fonts Best way ... speed issues traversing the DOM. - comp.lang.javascriptTry to use what HTML gives as special tags and loop only ... ll find a task manager for IE.linux runing under X11 ... The user can fix his preferences, as such as characters no ... x11, wxt, special characters, fonts etc - comp.graphics.apps ...Dear all, I have a problem with setting the proper fonts to obtain special characters like the Euro sign or the degree sign. Background: Gnuplot... Wxt - gnuplot homepageFor example : set term wxt font "Arial,12 ... Pango will do its best to find a font containing this character, looking ... Next: X11 Up: Terminal Previous: Windows3.0 ... 7/19/2012 5:20:16 PM
|
|
|
|
|
|
|
|
|