Re: Base font and russian

2004-10-14 Thread Jeremias Maerki
Backporting the changes is certainly doable, but don't underestimate the
effort. I'd guess it's more than just "a few hours". The PDF library has
dependencies on the font subsystem which has, like the PDF library,
changed quite a bit. If you need a quick solution, you're better off
post-processing.

On 14.10.2004 15:49:41 Cédric Augustin wrote:
> > Chris is right. The base14 fonts (Helvetica, Times and Courier, not
> > Symbol and ZapfDingbats) are defined in ISO-Latin1 format (if 
> > I remember
> > correctly). You won't get around using an embedded 
> > Unicode-TrueType font.
> > 
> 
> Thank you for your answer. I use the Thryomanes 1.2 font
> (http://www.io.com/~hmiller/lang/) and it works fine but I got trouble with
> encryption as said in bug
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21303
> 
> Is there anybody who did a patch to correct the code of the version 0.20.5
> to avoid embed font to be destroyed by encryption ?
> If no, is it easy for a basic java developper to do the back port from the
> dev branch to the maintain branch code ? If yes, I could perhaps ask my boss
> to give me few hours to do it... perhaps.
> If no, I will try the iText post process.


Jeremias Maerki


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



RE: Base font and russian

2004-10-14 Thread Cédric Augustin
> Chris is right. The base14 fonts (Helvetica, Times and Courier, not
> Symbol and ZapfDingbats) are defined in ISO-Latin1 format (if 
> I remember
> correctly). You won't get around using an embedded 
> Unicode-TrueType font.
> 

Thank you for your answer. I use the Thryomanes 1.2 font
(http://www.io.com/~hmiller/lang/) and it works fine but I got trouble with
encryption as said in bug
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21303

Is there anybody who did a patch to correct the code of the version 0.20.5
to avoid embed font to be destroyed by encryption ?
If no, is it easy for a basic java developper to do the back port from the
dev branch to the maintain branch code ? If yes, I could perhaps ask my boss
to give me few hours to do it... perhaps.
If no, I will try the iText post process.

Cedric.

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



Re: Base font and russian

2004-10-12 Thread Jeremias Maerki
Chris is right. The base14 fonts (Helvetica, Times and Courier, not
Symbol and ZapfDingbats) are defined in ISO-Latin1 format (if I remember
correctly). You won't get around using an embedded Unicode-TrueType font.

On 12.10.2004 12:03:24 Chris Bowditch wrote:
> > I don't want to use special font and embed it in the pdf. Base font should
> > be enough. Russian pdf created with Acrobat are well displayed on the client
> > computer, so I should be able to use standard font with fop.
> 
> I dont think any of the 14 base Adobe fonts have glyphs for all the languages 
> you need. I think for russian you will need to specify a different font to 
> the 
> other languages and embed it into the PDF.


Jeremias Maerki


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



Re: Base font and russian

2004-10-12 Thread Chris Bowditch
Cédric Augustin wrote:

Does fop use the X11 font ? 
No.
In fop configuration it says that fop need X11
to be installed.
Thats right, or if you have Java 1.4 you can run with the -headless option.
If not, which font does fop is using ?
Depends on what you specified in font-family property? Default is Helvetica. 
Definition of this is the Adobe Helvetica.

If yes why the fop servlet doesn't found the cyrillic char and display
"" ?
This means the font you are using via font-family doesnt have a glyph for the 
requested code point.

I don't want to use special font and embed it in the pdf. Base font should
be enough. Russian pdf created with Acrobat are well displayed on the client
computer, so I should be able to use standard font with fop.
I dont think any of the 14 base Adobe fonts have glyphs for all the languages 
you need. I think for russian you will need to specify a different font to the 
other languages and embed it into the PDF.


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