I finally did it. The reason why i was unable to get the fonts was because the font-family was not mentioned in the fo file. Now its ok. Thanks a lot.
On 9/10/06, Onur Senturk <[EMAIL PROTECTED]> wrote:
I generate my fo file from an html file. I think i missed that part...
I'll check about that
I generate my fo file from an html file. I think i missed that part...
I'll check about that
On 9/10/06, Jeremias Maerki <[EMAIL PROTECTED]> wrote:
Sent to you off-list.Sanity check: You've added a font-family="TimesNewRoman" or something
like that to your FO document so FOP chooses the right font
Sent to you off-list.
Sanity check: You've added a font-family="TimesNewRoman" or something
like that to your FO document so FOP chooses the right font, haven't you?
On 10.09.2006 18:54:44 Onur Senturk wrote:
> can you do me a favor and send me your configuration file with the fonts?
> i still co
this is an example fo document:
http://www.w3.org/1999/XSL/Format" xmlns:html="
http://www.w3.org/1999/xhtml" writing-mode="lr-tb" hyphenate="true" text-align="start" role="html">
- -
abcçdefgğhıijklmnoöprsştuüvyz
On 9/10/06, Jeremias Maerki <[EMAIL PROTECTED]> wrote:
The "#" means you're usi
One more thing: The TIFFRenderer currently uses the internal codecs from
XML Graphics Commons to encode TIFF images. These do not support writing
CCITT-G4 encoded images. We could switch to the ImageWriters I wrote for
Batik and which are now available in XML Graphics Commons. They allow an
abstrac
can you do me a favor and send me your configuration file with the fonts?
i still couldn't manage to get the pdf with right fonts :(
On 9/10/06, Jeremias Maerki <[EMAIL PROTECTED]> wrote:
Yes, it works with the Arial and TimesNewRoman fonts that come withWindows.On 10.09.2006 18:41:56 Onur Senturk
Yes, it works with the Arial and TimesNewRoman fonts that come with
Windows.
On 10.09.2006 18:41:56 Onur Senturk wrote:
> Did you have the opportunity to try it with arial?
> The thing is that I have to generate the pdf with Times new roman fonts.
>
>
> On 9/10/06, Jeremias Maerki <[EMAIL PROTEC
So you mean, I can use the Arial fonts with no problems, right?
I'll attach the xml right away.
On 9/10/06, Jeremias Maerki <[EMAIL PROTECTED]> wrote:
Hmm, that document renders just fine with the Base14 "serif" font. Alsofonts like Arial or Verdana will come out just fine. Given the fact that
you
overflow won't help here. wrap-option only controls whether to wrap or
not, not how to wrap. XSL-FO uses "country", "language" and "script" to
indirectly specify how line-breaking should be done. "script" is not
supported and "country/language" are currently only used to select the
right hyphenatio
As an RFE, entering this in bugzilla would have been a valid approach,
yes. But I've already done the necessary change in FOP Trunk:
http://svn.apache.org/viewvc?view=rev&rev=441965
It was easy enough. For you this means, you should add the config
setting below to your FOP configuration file:
Hmm, that document renders just fine with the Base14 "serif" font. Also
fonts like Arial or Verdana will come out just fine. Given the fact that
you've pasted the file into an ISO-8859-9 encoded mail with an UTF-8
header leaves me with an uncertainty if I'm really displaying the right
characters. Y
The "#" means you're using a font that does not contain a particular
character you're using. You may need to try a different font. If you
post an example FO document here that contains some of the characters
you're missing, we might be able to give you a few more suggestions.
On 10.09.2006 17:24:0
Did you have the opportunity to try it with arial?
The thing is that I have to generate the pdf with Times new roman fonts.
On 9/10/06, Jeremias Maerki <[EMAIL PROTECTED]> wrote:
As I suspected, your copy/paste garbled the file. I didn't get the rightcharacters.Anyway, with your attached file the
As I suspected, your copy/paste garbled the file. I didn't get the right
characters.
Anyway, with your attached file the base 14 fonts included in FOP don't
work but Arial and Verdana work. So, if you generate the font metrics
file for one of those fonts and configure it with FOP, it works. As I
s
Here is the log of the procedure:
FOP ExampleXML2PDF
Preparing...
Input: XML (C:\html2pdf\a.html)
Stylesheet: C:\html2pdf\xhtml2fo.xsl
Output: PDF (C:\fop-0.92beta\pdf_olarank\onur.pdf)
Transforming...
10.Eyl.2006 18:26:24 org.apache.fop.apps.FopFactory getBaseURLfromConfig
INFO: hyphenation-bas
There is still something wrong. The special characters still appear as "#"what should i do?On 9/10/06, Onur Senturk <
[EMAIL PROTECTED]> wrote:ok, now i'm trying to do the things you told me, on this version. thanks :)
On 9/10/06, Jeremias Maerki <
[EMAIL PROTECTED]> wrote:
0.92beta, of course.On
The asterisks are only one example. What about other character strings?
Unfortunately I have no control over what data is put in the report, but
I have to make sure that all characters are presented to the reader. I
can implement the () workaround, but would prefer a FO only
solution. Is there
ok, now i'm trying to do the things you told me, on this version. thanks :)
On 9/10/06, Jeremias Maerki <[EMAIL PROTECTED]> wrote:
0.92beta, of course.On 10.09.2006 16:03:07 Onur Senturk wrote:> by the way, which version do you suggest me to use?
0.92beta or 0.20.5> i'm currently using 20.5Jeremia
0.92beta, of course.
On 10.09.2006 16:03:07 Onur Senturk wrote:
> by the way, which version do you suggest me to use? 0.92beta or 0.20.5
> i'm currently using 20.5
Jeremias Maerki
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
by the way, which version do you suggest me to use? 0.92beta or 0.20.5
i'm currently using 20.5
On 9/10/06, Jeremias Maerki <[EMAIL PROTECTED]> wrote:
If you're starting FOP from the command-line, yes.If you embed FOP in a Java application, see:
http://xmlgraphics.apache.org/fop/0.92/embedding.ht
If you're starting FOP from the command-line, yes.
If you embed FOP in a Java application, see:
http://xmlgraphics.apache.org/fop/0.92/embedding.html#config-external
On 10.09.2006 14:24:18 Onur Senturk wrote:
> How do i make sure fop uses the configuration file?
> I'm using these arguments "-c u
setFontBaseURL() alone won't configure all fonts. This base URL is only
used to resolve relative URLs used in the font configuration. Something
is in the works to change the whole font subsystem of FOP. When that
comes we may have a system where you can simply specify a number of
directories and al
Jeremias:
I have an additional question
So the setFontURL alone won't do the job. You still need the confiuration
file. Is this correct statement?
Sam
Jeremias Maerki-2 wrote:
>
> That's the layout from FOP 0.20.5. You said you're using FOP 0.92beta,
> so you have to use that configuration
Thanks a lot.
I got it working. You are right. I copied the configuration file came with
0.92beta and modify the font entry. Now it worked well.
Sam
Jeremias Maerki-2 wrote:
>
> That's the layout from FOP 0.20.5. You said you're using FOP 0.92beta,
> so you have to use that configuration layo
That's the layout from FOP 0.20.5. You said you're using FOP 0.92beta,
so you have to use that configuration layout. It has changed since
0.20.5. Please take conf/fop.xconf as a template!
See also: http://xmlgraphics.apache.org/fop/0.92/configuration.html
On 10.09.2006 14:34:42 Sam Tsai wrote:
>
I put this line:
fopFactory.setUserConfig(new File("C:/Temp/userconfig.xml"));
and the config file content is:
Sam
Jeremias Maerki-2 wrote:
>
> Just a hunch:
> Make sure you call setFontBaseURL() after you specify a userconfig.xml
> (if any)
How do i make sure fop uses the configuration file?
I'm using these arguments "-c userconfig.xml" is this correct?
On 9/10/06, Jeremias Maerki <[EMAIL PROTECTED]> wrote:
The next step in the documentation [1]: Register the fonts with FOP byadjusting the user configuration file. Use the conf/fop.xc
Just a hunch:
Make sure you call setFontBaseURL() after you specify a userconfig.xml
(if any) and before you create an FOUserAgent or a Fop instance.
On 10.09.2006 13:12:28 Shue-Yen Tsai wrote:
> Hi:
>
> I embed FOP 0.92 to my program. I can't get the font
> to work. I put the
>
> fopFactory.s
The next step in the documentation [1]: Register the fonts with FOP by
adjusting the user configuration file. Use the conf/fop.xconf as a
template.
[1] http://xmlgraphics.apache.org/fop/0.92/fonts.html#register
The whole process in short steps:
1. Create a XML font metrics file (use TTFReader for
Manuel:
The message is I got from log4J
Font 'Arial,normal,400' not found. Substituting with default font. I also
attached the Arial.xml metric file.
Sam
http://www.nabble.com/user-files/235939/Arial.xml Arial.xml
Manuel Mall-2 wrote:
>
> On Sunday 10 September 2006 19:58, Sam Tsai wrote:
Le 10 sept. 06 à 12:45, Dirk Bromberg a écrit :
Hi,
try to set font-size="0pt" at the fo:block where the image is in.
it works thank you !
Dirk
Olivier Mansour schrieb:
Hello
I have a problem with fop 0.92. I try to set a picture on the top
left of the page.
It's obvious but I have
On Sunday 10 September 2006 19:58, Sam Tsai wrote:
> Thanks. I tried but still not working.
> Other than the TTF and Metric file what else should be in the folder
> to make it working?
What is the exact error message(s) FOP is producing?
Does that give any clue about what might be wrong?
Manuel
I did try that too. I converted the ttf file to xml but, what do i have to do next? i copied the xml file to the conf directory, but nothing seemed to have changed.
On 9/10/06, Jeremias Maerki <[EMAIL PROTECTED]> wrote:
Oh, great. I just realized we all failed to see the obvious:Onur, you're trying
Thanks. I tried but still not working.
Other than the TTF and Metric file what else should be in the folder to make
it working?
Manuel Mall-2 wrote:
>
> On Sunday 10 September 2006 19:12, Shue-Yen Tsai wrote:
>> Hi:
>>
>> I embed FOP 0.92 to my program. I can't get the font
>> to work. I put
That seems to be a bug in ExampleFO2OldStylePrint.java. If you
instantiate the Renderer yourself, you also have to set the user agent.
See additional line below. Sorry for the trouble.
On 06.09.2006 10:52:43 flyingscot wrote:
>
> Hello!
>
> I have some problems embedding FOP 0.92b with an overri
On Sunday 10 September 2006 19:12, Shue-Yen Tsai wrote:
> Hi:
>
> I embed FOP 0.92 to my program. I can't get the font
> to work. I put the
>
> fopFactory.setFontBaseURL("file:///C:/fonts");
Sam
please try
fopFactory.setFontBaseURL("file:///C:/fonts/");
and check if that fixes it.
Manue
Hi:
I embed FOP 0.92 to my program. I can't get the font
to work. I put the
fopFactory.setFontBaseURL("file:///C:/fonts");
in the program and put my ttf files, metric files
under the folder c:/fonts. I still got error on
finding fonts. Do I have to create userconfig.xml in
this folder or someth
I'd have to look up whether according to UAX#14/TR14 we would be allowed
to break between two "*" characters in the first place. Not that FOP
already implements the full rule set, yet! At any rate, I'd try to
insert a zero-width space () after each "*" character to allow
for breaks in between. May
This may hint at a multi-threading issue we've solved some time ago.
Please get the latest source code of FOP from Subversion (FOP Trunk) and
see if the situation improves.
On 08.09.2006 11:42:46 flyingscot wrote:
>
> Hi!
>
> I have a strange problem: My java software uses embedded FOP. Sometime
There's a configuration value you can set to modify the compression used
but it's poorly designed (requiring an integer value) and undocumented.
Furthermore, it does not support setting CCITT-G4 compression.
Generating monochrome (1bit) images has also not been implemented, yet.
To implement all t
Hi,
try to set font-size="0pt" at the fo:block where the image is in.
Dirk
Olivier Mansour schrieb:
Hello
I have a problem with fop 0.92. I try to set a picture on the top left
of the page.
It's obvious but I have a little white space on the top of the PDF
doc. Here the fo file and the pdf
As Pascal already hinted, you'll have to use
background-color="from-table-column()"
on each table-cell to apply the background color of a table-column to
each cell of that column. Note that according to the specification
table-column "does not generate or return any areas. It holds a set of
traits
First, there's no FOP 2.0. You probably meant 0.20.5. Second, I don't
know what we can do for you if Adobe changes something in their software.
You'd better ask their support. Maybe you find something about this in
their changelog if they have one.
On 07.09.2006 10:21:38 pavithra atrangada wrote:
It looks like you're migrating from 0.20.5 to 0.92beta. Please make sure
you also update the format of your configuration file which contains the
font configuration. The configuration format has changed quite a bit.
Please read the documentation and look into the sample conf/fop.xconf
file for a st
Oh, great. I just realized we all failed to see the obvious:
Onur, you're trying to create a font metrics XML file from a TrueType
font (.ttf) but you're calling the PFMReader to do that. You need to use
the TTFReader! PFMReader is for the .pfm files of a Type 1 font.
On 31.08.2006 18:16:34 Onur
45 matches
Mail list logo