Re: Plot rendering problem in linux
- To: mathgroup at smc.vnet.net
- Subject: [mg48391] Re: Plot rendering problem in linux
- From: fischerc at itam.cas.cz (Cyril Fischer)
- Date: Fri, 28 May 2004 00:50:19 -0400 (EDT)
- References: <c83t2a$mb4$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Another (perhaps simpler) implementation of the same fix can be
following:
insert
$NewDisplayFunction[
gr : (_Graphics | _Graphics3D | _SurfaceGraphics |
_DensityGraphics | _ContourGraphics)] :=
NotebookWrite[EvaluationNotebook[],
Cell[GraphicsData["PostScript",
StringReplace[
DisplayString[gr], {"(\\264)" -> "(\\211)",
"Math1Mono" -> "Mathematica1"}]], "Graphics"]];
$DisplayFunction = $NewDisplayFunction;
either in the local init file
~/.Mathematica/Kernel/init.m
or in the global file
/usr/local/Mathematica5.0/Configuration/Kernel/init.m
after the line
Begin["System`Private`"]
(Thank you, Arsaces, for the original fix)
C.