Re: No space between characters

2005-01-19 Thread Michal Postupalski
Nikos napisa(a):
  I have 2 almost identical Polish PDF documents created using FOP.
 The difference between them is one word (this word is repeated
 several times in different sections). These documents are created
 from a template and based on to whom they are directed (M/F), they
 have the word pana or pani inserted in blank spot (it's mister
 and miss in Polish).

 The trouble is that this rather slight change makes the characters
 mi (every occurence) glue together -- there's no space between
 them all over the document.

 I think it's because the ttfreader creates incorect metrics file for
 the font I use (Humanist). When I change font from Humanist to e.g.
 Arial everything is ok.

 Is there anything I could do besides changing the font?

I have the same problem but fop is sticking some words and does it
randomly. I'm using Arial font created from TTF font.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: No space between characters

2005-01-19 Thread Michal Postupalski
  I have 2 almost identical Polish PDF documents created using FOP.
 The difference between them is one word (this word is repeated
 several times in different sections). These documents are created
 from a template and based on to whom they are directed (M/F), they
 have the word pana or pani inserted in blank spot (it's mister
 and miss in Polish).

 The trouble is that this rather slight change makes the characters
 mi (every occurence) glue together -- there's no space between
 them all over the document.

 I think it's because the ttfreader creates incorect metrics file for
 the font I use (Humanist). When I change font from Humanist to e.g.
 Arial everything is ok.

 Is there anything I could do besides changing the font?

 I have the same problem but fop is sticking some words and does it
 randomly. I'm using Arial font created from TTF font.

 It often helps to know the platform, OS, Java version,  Java vendor in
 these cases. In addition, a small snippet of code helps us determine
 whether or not kerning is on, etc.

 Could you both give us more information so we can help?

JAVA: j2sdk1.4.1_02 (SUN)
OS: both Linux and WindowsXP
I'm afraid I can't attached now any *.fo file because all documents are my
firm's documents. I will try to generate some example file later


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Opening fop pdf in Internet Explorer

2004-09-23 Thread Michal Postupalski
[EMAIL PROTECTED] napisa(a):
 Hi,

 I have a process that creates a PDF through FOP and stores it in
 Documentum (a document management service). When a user wishes to view the
 PDF it is streamed back via a servlet into IE, but IE cannot open it and
 the user is presented with a blank screen.

 To get around this we have to send it to a windows box and open and save
 it in acrobat and then stream it back.

 Our HTTP header includes the content type and length.

 Does anyone know why the fop only version does not open?

I set headers:
response.setContentType(application/pdf);
response.setHeader(Content-Length, length );
response.setHeader(Last-Modified, Tue, 03 Jun 01997 08:14:00 GMT);

and it works fine for me. Does it happen only on one computer? Did you
test it on others?

plastic

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



sticking words

2004-09-22 Thread Michal Postupalski
I've tried to change 'zoom' value in AcrobatReader but it didn't help me.
I found that the problem exists only when I've got a lot of fo:block
tags.
When I tried to simulate this situation on one paged document and I
couldn't. It's often happend on the second page of the document.
Any ideas ?

plastic

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]