You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2011/10/18 10:12:20 UTC

DO NOT REPLY [Bug 52047] New: Superscripts are placed incorrectly when fo:block font-size differs from fo:inline font-size

https://issues.apache.org/bugzilla/show_bug.cgi?id=52047

             Bug #: 52047
           Summary: Superscripts are placed incorrectly when fo:block
                    font-size differs from fo:inline font-size
           Product: Fop
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: fonts
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: alexander.chingarev@duallab.com
    Classification: Unclassified


Hi All,

We faced the issue with superscripts. It seems that when calculating
superscript baseline position the fo:blocks font-size is taken into account. As
a result a cannot use different font-sizes in one paragraph when working with
superscripts.
Subscripts are calculated correctly - based on fo:inline font-size.

Can anyone comment if this behavior is by design or is it a bug?

Sample is attached.

Kind Regards,
Alexander

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52047] Superscripts are placed incorrectly when fo:block font-size differs from fo:inline font-size

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52047

Glenn Adams <ga...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #5 from Glenn Adams <ga...@apache.org> 2012-04-23 15:38:54 UTC ---
not a bug; baseline shift is defined in terms of the font size of the parent
area, which in your examples is the block, and not the contained inlines; you
can fix your content by introducing a container inline inside the block that
contains the word with the superscript/subscript; see XSL-FO 1.1 Section 7.14
for further information

see attachment 28659 and attachment 28660

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52047] Superscripts are placed incorrectly when fo:block font-size differs from fo:inline font-size

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52047

--- Comment #2 from Glenn Adams <gl...@skynav.com> 2012-04-07 01:43:15 UTC ---
resetting P2 open bugs to P3 pending further review

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 52047] Superscripts are placed incorrectly when fo:block font-size differs from fo:inline font-size

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52047

Glenn Adams <ga...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #6 from Glenn Adams <ga...@apache.org> ---
batch transition resolved+invalid to closed+invalid

-- 
You are receiving this mail because:
You are the assignee for the bug.

DO NOT REPLY [Bug 52047] Superscripts are placed incorrectly when fo:block font-size differs from fo:inline font-size

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52047

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52047] Superscripts are placed incorrectly when fo:block font-size differs from fo:inline font-size

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52047

--- Comment #4 from Glenn Adams <ga...@apache.org> 2012-04-23 15:37:21 UTC ---
Created attachment 28660
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28660
corrected output PDF file

show result of introducing additional inline parent

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52047] Superscripts are placed incorrectly when fo:block font-size differs from fo:inline font-size

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52047

--- Comment #3 from Glenn Adams <ga...@apache.org> 2012-04-23 15:36:34 UTC ---
Created attachment 28659
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28659
corrected input FO file

introduces additional inline parent

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52047] Superscripts are placed incorrectly when fo:block font-size differs from fo:inline font-size

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52047

--- Comment #1 from Alexander Chingarev <al...@duallab.com> 2011-10-18 08:13:28 UTC ---
Created attachment 27803
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27803
superscripts sample

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.