RE: How to load tiff images successfully in PDF

2010-10-29 Thread SriKrishnan
Hi,

 

May be it is a stupid question for you.

 

As I said clearly in my mail, I am new to FOP. I don't found any proper user
friendly Documentation for FOP. So I am in a confusion whether I missed
something or anything not supported by FOP. If you people like experts in
all these things need any further details if you ask me, certainly it is my
duty to furnish those details. 

 

My system and software details:

 

OS: Windows XP professional

FOP: version 0.95

Saxon: version 8

 

I have tried to open the pdf in two version of Acrobat

 

In version 9, it popup the error message as mentioned in my earlier mail
(with empty space for the image places).

In version 6, it popup the error message as "Colour space" (with empty space
for the image places)

In GSVIEW, without showing any error message it opens the pdf  (with empty
space for the image places)

 

If you are not interested to answer such a stupid questions, don't reply.
Such kind of replies will discourage new users

 

Regards,

Srikrishnan

 

 

 

  _  

From: SriKrishnan [mailto:srikrish...@techset.co.uk] 
Sent: Friday, October 29, 2010 3:02 PM
To: 'fop-users@xmlgraphics.apache.org'
Subject: How to load tiff images successfully in PDF

 

Hi all,

 

I am new to fop. I have successfully converted fo to pdf when gif images are
loaded in the file. When came to tif images, pdf creates successfully, but
when I scroll to the image page in Adobe Acrobat, the following error
message popup:

 

"An error exists on this page. Acrobat may not display the page correctly.
Please contact the person who created the PDF document to correct the
problem"

 

My fo coding is as follows:

 



 

But in the same above coding when I use gif image it works correctly. Any
help would be very much useful.

 

Thanks in Advance,

Srikrishnan

 

 



RE: Eclipse project with ant to build "fonts.jar"

2010-10-29 Thread Eric Douglas
This is related to the other issue someone on the list brought up, where
auto-detect should be able to stop once it finds it, should be able to
search the classpath first, search the jars first, not search fonts
installed at all with either the Java or the OS...

If we're able to get it to use a font just by adding it to a jar on the
classpath but we have to use the auto-detect and it's going to waste
time searching every font installed then yes it's not worth it, I'll
stick with hardcoding a path on the server and pulling in that file as I
am now.

-Original Message-
From: Tor-Einar Jarnbjo [mailto:tor-ei...@jarnbjo.name] 
Sent: Friday, October 29, 2010 3:50 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Eclipse project with ant to build "fonts.jar"

Am 29.10.2010 17:26, schrieb Eric Douglas:
> This sounds awesome.  I run fop in client/server through webstart.
>
Hi Eric,

be aware though that FOP need to write a font cache to disk if it's not
acceptable for you to spend quite some time analyzing the available
fonts every time you run it. Enabling the auto-detect feature (as Wim
suggested) would also cause your client to search the system font
directory for fonts, which may cause an incorrect font to be selected if
a font with the same name is installed locally. Both issues would also
require your WebStart client disk access privileges on the client.

Regards,
Tor




-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Eclipse project with ant to build "fonts.jar"

2010-10-29 Thread Tor-Einar Jarnbjo

Am 29.10.2010 17:26, schrieb Eric Douglas:

This sounds awesome.  I run fop in client/server through webstart.


Hi Eric,

be aware though that FOP need to write a font cache to disk if it's not 
acceptable for you to spend quite some time analyzing the available 
fonts every time you run it. Enabling the auto-detect feature (as Wim 
suggested) would also cause your client to search the system font 
directory for fonts, which may cause an incorrect font to be selected if 
a font with the same name is installed locally. Both issues would also 
require your WebStart client disk access privileges on the client.


Regards,
Tor




-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



RE: Eclipse project with ant to build "fonts.jar"

2010-10-29 Thread Wim VN

If you mean 'find fonts packaged into the jar', that is exactly what I was
aiming to achieve here. If you include "" in your fop
configuration and have the jar (that you've built with this little ant
project) in the classpath, FOP will recognize (and embed!) the fonts that
are packaged in the jar.
Indeed in your situation this could well be an advantage. I hope it helps
you in your project.

Regards
Wim


Eric Douglas wrote:
> 
> This sounds awesome.  I run fop in client/server through webstart.
> Normally I want to transform on the server.  It's possible it may work
> better to transform on the client when we're using the client, such as
> for the FOP PreviewPanel class.  I use the classes directly with
> embedded code.  I'm passing in custom fonts using the EmbedFontInfo
> object with the Renderer setFontList method using hard coded server side
> paths.  It would save some trouble if the fonts could be found
> automatically in a jar on the classpath.  I've heard I could set them up
> that way and I would have to add them to a manifest with that
> "application/x-font" tag which adds a little extra complication.  Doing
> that automatically in the build would really help.  Now if you can just
> get it to find images packaged into the jar that way..
> 

