MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Different font behavior between kernel and front-end

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65207] Re: Different font behavior between kernel and front-end
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Sat, 18 Mar 2006 06:40:30 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <dvbikn$i61$1@smc.vnet.net><dvdi1v$9u3$1@smc.vnet.net> <dve4jh$ff1$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

<kalymereau at yahoo.fr> schrieb im Newsbeitrag 
news:dve4jh$ff1$1 at smc.vnet.net...
| Thank you Jens-Peer
|
|
| > the kernel *need* the FrontEnd to render the 
Mathematica fonts,
| > because the font metric (i.e. the width of the 
glyphs) is only
| > known by the FrontEnd -- the Kernel never read 
the metric files
| > and don't know the size of the glyphs and 
can't place the glyphs
| > without the FrontEnd.
|
| That's a very strange feature for a 1000$ 
software. For long
| calculations it is much better to run 
command-line (especially on
| servers managing a queue for batch jobs), and 
there is no reason why I
| should not use special symbols in the output 
plots. many graphical
| programs can run command-line while exporting 
special fonts to .eps
| output for example.

Keep in mind that type setting has nothing to do 
with computer-algebra,
and numerical computations. So it is the task of 
the FrontEnd.

|
|
| > You must launch the FrontEnd form the kernel 
like webMathematica
| > does.
|
| I don't have webMathematica. How do I launch the 
FrontEnd from the
| kernel ? And what happens if there is no 
X-server running ?

try

 Developer`UseFrontEnd[
          gr = Plot[Sin[x], {x, 0, Pi}, 
FrameLabel -> {\[Phi], Sin[\[Phi]]}];
          Export["h:/tmp/test.gif", gr]
          ]

from the kernel. May be that you get some font 
substitution errors
but the graphics look fine.

Regards
  Jens 



  • Prev by Date: Re: Errors at discontinuities
  • Next by Date: Re: Multiple Selections in Notebook
  • Previous by thread: Re: Different font behavior between kernel and front-end
  • Next by thread: Re: Different font behavior between kernel and front-end