On Mon, 2009-03-02 at 22:52 +0900, Atsuhito Kohda wrote:
> Sorry, I pasted wrong URL.  What I intended is as follows.
> 
> >> I google'd a bit and found that this seemed a well-known problem.
> >> 
> >> For example, an info in
> 
> http://documents.wolfram.com/mathematica/GettingStarted/SystemAdministrationGuide/UnixLinuxAdministration/Fonts.html
> 
> >> doesn't help you?
> 


Ah yes, that seems to make things clearer, and explains why the font
package didn't work.

Following the idea of the instructions there, I tried manually
registering the mathematica ttf fonts that your new package installs:

$ xset fp+ /usr/share/fonts/truetype/mathematica/
xset:  bad font path element (#23), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax

The error message is the same one that the remote mathematica 5.1 has
been giving.

Reading through the fine print in those instructions, they mention that
the type1 path should be located in front of the bdf paths, but truetype
is not mentioned at all.

I've got the full set of fonts unpacked locally.  When I run
$ xset fp+ /usr/local/Mathematica/Fonts/Type1/
$ xset fp rehash

then everything runs fine.  The remote mathematica 5.1 starts up
happily, and I can see the integral, summation symbols etc in the
palette window.


So the problem appears to be due to providing only truetype fonts.  I
gather this is OK for Mathematica 7, but Mathematica 5.1 does not
support it.

If you can include and register the type1 fonts, then it looks like
everything will be fine.  

Should you handle the bdf set too? I'm not sure about that. Those fonts
instructions seem to indicate it may not be necessary, but I figure it
might be safer to add them.

The full set of fonts is:
$ ls /usr/local/Mathematica/Fonts/
AFM  BDF  SVG  TTF  Type1

The font instructions appear to suggest that AFM is needed in order to
correctly print worksheets.  

I don't know what the SVG set is for. At a guess, maybe Mathematica7
uses them for printing or something.

Thanks for the tip! (if only I could get the keyboard working in
Mathematica5.1 now.  There's probably more instructions somewhere on
wolfram.com about it.  Mathematica7 is far easier to use)

Drew





-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to