-- 
View this message in context: 
http://old.nabble.com/Eclipse-project-with-ant-to-build-%22fonts.jar%22-tp30085367p30088248.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



RE: Eclipse project with ant to build "fonts.jar"

2010-10-29 Thread Eric Douglas
This sounds awesome.  I run fop in client/server through webstart.
Normally I want to transform on the server.  It's possible it may work
better to transform on the client when we're using the client, such as
for the FOP PreviewPanel class.  I use the classes directly with
embedded code.  I'm passing in custom fonts using the EmbedFontInfo
object with the Renderer setFontList method using hard coded server side
paths.  It would save some trouble if the fonts could be found
automatically in a jar on the classpath.  I've heard I could set them up
that way and I would have to add them to a manifest with that
"application/x-font" tag which adds a little extra complication.  Doing
that automatically in the build would really help.  Now if you can just
get it to find images packaged into the jar that way..


-Original Message-
From: Wim VN [mailto:wiv...@gmail.com] 
Sent: Friday, October 29, 2010 8:42 AM
To: fop-users@xmlgraphics.apache.org
Subject: Eclipse project with ant to build "fonts.jar"


http://old.nabble.com/file/p30085367/Fonts.zip Fonts.zip 

I saw the suggestion in another post about a possible user-contribution
and felt immediately challenged. Other than that I needed this for my
current project too, so .. ;-)

The atteched zip-file contains a simple Eclipse project (not java or
anything) where the main parts are:

- ./fonts/ : a folder where you can add the fonts you'd like to package
into a jar (currently containing a free font "glastonbury")
- Build.xml : ant-file that will create the manifest file listing all
the fonts in the above folder with content type "application/x-font" and
bundling the fonts and this manifest in a jar (build folder is ./bin/)

Be warned that the ant file makes use of the ant-contrib library (adding
the 'for' task among others). Make sure you provide this library to ant
when trying to run the buildfile.

If you feel comfortable enough with ant, you could of course run this on
the command-line.

...

Just noticed a little thing about the Build.xml file. As it updates the
existing manifest.mf it doesn't create a new one each time you run the
build. If in the meantime you removed fonts from the fonts folder they
would still be mentioned. Will add a correction to this in a reply to
this post.


Hope this helps some people.
Wim
--
View this message in context:
http://old.nabble.com/Eclipse-project-with-ant-to-build-%22fonts.jar%22-
tp30085367p30085367.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



New release of OFFO hyphenation patterns for FOP

2010-10-29 Thread Simon Pepping
I am pleased to announce a new release of the OFFO hyphenation
patterns for FOP. The hyphenation patterns in this release are based
on the TeX hyphenation patterns hosted on CTAN and obtained from them
by direct conversion. The new version number is 2.0. This release is a
follow-up to the experimental release last year, then called
fop-hyphenation-utf8.

The new patterns can be used with FOP 1.0 and higher. For older
versions of FOP you must use the old patterns, contained in offo
hyphenation version 1.2.

Because there are more patterns than before, and there are multiple
alternatives for several languages, FOP now allows you to configure
which pattern you want to use. This configuration option is available
in the current development code, and will be released in FOP version
1.1.

Download the new compiled patterns from
http://sourceforge.net/projects/offo/. See the website at
http://offo.sourceforge.net/ for more information.

With kind regards,
Simon Pepping

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Eclipse project with ant to build "fonts.jar"

2010-10-29 Thread Wim VN

And yet another minor bug - yes, this is work in progress ;-) - that can be
bypassed easily though:

As it is, you should place the fonts under the './fonts/' folder directly
and not use subfolders like I was doing. The manifest lists them without
those subfolders.

Or update the ant-file to include subfolders while building the manifest
file. Not sure if I'll have time to tweak it this way.

Wim
-- 
View this message in context: 
http://old.nabble.com/Eclipse-project-with-ant-to-build-%22fonts.jar%22-tp30085367p30085424.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Eclipse project with ant to build "fonts.jar"

2010-10-29 Thread Wim VN

http://old.nabble.com/file/p30085376/Build.xml Build.xml 

The corrected Build.xml ant-file.
-- 
View this message in context: 
http://old.nabble.com/Eclipse-project-with-ant-to-build-%22fonts.jar%22-tp30085367p30085376.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Eclipse project with ant to build "fonts.jar"

