Launchpad has imported 33 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=150393.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2005-03-05T13:53:40+00:00 Joao wrote:

>From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 
Firefox/1.0

Description of problem:
Install the recommended fonts for MathML 
(http://www.mozilla.org/projects/mathml/fonts/)

Compare display with firefox 1.0.1 installed as suggested in
http://fedoranews.org/tchung/firefox

Version-Release number of selected component (if applicable):
firefox-1.0.1-1.3.1, firefox-1.0.1-1.3.2

How reproducible:
Always

Steps to Reproduce:
1. Install the recommended fonts for MathML 
(http://www.mozilla.org/projects/mathml/fonts/)
2. Access http://www.mozilla.org/projects/mathml/demo/texvsmml.xhtml or some 
other MathML test page


  

Actual Results:  Alignement all wrong

Expected Results:  Compare display with firefox 1.0.1 installed as suggested in
http://fedoranews.org/tchung/firefox

Additional info:

Local fonts for MathML include
Acrobat Reader PS fonts
Mathematica 4.1 tt
LaTeX fonts

This font set works for Mozilla and other Firefox releases. Additional
details if requested.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/0

------------------------------------------------------------------------
On 2005-03-24T09:46:17+00:00 Joao wrote:

Now it is also present on mozilla-1.7.6-1.3.2 under FC3

It is _not_ present in 
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.6/contrib/mozilla-i686-pc-linux-gnu-1.7.6-gtk2+xft.tar.gz

So it seems to be introduced by Fedora packaging

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/1

------------------------------------------------------------------------
On 2005-03-24T10:11:19+00:00 Joao wrote:

I have changed severity to high as this potentially messes up any MathML site
accessed from Fedora.

Screenshots are available at

the good:
http://www.math.ist.utl.pt/~jmatos/CapturaEcra-13.png

the ugly (the latest mozilla-1.7.6-1.3.2):
http://www.math.ist.utl.pt/~jmatos/CapturaEcra-14.png


Reply at: 
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/2

------------------------------------------------------------------------
On 2005-03-28T19:54:52+00:00 Matt wrote:

This seems to be due to Pango, as is assumed do to the timing, since it was
enabled default around the beginning of March.  If you run:

> MOZ_DISABLE_PANGO=1 firefox

you can view all the MathML sites correctly (albeit with that annoying Symbol
dialog, i.e., #133709).  A ye olde post here:

http://mail.gnome.org/archives/gtk-i18n-list/2003-February/msg00042.html

seems to say that Pango and MathML (Mango?) don't play nicely.  Another out
there says that Blizzard was working on a corrolary to this problem:

http://lists.gnu.org/archive/html/lilypond-devel/2004-05/msg00084.html

So, I guess you can't have both worlds right now.  I suppose a "Disable Pango if
you want to read math" statement is needed in rather BOLD letters at Moz/Firefox
Fedora pages/release notes.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/3

------------------------------------------------------------------------
On 2005-03-29T00:02:10+00:00 Joao wrote:

(In reply to comment #3)
> 
> So, I guess you can't have both worlds right now.  I suppose a "Disable Pango 
> if
> you want to read math" statement is needed in rather BOLD letters at 
> Moz/Firefox
> Fedora pages/release notes.

This is an update to a release (FC3) for which MathML support existed so release
notes wouldn't make much sense. Breaking upstream features in an update does not
seem a good policy anyway...

>From the point of view someone writing MathML pages this situation is a total
mess. It would be acceptable, but a pain, if one could detect from "Mozilla/5.0
(X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323 Fedora/1.7.6-1.3.2" that
"This Mozilla MathML rendering has been broken for the sake of pango by your
Linux distribution. Get a copy from mozilla.org". Come on: one can do something
similar with IE with or without MathPlayer but not with Mozilla/Firefox with or
without MathML support?!

If the maintainer ever reads please consider (from the SPEC file I gather it was
not intentional):
-- reinstating MathML support in an update for FC3;
-- making lack of MathML support for FC4 or FC5 and later detectable by dynamic
pages;

or get pango vs. MathML fixed!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/4

------------------------------------------------------------------------
On 2005-03-29T00:23:30+00:00 Warren wrote:

*** Bug 150398 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/5

------------------------------------------------------------------------
On 2005-03-29T00:26:01+00:00 Warren wrote:

ouch...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/6

------------------------------------------------------------------------
On 2005-03-29T04:38:08+00:00 Christopher wrote:

Blizzard!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/7

------------------------------------------------------------------------
On 2005-09-22T14:49:38+00:00 Rex wrote:

Appears to be (kinda) fixed in recent firefox errata, as it seems to enable
pango for only Indic locales.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/11

------------------------------------------------------------------------
On 2005-09-22T19:39:56+00:00 Warren wrote:

Not sure what you are seeing, but according to caillon this hasn't changed.  You
are either using the RHEL builds or built by someone else.  In any case
disabling pango is not an option for future Fedora, this and other pango firefox
bugs must eventually be fixed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/12

------------------------------------------------------------------------
On 2005-09-22T19:41:36+00:00 Rex wrote:

Sorry Warren, you're right, I'm on RHEL4.  I guess I kinda assumed (my bad) that
the FC and RHEL builds were the same (or similar) in this respect.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/13

------------------------------------------------------------------------
On 2006-03-16T21:33:03+00:00 Matt wrote:

Folks, I recently upgraded my FC4 box to Firefox 1.5.  This is the Tummy.com
rebuild for FC4 and for whatever reason, the problem seems to be fixed.  I don't
want to change the status until I have FC5 running, but maybe a FC5beta/Rawhide
runner can check this?

Of course, Bug 133709 is *still* unresolved.  I really, really get annoyed by
that Symbol dialog.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/19

------------------------------------------------------------------------
On 2006-03-17T11:52:18+00:00 JP wrote:

The problem will only be solved if indic locales and mathml coexist. The
previous poster should check the status of the PANGO lines in (presumably)
/usr/bin/firefox and give a URL for the tummy.com SRPM.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/20

------------------------------------------------------------------------
On 2006-03-17T14:41:54+00:00 Matt wrote:

Welp, you're right.  The RPM was built off the instructions here:

https://www.redhat.com/archives/fedora-devel-
list/2005-November/msg01244.html

and what do they say to do: remove the Pango/Cairo bits.  Aw nuts, I was hoping
all was well.  Oh well, I guess I'm on the other side of the Mango mess now,
good math, bad languages.  And, of course, it works with some sites that just go
nuts with Fx 1.07 (Iron Sudoku, say).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/21

------------------------------------------------------------------------
On 2006-07-10T23:20:59+00:00 Matthew wrote:

Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.

Thank you!


Reply at: 
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/23

------------------------------------------------------------------------
On 2006-07-10T23:31:19+00:00 JP wrote:

The bug is present in FC5. It is not a security issue. I seem to be unable to
change fc3 -> fc5 although I was the original poster.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/24

------------------------------------------------------------------------
On 2006-07-10T23:58:34+00:00 Rex wrote:

retargetting fc5.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/25

------------------------------------------------------------------------
On 2006-08-04T01:07:51+00:00 Behdad wrote:

Ok, assigning to myself.

There are two issues here:

  1) very wrong spacing
  2) math font is not selected

attaching a patch for the first, with before/after shots.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/26

------------------------------------------------------------------------
On 2006-08-04T01:12:11+00:00 Behdad wrote:

Created attachment 133599
Torture test before

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/27

------------------------------------------------------------------------
On 2006-08-04T01:14:23+00:00 Behdad wrote:

Created attachment 133600
Torture test after

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/28

------------------------------------------------------------------------
On 2006-08-04T01:16:13+00:00 Behdad wrote:

Created attachment 133601
Spacing patch

After figuring out what's going on, the patch was quite obvious and
simple...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/29

------------------------------------------------------------------------
On 2006-08-04T13:38:28+00:00 Matthias wrote:

Nice patch! Just remove the printfs

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/30

------------------------------------------------------------------------
On 2006-08-04T15:33:00+00:00 Christopher wrote:

They're commented out, but if you think they are useful enough, feel free to
wrap them all in #ifdef MOZ_DEBUG_PANGO and be sure to #undef MOZ_DEBUG_PANGO at
the start of the file.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/31

------------------------------------------------------------------------
On 2006-08-04T15:40:56+00:00 Matthias wrote:

Ah, I had overlooked the comments around the first one

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/32

------------------------------------------------------------------------
On 2006-08-04T21:01:40+00:00 Behdad wrote:

Created attachment 133665
new patch

A *much* nicer patch to the same effect.  Poor Pango defines all these macros
and functions that firefox doesn't use...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/33

------------------------------------------------------------------------
On 2006-08-23T00:24:56+00:00 Behdad wrote:

Created attachment 134685
committed patch

This is the patch that should hit rawhide pretty soon.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/34

------------------------------------------------------------------------
On 2006-08-23T01:53:20+00:00 Behdad wrote:

Compared to the previous patch, the on in comment 25 uses logical width instead
of ink width.  That's the expected behavior.  It also has a little optimization,
dropping an strlen.

The rest of the MathML was not working simply because Pango was refusing to
choose font/shaper for Private Use characters.  That was a one-line fix.  With
that, it only was not rendering the THIN SPACE character.  That's this bug:

  http://bugzilla.gnome.org/show_bug.cgi?id=145275

I also worked around it by making Pango choose font/shaper for space characters
too.  All this is in Pango 1.14.1 that is in Rawhide already.

With these, I get Pango render the MathML Torture Test exactly like the Xft
backend.  I even changed Pango to use a fixed 96 dpi resolution and got an image
that had only 14 pixel differences with the Xft one, and those are minimal
antialiasing differencing for the letter Pi.  (Attaching all in a minute)  

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/35

------------------------------------------------------------------------
On 2006-08-23T02:26:09+00:00 Behdad wrote:

Created attachment 134687
Torture test Xft rendering

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/36

------------------------------------------------------------------------
On 2006-08-23T02:54:39+00:00 Behdad wrote:

Created attachment 134688
Torture test with the patch and Pango 1.4.2, at 96dpi

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/37

------------------------------------------------------------------------
On 2006-08-23T19:26:10+00:00 Behdad wrote:

Ok, filed a few bugs upstream.

Attaching the pango-mathml patch:
https://bugzilla.mozilla.org/show_bug.cgi?id=349904

The no-pangoxft patch that I added to devel:
https://bugzilla.mozilla.org/show_bug.cgi?id=349906

The jagged brackets you see in the screenshots (not specific to Pango):
https://bugzilla.mozilla.org/show_bug.cgi?id=349907


Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/40

------------------------------------------------------------------------
On 2006-08-26T04:47:22+00:00 Behdad wrote:

Remove "Pango breaks MathML" from about.xhtml
https://bugzilla.mozilla.org/show_bug.cgi?id=350266

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/47

------------------------------------------------------------------------
On 2007-07-18T17:30:50+00:00 Matěj wrote:

Fedora Core 5 is no longer supported, could you please reproduce this with the
updated version of the currently supported distribution (Fedora Core 6, or
Fedora 7, or Rawhide)? If this issue turns out to still be reproducible, please
let us know in this bug report.  If after a month's time we have not heard back
from you, we will have to close this bug as CANTFIX.

Setting status to NEEDINFO, and awaiting information from the reporter.

Thanks in advance.


Reply at: 
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/62

------------------------------------------------------------------------
On 2007-07-24T13:36:22+00:00 Behdad wrote:

This is fixed in FC6 and F7.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/19066/comments/63


** Changed in: fedora
   Importance: Unknown => Medium

** Bug watch added: GNOME Bug Tracker #145275
   https://bugzilla.gnome.org/show_bug.cgi?id=145275

** Bug watch added: Mozilla Bugzilla #349906
   https://bugzilla.mozilla.org/show_bug.cgi?id=349906

** Bug watch added: Mozilla Bugzilla #349907
   https://bugzilla.mozilla.org/show_bug.cgi?id=349907

** Bug watch added: Mozilla Bugzilla #350266
   https://bugzilla.mozilla.org/show_bug.cgi?id=350266

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/19066

Title:
  Pango-enabled firefox breaks MathML support

Status in Mozilla Firefox:
  Fix Released
Status in firefox package in Ubuntu:
  Fix Released
Status in Fedora:
  Won't Fix

Bug description:
  The Mathml rendering in the Ubuntu package of Firefox is awful. I just tried 
the
  installer from mozilla.org and the rendering is Ok. I have installed all the
  corresponding fonts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/19066/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to