Epiphany cannot handle MathML Fonts well

Bug #26307 reported by Gongyi Liao
8
Affects Status Importance Assigned to Milestone
Epiphany
Fix Released
Medium
epiphany-browser (Ubuntu)
Fix Released
Medium
Sebastien Bacher

Bug Description

After upgrading to the last Epiphany-Browser, the MathML rendering is absolutely
broken, the attachments show that the epiphany in breezy is quite well on
rendering MathML, and the last version of Firefox also does a goob job on
rendering MathML, but, the last epiphany, makes the MathML unreadable with
strange font selection and layout, it may cause by MOZ_ENABLE_PANGO since
firefox desiable it with its default configuration but not does Epiphany,is
there any workaround? Thanx a lot!

http://Stat704.amath.nchu.edu.tw: http://Stat704.amath.nchu.edu.tw

Revision history for this message
Gongyi Liao (g9353205) wrote :

Created an attachment (id=5073)
MathML rendering by Epiphany 1.8

Revision history for this message
Gongyi Liao (g9353205) wrote :

Created an attachment (id=5074)
MathML rendered by Epiphany 1.9, the last version uploaded to Dapper

Revision history for this message
Gongyi Liao (g9353205) wrote :

Created an attachment (id=5075)
MathML rendered by the last version of Firefox upload to Dapper, which is
1.5rc3

Revision history for this message
Daniel Holbach (dholbach) wrote :

Created an attachment (id=5096)
Screenshot of the same page.

ii epiphany-browser 1.9.2-0ubuntu2
    Intuitive GNOME web browser
ii epiphany-extensions 1.9.2-0ubuntu4
    Extensions for Epiphany web browser
ii firefox 1.4.99+1.5rc3.dfsg-1ubuntu3
    lightweight web browser based on Mozilla
ii firefox-gnome-support 1.4.99+1.5rc3.dfsg-1ubuntu3
    Support for Gnome in Mozilla Firefox

Revision history for this message
Daniel Holbach (dholbach) wrote :

With the latest packages, it looks ok to me. What do you think?

Revision history for this message
Gongyi Liao (g9353205) wrote :

Created an attachment (id=5097)
Strange layout by epiphany

This strange layout may caused by Pango.

Revision history for this message
Gongyi Liao (g9353205) wrote :

The versions:
ii epiphany-browser 1.9.2-0ubuntu2
    Intuitive GNOME web browser
ii epiphany-extensions 1.9.2-0ubuntu4
    Extensions for Epiphany web browser
ii firefox 1.4.99+1.5rc3.dfsg-1ubuntu3
    lightweight web browser based on Mozilla
ii firefox-gnome-support 1.4.99+1.5rc3.dfsg-1ubuntu3
    Support for Gnome in Mozilla Firefox
the last attached screenshot can be compared with screenshots that the rendering
MathML by firefox, there still are lots of problems of MathML layout, I guess
the problems are caused by Pango.
Thanx for reminding the font problems of symbol.

Revision history for this message
Daniel Holbach (dholbach) wrote :

The quality of the Firefox screenshot and new Epiphany look quite comparable.
What problem are you now exactly referring to?

Revision history for this message
Gongyi Liao (g9353205) wrote :

You may find difference between firefox screenshot and new epiphany screenshot,
the equality symbol is too high in the first row of the formula block in the
last epiphany screenshot, about firefox allocate the equality symbol correctly,
or , you may find the matrix transpose symbol (') is alsa strangely rendered by
epiphany, but firefox handles it correctly.
Thanx for attention.

Revision history for this message
Gongyi Liao (g9353205) wrote :

I can now confirm that the bug is caused by Pango,
if you export MOZ_DISABLE_PANGO=1, every mathml thing will go well just like
rendered by firefox,
and mathml things go wrong without setting MOZ_DISABLE_PANGO,
it may caused by the upstream or not, please give an advice.

Revision history for this message
Sebastien Bacher (seb128) wrote :

> and mathml things go wrong without setting MOZ_DISABLE_PANGO,
> it may caused by the upstream or not, please give an advice.

Most of the bugs are due to software and not the way they are packages, ie:
upstream bugs. It's probably an upstream firefox

Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

The bug is fixed upstream

Changed in epiphany:
status: Unconfirmed → Fix Released
Changed in epiphany-browser:
status: Confirmed → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

This upload fixes the issue:

 epiphany-browser (1.9.6-0ubuntu1) dapper; urgency=low
 .
   * New upstream version:
     Changes:
     - libnm-glib be-gone! Use NetworkManager directly via DBUS, by
       importing the excellent net-monitor extension directly into Epiphany.
     - Revamped Bookmark Properties/Add Bookmark/New Topic dialogues.
     Bug fixes:
     - Misc fixes: bug #328747, #328064, #328351, #327381, #125723,
       #320686, #327845, #326807.
     - Open smart bookmark url in new tabs when using Ctrl+Enter
     - Disable pango rendering by default, unless MOZ_ENABLE_PANGO env
       var is set (Ubuntu: #26307)
     - Don't use favicon as window icon.
     - Fix URL opening with two concurrently starting instances.
     - Fix a couple of memory leaks
     - Add license to about dialogue.
     - Add caret mode indicator UI.
     - When adding a column that can be sorted on, re-create the sort
       model, so that it sets up the sort method correctly.
   * debian/patches/03_ac_init.patch:
     - updated

Changed in epiphany-browser:
status: Fix Committed → Fix Released
Changed in epiphany:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.