Luca Bellonda | 17 May 2013 16:52
Picon

AFP images

Hi to all, I am facing problems using images with FOP with afp renderer.

Specifically, a JPEG or TIFF with CMYK colorspace ends in wrong colors, even if
the cmyk="true" attribute is added to the configuration file.

When using a TIFF (RGB) with "deflate" compression type, the picture is mostly black, using LZW compression is OK.

Tested with 1.1 and the nightly build of FOP.

Enclosed here the configuration file:

<?xml version="1.0"?>
<fop version="1.0">
  <base>.</base>
  <source-resolution>72</source-resolution>
  <target-resolution>72</target-resolution>
  <default-page-settings height="11in" width="8.26in"/>
  <renderers>
    <renderer mime="application/x-afp">
      <renderer-resolution>240</renderer-resolution>
      <images mode="color" cmyk="true" />
    </renderer>
  </renderers>
</fop>

Thanks
Harshini Madurapperuma | 16 May 2013 13:34
Favicon

Borders and Padding in TableRows

Hi All,

 

Currently I'm using FOP 0.20.5 version which is quite old. Anyway in the forums I came across that borders for TableRow works when the property border-collapse="collapse" is there in table properties. But in this version 0.20.5 even though I use border-collapse="collapse" in table properties, borders for tableRow's seems not been applied.

 

Can you please confirm whether this works in the version FOP 0.20.5.

 

My FO tags are as follows:

 

<fo:table background-color="#ffff00" border-collapse="collapse"  left="0cm" table-layout="fixed" top="0cm"  >

               <fo:table-column column-width="5.643148cm" >

               </fo:table-column>

               <fo:table-column column-width="5.643148cm"  >

               </fo:table-column>

               <fo:table-column column-width="5.643148cm"  >

               </fo:table-column>

               <fo:table-body border-style="none">

                  <fo:table-row  border-color="#ff0000" border-style="solid" border-width="2pt" >

                     <fo:table-cell white-space-collapse="false">

....

......

.............

..............

................

.....................

 

Thanks

Harshini

 


Confidentiality notice and disclaimer
This e-mail is private and may contain confidential information. You must not use, disclose, or retain any of its content if you have received it in error: please notify its sender and then delete it. Any views or opinions expressed in this e-mail are strictly those of its author. We do not accept liability for the consequences of any data corruption, interception, tampering, or virus.

bob swanson | 15 May 2013 19:52
Picon

THANKS (JPG size issues)



>> So, result is as expected.

>> You should fix it in one of the following ways:
 >> - fix the image resolution (44417 is not a useful value);
 >> - or remove content-height property,
 >> - or specify an absolute value for the height.


THANKS for the advice. I was unaware of the
strange "size" numbers embedded in these
JPG files. (They were extracted from a Google
Books file of an old out-of-copyright book. The
more I look at the resolution numbers embedded
in the images, the stranger they are. 44417 is
nothing, some have a resolution in the 10s of
millions.)

When I altered the "print size" in GIMP, the images
work a LOT better.

I'll be checking sizes a lot more closely in the future.
These are the first I've run into that caused such
troubles.

Regards,


Bob Swanson

Christian Pestel | 15 May 2013 17:15
Picon
Favicon

AFP / <jpeg allow-embedding="true"> / Papyrus Viewer don't display jpg image

Hi,
 
I use an fo file with external-graphics src=”file///C:/test/image.jpg”
I convert this fo to afp.
 
Here is my fop config :
<renderer mime="application/x-afp">
<renderer-resolution>300</renderer-resolution>
<images mode="color" cmyk="true">
     <jpeg allow-embedding="true" bitmap-encoding-quality="1.0"/>
</images>

 

With Papyrus Viewer 7.12 the image is not displayed.
these 2 errors are displayed :
IOCA : Unsupported bottom to top scanning
IOCA : Triplet error
 
With AFP-Lookup Viewer (Compart) the image is well displayed.
 
Inside AFP, there is these instruction IPD (Image Picture Data) parameters :
External Algorithm Specification Parameter: Compression algorithm: JPEG, Non-differental Huffman, Baseline DCT

 

Do you know if Papyrus is able to manage the jpg algorithm ?
Thanks.
 

 

Christian Pestel

christian.pestel <at> orange.fr

Ashok Kumar | 14 May 2013 12:36
Picon

FO to PDF conversion failing for the new Turkish Lira Symbol.

Hi,

