I need to convert a XML or XSL file to tiff format. Is there any direct
or indirect ways to do that.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You can use this to instantiate the FOP object:
Fop fop = fopFactory.newFop(MimeConstants.MIME_TIFF, userAgent, mtiff);
where userAgent is a FOUserAgent instance that you can use to configure
your tiff and mtiff is the OutputStream where you want the image to be
generated.
For further
Hello,
i am using fop-0.92beta on a winxp system from commandline.
I want to use arial.ttf font in a document and convert to pdf.
I read the documentation and did the following steps.
- Creating the metric xml file from the arial.ttf file.
OK no erros, arial.xml and arial.ttf files exists in
Hi,
-Original Message-
From: Peter [mailto:[EMAIL PROTECTED]
Sent: Monday, September 18, 2006 5:49 PM
Gentlepeople,
I am trying to get rid of line-leading (not sure this is the
correct term
actually) when adding an instream-foreign-object or
external-graphic to a block
can any one give sample code for converting xml or xsl or pdf to tiff
file. I am new to this. experts can u help me in providing with sample codes
Oliver Hernàndez Valls wrote:
You can use this to instantiate the FOP object:
Fop fop = fopFactory.newFop(MimeConstants.MIME_TIFF, userAgent,
-Original Message-
From: kamischa [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 9:55 AM
Hello,
i am using fop-0.92beta on a winxp system from commandline.
I want to use arial.ttf font in a document and convert to pdf.
I read the documentation and did the following
public byte[] generateImage(InputStream xml, InputStream xslt) throws
BuilderException
{
// OUTPUT STREAM CREATION
// we use a ByteArray because we don't want to generate any file
ByteArrayOutputStream mtiff= new ByteArrayOutputStream(); //
Hello,
i tried using #x20ac;, or #8366; and both didn't work, i also tried using
ISO-8859-15 instead of ISO-8859-1 but then the PDF Generation fails with an
Error
[ERROR]ISO8859_15
UTF-8 didn't work too ;(
Any other ideas of how to display the €-Sign?
-Original Message-
From: Pascal
-Original Message-
From: Christian Loock [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 11:26 AM
i tried using #x20ac;, or #8366; and both didn't work, i
also tried using ISO-8859-15 instead of ISO-8859-1 but then
the PDF Generation fails with an Error
On Tuesday 19 September 2006 17:51, Pascal Sancho wrote:
-Original Message-
From: Christian Loock [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 11:26 AM
i tried using #x20ac;, or #8366; and both didn't work, i
also tried using ISO-8859-15 instead of ISO-8859-1 but
Hi all,
thank you for all your comments and help. I am still unable to get a
single character to come out in polish. I have, therefore, admitted
defeat and am going to ditch the old nasty code in favour of iText, a
free PDF generating library. It was so easy to get the characters to
display
On 19.09.2006 14:26, Paul Loy wrote:
[...]
It was so easy to get the characters to display in the PDF using this:
[...]
I don't want to spoil your joy about iText, but the PDF you attached
most likely only works correctly if the necessary Helvetica font is
present on the system on which the
Hi Michael,
could you take a sceenshot of the pdf so I can see what it looks like to
you. That would be great.
Thanks,
Paul.
Michael Bruns wrote:
On 19.09.2006 14:26, Paul Loy wrote:
[...]
It was so easy to get the characters to display in the PDF using this:
[...]
I don't want
Hi..
Im hereby attaching a sample XML which im using for coversion to PDF and the
desired PDF.
here is my xml file :-
?xml version=1.0 encoding=UTF-8?
?xml-stylesheet type=text/xsl href=coun.xslt?
root record_count=45
headerMy Report Header/header
nameMy Report/name
footerMy
Vijay,
You will have to post a copy of your coun.xslt also.
With just the xml we cannot tell what you are trying to do to convert to
XSL-FO
Rick
-Original Message-
From: vijay [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 7:38 AM
To: fop-users@xmlgraphics.apache.org
sorry rick ,
sorry rick , i sended you worng xml file .again i am sending my xml file .
?xml version=1.0 encoding=UTF-8?
root record_count=45
headerMy Report Header/header
nameMy Report/name
footerMy Report Footer/footer
object ID=090032ae80006f3b
To convert xml to pdf you need to have an xml file (the one below I assume)
PLUS an xslt file that will convert to XSL-FO and then you can use FOP to
convert the FO file into pdf. You can also do this in one step with FOP -
xml + xslt - xsl-fo = pdf output.
Now we still need your xslt file that
Please wait a second before you give up and spread a wrong impression
that FOP isn't up to the task. The bits of information that were given
to you contained all the hints that were necessary to accomplish your
goal. But I can imagine it is difficult to get it all together. So let
me give you a
In that case, you're using a font that doesn't contain the Euro
character.
Please run the file examples/fo/basic/fonts.fo from your FOP
installation through FOP. It demonstrates the use of the Euro character.
If fonts.fo works, you need to change the font in your other document.
If fonts.fo
Yes, this way the whole font is embedded but you only have access to the
WinAnsi subset of characters.
On 18.09.2006 12:28:40 Luis Ferro wrote:
One of the things that appeared from the properties of the document is the
actual font values.
The config i used is:
font
On 18.09.2006 17:05:09 Luis Ferro wrote:
Jeremias Maerki-2 wrote:
In that case we cannot use the original font
name because we don't embed the full font.
2 questions then...
a) What happens if with a partial embed font it's used the same name as the
original font name?
I don't
On 18.09.2006 17:48:46 Peter wrote:
Gentlepeople,
I am trying to get rid of line-leading (not sure this is the correct term
actually) when adding an instream-foreign-object or external-graphic to a
block
As an example
fo:block-container absolute-position=fixed left=0pt top=0pt
Important to note is that this only works on FOP 0.92beta or later!
If you want to try from the command-line:
fop -fo myfile.fo -tiff myfile.tiff
On 19.09.2006 10:02:54 Richard S wrote:
can any one give sample code for converting xml or xsl or pdf to tiff
file. I am new to this. experts can u
Right, Pascal, the Java2D-based renderers (like -awt) use a different
font subsystem that PDF output. Furthermore, FOP 0.92beta does not
support custom fonts like Arial. You'll have to download FOP Trunk (from
the Subversion repository) where this is fixed.
On 19.09.2006 10:30:10 Pascal Sancho
24 matches
Mail list logo