2010-10-29 Thread Wim VN

http://old.nabble.com/file/p30085367/Fonts.zip Fonts.zip 

I saw the suggestion in another post about a possible user-contribution and
felt immediately challenged. Other than that I needed this for my current
project too, so .. ;-)

The atteched zip-file contains a simple Eclipse project (not java or
anything) where the main parts are:

- ./fonts/ : a folder where you can add the fonts you'd like to package into
a jar (currently containing a free font "glastonbury")
- Build.xml : ant-file that will create the manifest file listing all the
fonts in the above folder with content type "application/x-font" and
bundling the fonts and this manifest in a jar (build folder is ./bin/)

Be warned that the ant file makes use of the ant-contrib library (adding the
'for' task among others). Make sure you provide this library to ant when
trying to run the buildfile.

If you feel comfortable enough with ant, you could of course run this on the
command-line.

...

Just noticed a little thing about the Build.xml file. As it updates the
existing manifest.mf it doesn't create a new one each time you run the
build. If in the meantime you removed fonts from the fonts folder they would
still be mentioned. Will add a correction to this in a reply to this post.


Hope this helps some people.
Wim
-- 
View this message in context: 
http://old.nabble.com/Eclipse-project-with-ant-to-build-%22fonts.jar%22-tp30085367p30085367.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: How to load tiff images successfully in PDF

2010-10-29 Thread mehdi houshmand
Hi Srikrishnan,

In order to help we need to know what version of FOP are you using?
Also which version of Adobe Acrobat? Have you tried using another
viewer? Does that work? Also, it sounds like a stupid question, but
have you checked that the tif file isn't corrupted?

Thanks

Mehdi

On 29 October 2010 10:31, SriKrishnan  wrote:
> Hi all,
>
>
>
> I am new to fop. I have successfully converted fo to pdf when gif images are
> loaded in the file. When came to tif images, pdf creates successfully, but
> when I scroll to the image page in Adobe Acrobat, the following error
> message popup:
>
>
>
> “An error exists on this page. Acrobat may not display the page correctly.
> Please contact the person who created the PDF document to correct the
> problem”
>
>
>
> My fo coding is as follows:
>
>
>
>  height="auto" content-width="auto" content-height="auto"/>
>
>
>
> But in the same above coding when I use gif image it works correctly. Any
> help would be very much useful.
>
>
>
> Thanks in Advance,
>
> Srikrishnan
>
>
>
>

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



How to load tiff images successfully in PDF

2010-10-29 Thread SriKrishnan
Hi all,

 

I am new to fop. I have successfully converted fo to pdf when gif images are
loaded in the file. When came to tif images, pdf creates successfully, but
when I scroll to the image page in Adobe Acrobat, the following error
message popup:

 

"An error exists on this page. Acrobat may not display the page correctly.
Please contact the person who created the PDF document to correct the
problem"

 

My fo coding is as follows:

 



 

But in the same above coding when I use gif image it works correctly. Any
help would be very much useful.

 

Thanks in Advance,

Srikrishnan

 

 



AW: Table border issue

2010-10-29 Thread Georg Datterl
Hi Chithambara Nathan Pachaiyappan,

No testcase, no screenshot, no description of the difference. I don't think, 
there's much we can do here. Let's blame it on acrobats aliasing.

Regards,

Georg Datterl

-- Kontakt --

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:
www.irs-nbg.de
Willmy PrintMedia GmbH:
www.willmy.de
Willmy Consult & Content GmbH: 
www.willmycc.de

Von: chithambaranathan [mailto:chithambaramnat...@gmail.com]
Gesendet: Freitag, 29. Oktober 2010 09:44
An: fop-users@xmlgraphics.apache.org
Betreff: Table border issue

Hi ,

We are using apache fop 0.95. We have observed difference in table cell 
borders during rendering in the pdf

   The code which are using is

   for all table cells. 
There is no difference the code between the cells.  We already tried with 
border- collapse="separate". Please let us know the reason for this 
difference in rendering using fop.



Thanks & Regards,
Chithambara Nathan Pachaiyappan


Table border issue

2010-10-29 Thread chithambaranathan
Hi ,

We are using apache fop 0.95. We have observed difference in table cell
borders during rendering in the pdf

   The code which are using is

   for all table
cells. There is no difference the code between the cells.  We already tried
with border- collapse="separate". Please let us know the reason for this
difference in rendering using fop.



Thanks & Regards,
Chithambara Nathan Pachaiyappan