When I am trying to convert the below FO to PDF, I am getting
ArrayIndexOutOfBoundException. The FO content which I am trying to convert
is given below: 
<fo:block space-before="1em" space-after="1em" role="p"
font-family="Rupakara">A paragraph in Turkish for SYMBOL ₺ ₤</fo:block>

Actually when I am trying to convert the Turkish Lira Symbol (₺) it is
converting to " symbol during html to FO and throwing exception while
converting FO to PDF.

I am using the proper font files which supports the above symbol.
Can you please resolve this issue asap.
bob swanson | 13 May 2013 04:50
Picon

One JPG Displays, the Other Does Not

I noticed this problem with a much larger document
I'm producing. I was able to trim down
to a small .fo file and two JPG images.

I can display the JPG images with many software
products, so I know they are valid. However, the
PDF file created by my short script (using
the "fop" script on a Mac OSX system),
displays only one of the images. The
other is missing. I've tried viewing the
created PDF file with Adobe Reader, and
"Preview" from the Mac. In both cases, the
second image does not appear.

What am I doing wrong?

The .fo source, the two JPG files, and
a simple execution script for the "fop"
shell script are in:


(you can ignore the link reference errors, but
there are no errors from reading the JPG
files)

Thanks for your help.


Bob Swanson
Frank Hirsch | 10 May 2013 19:05
Picon

Use TTF font subtable (substitution) possible?

I am currently trying to use a specific glyph from a TTF font in a substitution table.

1. I learned such glyphs in OTF or TTF fonts can be used in layout programs such as InDesign by selecting them
directly in the glyph selection
2. Trying to understand and having checked the documentation, this seems to have nothing to do with the font
substitution described at http://xmlgraphics.apache.org/fop/1.1/fonts.html#substitution
3. Calling the glyph by HEX or Unicode is not possible since it's the same address

So far I was trying to understand the mechanism of subtables (GSUB Lookups) at all, which led me to check the
content of my font with fontforge.
There I found all the corresponding tables under "Element > Font Info > Lookups"...

Is it possible at all to use a glyph from a substitution table in Apache FOP at all or am I doing something
completely wrong?
I would love to have in FO the same ability as in my layout software using "tabular digits"...

Thank's for your help ;)

- I am running on fop-1.0 and fop-1.1 on Mac OS X with Java 1.7.0u21
- The font has been defined as
<font embed-url="fonts/DuraSans2012-Bold.ttf">
         <font-triplet name="DuraSans" style="normal" weight="bold"/>
</font>
- Very basic and simple selection of the font in fo...
<fo:block font-family="DuraSans">...</fo:block>
avalori | 7 May 2013 15:25
Picon

How to avoid white spaces collapse in fop-1.1?

Hi, 

I'm using fop libraries v1.1, and I noted that fop by default collapse
white-spaces inside strings. For example a block like:

Render as

eliminating whitespaces. I would like to keep strings inner whitespaces in
the generated pdf, so I tried to use the white-space="pre" attribute inside
the block tag, but it preserves only white-spaces outside the string.

Then I tried to use the white-space-treatment="preserve" attribute inside
the block tag, but the rendered page had collapsed white-spaces.

Finally I tried to use the white-space-collapse="false" attribute inside the
block, and also in this case the rendered page had collapsed white-spaces.

Is there a way to change the fop behaviour in order to preserve white-spaces
inside strings?

Thanks, 
Andrea

--
View this message in context: http://apache-fop.1065347.n5.nabble.com/How-to-avoid-white-spaces-collapse-in-fop-1-1-tp38487.html
Sent from the FOP - Users mailing list archive at Nabble.com.
Vostokov, Yevgeniy | 3 May 2013 20:34

SEVERE: Exception java.lang.IllegalArgumentException: min (1650) > opt (0)

FOP 1.1

I am getting an Exception java.lang.IllegalArgumentException: min (1650) > opt (0)

and PDF is not getting created.

FO file is attached.

I can generate PDF from the same FO file using XEP. PDF file is attached.

I can't figure out what is wrong with that FO file if anything or if there is a problem in FOP.

Both log files (fop and xep) are attached.

 

Thanks,

Yevgeniy Vostokov

