Bug 47744 - Absolute Signs (vertical bar) and Integral doesn't stack properly for stretched operators
Summary: Absolute Signs (vertical bar) and Integral doesn't stack properly for stretch...
Status: RESOLVED DUPLICATE of bug 122361
Alias: None
Product: WebKit
Classification: Unclassified
Component: MathML (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 121416
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-15 15:23 PDT by Alex Milowski
Modified: 2013-10-08 16:08 PDT (History)
6 users (show)

See Also:


Attachments
Visual proof (36.61 KB, image/png)
2012-05-02 06:45 PDT, Chris Dumez
no flags Details
reftest (1.79 KB, text/html)
2013-07-19 01:54 PDT, Frédéric Wang (:fredw)
no flags Details
reftest (reference) (844 bytes, text/html)
2013-07-19 01:55 PDT, Frédéric Wang (:fredw)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Milowski 2010-10-15 15:23:24 PDT
After the STIX fonts have been installed, the vertical bar/absolute sign doesn't stack properly.  There are spaced between each stacked glyph.

This was tested on Ubuntu 10.10 using the Gtk port.
Comment 1 Alex Milowski 2010-10-18 18:24:58 PDT
The integral sign also doesn't stack properly.
Comment 2 MySchizo Buddy 2010-12-29 12:55:40 PST
you should post the faulty mathml code and associated screenshots if you want any chance of this getting fixed.
Comment 3 Chris Dumez 2012-05-02 06:45:42 PDT
Created attachment 139801 [details]
Visual proof

I can reproduce the issue in EFL port (I'm assuming you would get similar results with GTK since we share fonts), see screenshot attached.

It is easily reproduced with the following tests:
 - mathml/presentation/mo.xhtml
 - mathml/presentation/row.xhtml
Comment 4 Chris Dumez 2012-05-02 06:47:39 PDT
This may be a STIX font problem?

There was actually a similar bug report filed against STIX 1.0 (for integral sign only):
http://sourceforge.net/tracker/?func=detail&aid=3136520&group_id=328428&atid=1378225
Comment 5 Frédéric Wang (:fredw) 2013-07-19 01:52:22 PDT
(In reply to comment #3)
> Created an attachment (id=139801) [details]
> Visual proof
> 
> I can reproduce the issue in EFL port (I'm assuming you would get similar results with GTK since we share fonts), see screenshot attached.
> 
> It is easily reproduced with the following tests:
>  - mathml/presentation/mo.xhtml
>  - mathml/presentation/row.xhtml

The gaps are also visible on the GTK ports too, except that the references are currently PNG images of the the bad output and so the tests pass (the EFL versions are skipped). I'm going to attach a reftest to verify that the extenders form perfect straight lines. 

(In reply to comment #4)
> This may be a STIX font problem?
> 
> There was actually a similar bug report filed against STIX 1.0 (for integral sign only):
> http://sourceforge.net/tracker/?func=detail&aid=3136520&group_id=328428&atid=1378225

I think it's just the way WebKit positions the glyphs that should be improved. Martin Robinson is working on a patch that fixes this problem on GTK and I guess EFL too, but it's not ready yet.
Comment 6 Frédéric Wang (:fredw) 2013-07-19 01:54:42 PDT
Created attachment 207069 [details]
reftest
Comment 7 Frédéric Wang (:fredw) 2013-07-19 01:55:10 PDT
Created attachment 207070 [details]
reftest (reference)
Comment 8 Frédéric Wang (:fredw) 2013-07-19 01:57:19 PDT
Attachment 207069 [details] and attachment 207070 [details] should render the same when this bug is fixed and should render differently on the GTK/EFL ports and probably others at the moment.
Comment 9 Frédéric Wang (:fredw) 2013-07-24 01:46:20 PDT
Note on the reftests: I really wanted to use narrower red bands (50px instead of 150px) but could not because of bug 119043.
Comment 10 Martin Robinson 2013-10-08 16:08:59 PDT

*** This bug has been marked as a duplicate of bug 122361 ***