Chinese Bold Font

2004-12-03 Thread Sajeesh N Kakkat




Hi,

I am trying to get some bold Simplified chinese fonts preferable of the
regular fonts available in Windows 2000 like SimHei. MSHei, SimSun or
MSSong. The font-triplet properties in FOP userconfig.xml is not able to
convert these to bold.

Thanks and regards,

Sajeesh
IBM, Bangalore


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



AW: Can't generate Czech characters

2004-12-03 Thread Martin.Hofacker



Hello 
Santiago,

we 
areprinting czech characters without any problems. But it necessary to use 
the correct encoding.
Write 
in your xml and xsl file (1st row)the following:

?xml version="1.0" encoding="UTF-8"?

Not 
every editor can handle the usage of czech characters. We are using XMLSpy, 
there we have no problems. Other tools like Textpad or so are using a wrong 
character set.

Best 
regards
Martin




  -Ursprüngliche Nachricht-Von: Santiago Crespo Calvo 
  [mailto:[EMAIL PROTECTED]Gesendet: Donnerstag, 2. Dezember 
  2004 18:53An: [EMAIL PROTECTED]Betreff: Can't 
  generate Czech characters
  
  Hello
  
  Ive problems generating PDF with 
  Czech characters. Im using FOP 0.2.5 and tried to 
  setup:
  
  + Fonts (Ive used Arial fonts 
  from Czech Windows 2000)
  + Hyphenation (Ive found cs set 
  file)
  
  But always the PDF returns the # 
  and the ? character.
  
  ¿Any idea? 
  
  
  ---Outgoing mail is certified Virus Free.Checked by 
  AVG anti-virus system (http://www.grisoft.com).Version: 6.0.804 / Virus 
  Database: 546 - Release Date: 
30/11/2004


Re: AW: Can't generate Czech characters

2004-12-03 Thread Christopher Milton
Czech is also in ISO-8859-2, but UTF-8 is a very good choice.

I wouldn't get sucked into MSWindows charset/codepage
dependence, either.

--- [EMAIL PROTECTED] wrote:
 Hello Santiago,
  
 we are printing czech characters without any problems. But it necessary to
 use the correct encoding.
 Write in your xml and xsl file (1st row) the following:
  
 ?xml version=1.0 encoding=UTF-8?
  
 Not every editor can handle the usage of czech characters. We are using
 XMLSpy, there we have no problems. Other tools like Textpad or so are using a
 wrong character set.
  
 Best regards
 Martin

 -Ursprüngliche Nachricht-
 Von: Santiago Crespo Calvo [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 2. Dezember 2004 18:53
 An: [EMAIL PROTECTED]
 Betreff: Can't generate Czech characters

 Hello

 I've problems generating PDF with Czech characters. I'm using FOP 0.2.5 and
 tried to setup:

 + Fonts (I've used Arial fonts from Czech Windows 2000)
 + Hyphenation (I've found cs set file)

 But always the PDF returns the #  and the ? character.

 ¿Any idea?  

 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.804 / Virus Database: 546 - Release Date: 30/11/2004


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



fop servlet question 2

2004-12-03 Thread Vojko
Hi

How to build fop servlet with jimi library?

I am using it for presenting jpgs in my PDF...when I am using fop
directly everything is OK. But how do I do it with servlet.

Regards, Vojko.




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



number of pages on the first page

2004-12-03 Thread Stimpmania
Hello,
on the first page of a multi-page pdf I would like to show, how much pages the 
complete document has.
Does anyone have an idea if that's posssible and how?
Thanks a lot
Stimpmania
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: number of pages on the first page

2004-12-03 Thread Osman Çinar Eren
at the end of all pages, put the following:
fo:block id='last-page'/

then at any page you can use the total page number as follows:

Current page no/Total page= fo:page-number/ / fo:page-number-citation 
ref-id='last-page'/

hope this helps.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, December 03, 2004 5:44 PM
To: [EMAIL PROTECTED]
Subject: number of pages on the first page


Hello,

on the first page of a multi-page pdf I would like to show, how much pages the 
complete document has.

Does anyone have an idea if that's posssible and how?

Thanks a lot
Stimpmania

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


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



Re: number of pages on the first page

2004-12-03 Thread Dirk Eiden
on the first page of a multi-page pdf I would like to show, how much 
pages the complete document has.

Does anyone have an idea if that's posssible and how?
Place an empty block with an arbitrary id at the end of your document
(e.g fo:block id=endofdoc/) and use fo:page-number-citation to cite
the number of pages (e.g. fo:page-number-citation ref-id=endofdoc/).
But be careful: this uses more memory due to the forward reference.
Eido

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


Re: number of pages on the first page

2004-12-03 Thread Juan Manuel Bellina
How the syntax of this block would be?
Where do I have to put this block, I mean between
which other blocks.
Can you send a little example?
Thanks,

Juan M.
--- Dirk Eiden [EMAIL PROTECTED] wrote:

  on the first page of a multi-page pdf I would like
 to show, how much 
  pages the complete document has.
  
  Does anyone have an idea if that's posssible and
 how?
 
 Place an empty block with an arbitrary id at the end
 of your document
 (e.g fo:block id=endofdoc/) and use
 fo:page-number-citation to cite
 the number of pages (e.g. fo:page-number-citation
 ref-id=endofdoc/).
 
 But be careful: this uses more memory due to the
 forward reference.
 
 Eido
 
 
 

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




__ 
Do you Yahoo!?
Send holiday email and support a worthy cause. Do good.
http://celebrity.mail.yahoo.com

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



Re: fop servlet question 2

2004-12-03 Thread J.Pietschmann
Vojko wrote:
How to build fop servlet with jimi library?
I am using it for presenting jpgs in my PDF...
You don't need Jimi for this. JPEG is supported by FOP without
additional libraries.
when I am using fop
directly everything is OK. But how do I do it with servlet.
It would have helped if your problem description was more specific.
If you need Jimi (mainly for TIFF images), then put the Jimi jar into
the classpath, usually package it into the WEB-INF/lib directory
of your web application. You can alos install the Jimi jar globally,
in the lib/endorsed directory or equivalent of your server or even
in the JRE's lib/endorsed directory.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Chinese Bold Font

2004-12-03 Thread J.Pietschmann
Sajeesh N Kakkat wrote:
I am trying to get some bold Simplified chinese fonts preferable of the
regular fonts available in Windows 2000 like SimHei. MSHei, SimSun or
MSSong. The font-triplet properties in FOP userconfig.xml is not able to
convert these to bold.
FOP can't generate bold glyphs from a normal weight glyph font.
You have to get a font file specifically containing bold glyphs.
If you can't get such a file, get a font editor which can create
a bold font from a normal weight font for you and roll your own.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


font install error

2004-12-03 Thread Mike Sierra
Pardon me if this is obvious or has been covered many times already,  
but I'm not a Java junkie and have trouble interpreting this error.   
I'm trying to install a custom font for the first time, and am running  
this command as spec'ed in the doc:

$ java -cp  
build/fop.jar:lib/avalon-framework.jar:lib/xml-apis.jar:lib/ 
xercesImpl.jar:lib/xalan.jar org.apache.fop.fonts.apps.PFMReader  
MYFONT.pfm MYFONT.xml

Here's the error I get:
Exception in thread main java.lang.NoClassDefFoundError:  
org/apache/avalon/framework/logger/AbstractLogEnabled
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at  
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)

I confirmed the AbstractLogEnabled class exists.  What else could be  
wrong?

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