Attachment (ExpereResponse.fo): application/octet-stream, 43 KiB
Attachment (expereresponse.pdf): application/pdf, 6269 bytes
C:\Users\Yevgeniy.Vostokov\Local Settings\Temp\fop-1.1>
C:\Users\Yevgeniy.Vostokov\Local Settings\Temp\fop-1.1>fop -r ../ExpereResponse.
fo ../expereresponse.pdf
May 3, 2013 11:20:52 AM org.apache.fop.events.LoggingEventListener processEvent
WARNING: Font "Times New Roman,normal,400" not found. Substituting with "any,nor
mal,400".
May 3, 2013 11:20:52 AM org.apache.fop.events.LoggingEventListener processEvent
WARNING: Font "Arial,normal,700" not found. Substituting with "any,normal,700".
May 3, 2013 11:20:53 AM org.apache.fop.events.LoggingEventListener processEvent
INFO: table-layout="fixed" and width="auto", but auto-layout not supported => as
suming width="100%". (See position 529:133)
May 3, 2013 11:20:53 AM org.apache.fop.events.LoggingEventListener processEvent
WARNING: Font "Times New Roman,normal,700" not found. Substituting with "any,nor
mal,700".
May 3, 2013 11:20:53 AM org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.lang.IllegalArgumentException: min (1650) > opt (0)
        at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:303)
        at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
        at org.apache.fop.cli.Main.startFOP(Main.java:177)
        at org.apache.fop.cli.Main.main(Main.java:208)
Caused by: java.lang.IllegalArgumentException: min (1650) > opt (0)
        at org.apache.fop.traits.MinOptMax.getInstance(MinOptMax.java:59)
        at org.apache.fop.traits.SpaceVal.createSpaceProperty(SpaceVal.java:62)
        at org.apache.fop.traits.SpaceVal.<init>(SpaceVal.java:45)
        at org.apache.fop.traits.SpaceVal.makeWordSpacing(SpaceVal.java:94)
        at org.apache.fop.layoutmgr.inline.TextLayoutManager.initialize(TextLayo
utManager.java:245)
        at org.apache.fop.layoutmgr.AbstractLayoutManager.getChildLM(AbstractLay
outManager.java:119)
        at org.apache.fop.layoutmgr.BreakOpportunityHelper.getBreakBefore(BreakO
pportunityHelper.java:45)
        at org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.getBreakB
efore(InlineStackingLayoutManager.java:392)
        at org.apache.fop.layoutmgr.BreakOpportunityHelper.getBreakBefore(BreakO
pportunityHelper.java:49)
        at org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.getBreakB
efore(InlineStackingLayoutManager.java:392)
        at org.apache.fop.layoutmgr.BreakOpportunityHelper.getBreakBefore(BreakO
pportunityHelper.java:49)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getBreakBefore(BlockLayou
tManager.java:508)
        at org.apache.fop.layoutmgr.BreakOpportunityHelper.getBreakBefore(BreakO
pportunityHelper.java:49)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getBreakBefore(BlockLayou
tManager.java:508)
        at org.apache.fop.layoutmgr.BreakOpportunityHelper.getBreakBefore(BreakO
pportunityHelper.java:49)
        at org.apache.fop.layoutmgr.BlockStackingLayoutManager.addKnuthElementsF
orBreakBefore(BlockStackingLayoutManager.java:1038)
        at org.apache.fop.layoutmgr.BlockStackingLayoutManager.breakBeforeServed
(BlockStackingLayoutManager.java:443)
        at org.apache.fop.layoutmgr.BlockContainerLayoutManager.getNextKnuthElem
ents(BlockContainerLayoutManager.java:224)
        at org.apache.fop.layoutmgr.BlockContainerLayoutManager.getNextKnuthElem
ents(BlockContainerLayoutManager.java:186)
        at org.apache.fop.layoutmgr.table.TableCellLayoutManager.getNextKnuthEle
ments(TableCellLayoutManager.java:153)
        at org.apache.fop.layoutmgr.table.RowGroupLayoutManager.createElementsFo
rRowGroup(RowGroupLayoutManager.java:120)
        at org.apache.fop.layoutmgr.table.RowGroupLayoutManager.getNextKnuthElem
ents(RowGroupLayoutManager.java:63)
        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getKnuthElem
entsForRowIterator(TableContentLayoutManager.java:242)
        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getNextKnuth
Elements(TableContentLayoutManager.java:181)
        at org.apache.fop.layoutmgr.table.TableLayoutManager.getNextKnuthElement
s(TableLayoutManager.java:253)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(Bloc
kLayoutManager.java:141)
        at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthEleme
nts(BlockStackingLayoutManager.java:288)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:113)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:105)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(Bloc
kLayoutManager.java:141)
        at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthEleme
nts(BlockStackingLayoutManager.java:288)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:113)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:105)
        at org.apache.fop.layoutmgr.FlowLayoutManager.getNextChildElements(FlowL
ayoutManager.java:221)
        at org.apache.fop.layoutmgr.FlowLayoutManager.addChildElements(FlowLayou
tManager.java:145)
        at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowL
ayoutManager.java:114)
        at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowL
ayoutManager.java:67)
        at org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker
.java:222)
        at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBre
aker.java:673)
        at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.jav
a:155)
        at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.jav
a:137)
        at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.jav
a:387)
        at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:90)
        at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(Pag
eSequenceLayoutManager.java:113)
        at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.j
ava:267)
        at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java
:128)
        at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilde
r.java:347)
        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:181)
        at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(Trans
formerIdentityImpl.java:1101)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
        at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)

        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow
n Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
        at org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transf
ormerIdentityImpl.java:484)
        at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:300)
        ... 3 more

---------

java.lang.IllegalArgumentException: min (1650) > opt (0)
        at org.apache.fop.traits.MinOptMax.getInstance(MinOptMax.java:59)
        at org.apache.fop.traits.SpaceVal.createSpaceProperty(SpaceVal.java:62)
        at org.apache.fop.traits.SpaceVal.<init>(SpaceVal.java:45)
        at org.apache.fop.traits.SpaceVal.makeWordSpacing(SpaceVal.java:94)
        at org.apache.fop.layoutmgr.inline.TextLayoutManager.initialize(TextLayo
utManager.java:245)
        at org.apache.fop.layoutmgr.AbstractLayoutManager.getChildLM(AbstractLay
outManager.java:119)
        at org.apache.fop.layoutmgr.BreakOpportunityHelper.getBreakBefore(BreakO
pportunityHelper.java:45)
        at org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.getBreakB
efore(InlineStackingLayoutManager.java:392)
        at org.apache.fop.layoutmgr.BreakOpportunityHelper.getBreakBefore(BreakO
pportunityHelper.java:49)
        at org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.getBreakB
efore(InlineStackingLayoutManager.java:392)
        at org.apache.fop.layoutmgr.BreakOpportunityHelper.getBreakBefore(BreakO
pportunityHelper.java:49)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getBreakBefore(BlockLayou
tManager.java:508)
        at org.apache.fop.layoutmgr.BreakOpportunityHelper.getBreakBefore(BreakO
pportunityHelper.java:49)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getBreakBefore(BlockLayou
tManager.java:508)
        at org.apache.fop.layoutmgr.BreakOpportunityHelper.getBreakBefore(BreakO
pportunityHelper.java:49)
        at org.apache.fop.layoutmgr.BlockStackingLayoutManager.addKnuthElementsF
orBreakBefore(BlockStackingLayoutManager.java:1038)
        at org.apache.fop.layoutmgr.BlockStackingLayoutManager.breakBeforeServed
(BlockStackingLayoutManager.java:443)
        at org.apache.fop.layoutmgr.BlockContainerLayoutManager.getNextKnuthElem
ents(BlockContainerLayoutManager.java:224)
        at org.apache.fop.layoutmgr.BlockContainerLayoutManager.getNextKnuthElem
ents(BlockContainerLayoutManager.java:186)
        at org.apache.fop.layoutmgr.table.TableCellLayoutManager.getNextKnuthEle
ments(TableCellLayoutManager.java:153)
        at org.apache.fop.layoutmgr.table.RowGroupLayoutManager.createElementsFo
rRowGroup(RowGroupLayoutManager.java:120)
        at org.apache.fop.layoutmgr.table.RowGroupLayoutManager.getNextKnuthElem
ents(RowGroupLayoutManager.java:63)
        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getKnuthElem
entsForRowIterator(TableContentLayoutManager.java:242)
        at org.apache.fop.layoutmgr.table.TableContentLayoutManager.getNextKnuth
Elements(TableContentLayoutManager.java:181)
        at org.apache.fop.layoutmgr.table.TableLayoutManager.getNextKnuthElement
s(TableLayoutManager.java:253)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(Bloc
kLayoutManager.java:141)
        at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthEleme
nts(BlockStackingLayoutManager.java:288)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:113)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:105)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(Bloc
kLayoutManager.java:141)
        at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthEleme
