Comment 14 for bug 299427

Revision history for this message
Hilton Garcia Fernandes (fernandesh) wrote : Re: [Bug 299427] Re: dpkg: error processing ttf-mathematica4.1 (--install)

indeed, it works. Thanks, Sigmund.

that said, it would be nice to have these fonts. while the package is not corrected, it seems the howto named "Linux XFT and MathML", at
http://kb.mozillazine.org/Linux_XFT_and_MathML

is a good place to start.

all the best,
hilton

--- On Thu, 2/26/09, Sigmund Baginov <email address hidden> wrote:
From: Sigmund Baginov <email address hidden>
Subject: [Bug 299427] Re: dpkg: error processing ttf-mathematica4.1 (--install)
To: <email address hidden>
Date: Thursday, February 26, 2009, 12:44 PM

As Gianluca Pettinello underlined, it is easy to create the fonts for
removal, you do not even need to use a real one, but simply touch them:

mkdir /usr/share/fonts/truetype/ttf-mathml
cd /usr/share/fonts/truetype/ttf-mathml

touch math1b__.ttf math2b__.ttf math3b__.ttf math4b__.ttf math1mb__.ttf
math2mb__.ttf math3mb__.ttf math4mb__.ttf math1m__.ttf math2m__.ttf
math3m__.ttf math4m__.ttf

defoma-font register-all /etc/defoma/hints/ttf-mathematica4.1.hints

--
dpkg: error processing ttf-mathematica4.1 (--install)
https://bugs.launchpad.net/bugs/299427
You received this bug notification because you are a direct subscriber
of a duplicate bug.

Status in “ttf-mathematica4.1” source package in Ubuntu: Triaged
Status in “ttf-mathematica4.1” source package in Debian: Unknown

Bug description:
Binary package hint: ttf-mathematica4.1

Selecting previously deselected package ttf-mathematica4.1.
(Reading database ... 160253 files and directories currently installed.)
Preparing to replace ttf-mathematica4.1 4 (using
..../ttf-mathematica4.1_4_all.deb) ...
The license has already been accepted
Unpacking replacement ttf-mathematica4.1 ...
Setting up ttf-mathematica4.1 (4) ...
--2008-11-18 15:27:39--
http://support.wolfram.com/mathematica/systems/windows/general/files/MathFonts_TrueType_41.exe
Resolving support.wolfram.com... 140.177.205.40
Connecting to support.wolfram.com|140.177.205.40|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://support.wolfram.com/index.en.html [following]
--2008-11-18 15:27:40-- http://support.wolfram.com/index.en.html
Connecting to support.wolfram.com|140.177.205.40|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `./index.en.html'

    [<=> ] 0 --.-K/s
         [ <=> ] 4 017 19,2K/s
             [ <=> ] 9 777 23,4K/s
                 [ <=> ] 19 186
34,1K/s in 0,5s

2008-11-18 15:27:41 (34,1 KB/s) - `./index.en.html' saved [19186]

checking MathFonts_TrueType_41.exe
Downloaded file looks corrupted!
dpkg: error processing ttf-mathematica4.1 (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 ttf-mathematica4.1