Bug 36394 - fo:character generates invalid PDF
Summary: fo:character generates invalid PDF
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: trunk
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-27 15:38 UTC by Manuel Mall
Modified: 2012-04-01 06:57 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Mall 2005-08-27 15:38:42 UTC
The PDF generated from following simple fo produces the error "Illegal operation
'Tm' outside text object." when viewed in Acrobat.

    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:svg="http://www.w3.org/2000/svg">
      <fo:layout-master-set>
        <fo:simple-page-master master-name="normal" page-width="5in"
page-height="5in">
          <fo:region-body/>
        </fo:simple-page-master>
      </fo:layout-master-set>
      <fo:page-sequence master-reference="normal" white-space-collapse="true">
        <fo:flow flow-name="xsl-region-body">
          <fo:block>
            <fo:character font-size="96pt" character="A" />
          </fo:block>
        </fo:flow>
      </fo:page-sequence>
    </fo:root>
Comment 1 Jeremias Maerki 2005-08-27 16:41:10 UTC
Fixed: http://svn.apache.org/viewcvs?rev=240423&view=rev
Comment 2 Manuel Mall 2005-08-27 16:48:53 UTC
Wow - that was quick!!!
Comment 3 Glenn Adams 2012-04-01 06:57:38 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed