Re: mathml fonts in Firefox under Debian Linux 4.0 (etch)

William F Hammond <[email protected]>
Newsgroups gmane.comp.mozilla.devel.mathml
Message-ID <[email protected]>
[email protected] writes:

> there is no difference whether I use Pango or not. The equation
> displays correctly using apparently the same fonts as your Iceweasel
> example, except that there are no characters missing.
>
> I therefore suspect that this is a font issue: Your Firefox finds a
> symbol font that your Iceweasel does not find.

On my Debian 4.0 (etch) (stable) platform the problem is fixed by
commenting out lines 73 and 74 of the file fontEncoding.properties
in the directory /usr/lib/iceweasel/res/fonts.  (This then makes
the iceweasel's "res" tree match that of mozilla.com's firefox
apart from two extra directories provided with iceweasel.)

Thus,
73,74c73,74
< encoding.symbol.ttf = Adobe-Symbol-Encoding
< encoding.symbol.ftcmap = mac_roman
---
> #encoding.symbol.ttf = Adobe-Symbol-Encoding
> #encoding.symbol.ftcmap = mac_roman

In fact, the copy I had was datestamped Oct 25 01:57 (EDT), i.e., it
was rather fresh when I first raised the issue.

But I don't know if commenting out these lines is the definitive way
to deal with the issue in Debian-stable.

I think it's important for such distributions to work out of the box
as much as possible ( for the moment that means assuming the user has
followed the directions at
http://www.mozilla.org/projects/mathml/fonts/ ).

With this change there seems to no longer be a problem if
pango is enabled although at this moment to my taste the fonts
look somewhat better when pango is disabled.

How should this be reported to Debian?

Many thanks.

                                    -- Bill
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.