nts(BlockStackingLayoutManager.java:288)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:113)
        at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:105)
        at org.apache.fop.layoutmgr.FlowLayoutManager.getNextChildElements(FlowL
ayoutManager.java:221)
        at org.apache.fop.layoutmgr.FlowLayoutManager.addChildElements(FlowLayou
tManager.java:145)
        at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowL
ayoutManager.java:114)
        at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowL
ayoutManager.java:67)
        at org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker
.java:222)
        at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBre
aker.java:673)
        at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.jav
a:155)
        at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.jav
a:137)
        at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.jav
a:387)
        at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:90)
        at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(Pag
eSequenceLayoutManager.java:113)
        at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.j
ava:267)
        at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java
:128)
        at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilde
r.java:347)
        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:181)
        at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(Trans
formerIdentityImpl.java:1101)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
        at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)

        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow
n Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
        at org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transf
ormerIdentityImpl.java:484)
        at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:300)
        at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
        at org.apache.fop.cli.Main.startFOP(Main.java:177)
        at org.apache.fop.cli.Main.main(Main.java:208)

C:\Users\Yevgeniy.Vostokov\Local Settings\Temp\fop-1.1>

C:\Users\Yevgeniy.Vostokov\Local Settings\Temp\xep-4.9-20070312>xep ../expereres
ponse.fo ../expereresponse.pdf
(document [system-id file:/C:/Users/Yevgeniy.Vostokov/Local Settings/Temp/xep-4.
9-20070312/../expereresponse.fo]
  (validate [validation OK])
  (compile
    (masters
      (sequence-master [master-name single-first])
      (sequence-master [master-name multi-first])
      (sequence-master [master-name FNMAsingle-first])
      (sequence-master [master-name single])
      (sequence-master [master-name multi])
      (sequence-master [master-name FNMAsingle])
      (sequence-master [master-name single-only])
      (sequence-master [master-name single-last])
      (sequence-master [master-name Single-BlankPageMaster])
      (sequence-master [master-name multi-only])
      (sequence-master [master-name multi-last])
      (sequence-master [master-name FNMAsingle-only])
      (sequence-master [master-name FNMAsingle-last])
      (sequence-master [master-name CoverPageMaster])
      (sequence-master [master-name single-column])
      (sequence-master [master-name multi-column])
      (sequence-master [master-name FNMA]))
    (sequence [master-reference single-column]
      (static-content [flow-name BorderCoverLeft])
      (static-content [flow-name BorderCoverRight])
      (static-content [flow-name HeaderRest])
      (static-content [flow-name HeaderLast])
      (static-content [flow-name FooterFirst]
        [warning] could not find any font family matching "Arial"; replaced by H
elvetica
      )
      (static-content [flow-name FooterRest])
      (static-content [flow-name FooterOnly])
      (static-content [flow-name FooterLast])
      (flow [flow-name xsl-region-body]
        [warning] could not find any font family matching "TimesNewRoman"; repla
ced by Helvetica
        [warning] 'span' attribute on block ignored because the element is not a
 direct child of a flow
        [warning] could not find any font family matching "Arial"; replaced by H
elvetica
        [warning] 'span' attribute on block ignored because the element is not a
 direct child of a flow
        [warning] could not find any font family matching "TimesNewRoman"; repla
ced by Helvetica
      )))
  (format
    (sequence [master-reference single-column]
      (flow [1][1])
      (static-content [1]|FooterOnly|)))
  (generate [output-format pdf][1]))

C:\Users\Yevgeniy.Vostokov\Local Settings\Temp\xep-4.9-20070312>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe <at> xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help <at> xmlgraphics.apache.org
Luca Bellonda | 29 Apr 2013 11:16
Picon

Use of Type1 fonts without metrics information

Hi to all,
 is there any possibility in FOP 1.1 to use a Type1 font without a separate metrics information file, reading the info directly from the pfb font file?

 Thanks in advance.
bob swanson | 20 Apr 2013 15:51
Picon

Very Large Print File

Based on what I've been reading here in the FOP discussion, I will humbly suggest creating the 150,000 page print document in plain PostScript. Many print devices can read it, and they do so in a linear fashion. That is only one page is kept in memory at a time. Creating Postscript is a linear process in plain text.

Yes, using FOP or PDFBox you have to store all pages in memory, before writing out the PDF file. A number of PDF "readers" have to process the entire file, which can be a problem (some readers process only a page at a time...)

Just a suggestion.


Gmane