RE: RE: Help Me fop in Cocoon2 !!! embedded font Problem

2001-12-05 Thread Morrison, John

What is your OS and what does your serializer settings (for fo2pdf) look
like?

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 05 December 2001 4:14 am
 To: cocoon-users
 Subject: RE:RE: Help Me fop in Cocoon2 !!! embedded font Problem
 
 
 I found serveral articles related my problem, and I made a 
 test with a guide described a good article below.
 http://www2.real-time.com/pipermail/cocoon-users/2001-October/
 019861.html
 Cocoon, Fop, and embedded Truetype fonts 
 Jacob Cantwell [EMAIL PROTECTED] 
 
 cocoon2 embedded font Configuration task 
 1. metrics file create
 2. userconfig.xml create
 3. userconfig.xml added sitemap.xml 
 4. run  test
 
 but It didn't work.. 
 
 After the test, I could not see Korean fonts in a pdf as before.
 
 A shell script using FOP in the C2 is generated a Korean charactors.
 In C2, it is referenced userconfig defined in the sitemap.
 However, in rendering a pdf, it may be refereced only default 
 fonts, not additional fonts.
 So, Korean charactors in the generated pdf is generated as 
 unrecognized charactors like 
 
 Though I read carefully detailed guides serveral times and 
 made a test, every time I failed a test with unrecognized charactors.
 I'm convinced that there is no problem related the 
 environment configuration of C2.
 
 Search the docs for fop and fonts.  It _is_ possible.
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, 04 December 2001 12:26 pm
  To: cocoon-users
  Subject: Help Me fop in Cocoon2 !!! embedded font Problem
  
  
  I made a successful test that FOP was generated a pdf file 
  consisted of Korean.
  But, I could not make a pdf consisted of Korean with C2.
  
  Though FOP generate a pdf file using embed fonts, C2 seems to 
  generate a pdf without embed fonts.
  
  I'd like to know if what I said is right.
  And If C2 can use embed fonts like Korean, Let me know how C2 
  uses embed fonts.
  If possible, Let me take a example.
  
  Regards.
  
  
  ps.I attached  a log what I made a test below.
  
  1.Shell script with FOP
  -generating metrics file using Korean ttf.
  -writing a user config file
  -making successfully a Korean pdf file with 
 fop-0_20_1-dev.jar of C2.
  
  2.Web browser with C2.
  -error that was made an unrecognized pdf file included 
  Korean, when the server with the environment described above 
  was accessed.
  
 


===
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




RE: RE: Help Me fop in Cocoon2 !!! embedded font Problem

2001-12-05 Thread


Thank for your Reply...
OS is Linux Redhat 7.2
and Configuration File and xml, xsl ...


-- sitemap.xmap 

 map:serializer name=fo2pdf src=org.apache.cocoon.serialization.FOPSerializer 
mime-type=application/pdf
user-config 
src=/x-mas/applications/uiControl/jakarta-tomcat-4.0.1/webapps/cocoon/hangul-fonts/userconfig.xml/

/map:serializer
-- userconfig.xml 

 configuration
  fonts
font 
metrics-file=/x-mas/applications/uiControl/jakarta-tomcat-4.0.1/webapps/cocoon/hangul-fonts/gulim.ttf.xml
 kerning=yes 
embed-file=/x-mas/applications/uiControl/jakarta-tomcat-4.0.1/webapps/cocoon/hangul-fonts/gulim.ttf

!--
font metrics-file=./../webapps/cocoon/hangul-fonts/gulim.ttf.xml 
kerning=yes embed-file=./../webapps/cocoon/hangul-fonts/gulim.ttf
 --
font-triplet name=Times Roman style=normal weight=normal/
font-triplet name=Times Roman style=italic weight=normal/
font-triplet name=Times Roman style=normal weight=bold/
font-triplet name=Helvetica style=normal weight=normal/
font-triplet name=Helvetica style=italic weight=normal/
font-triplet name=Helvetica style=normal weight=bold/
font-triplet name=Courier style=normal weight=normal/
font-triplet name=Courier style=italic weight=normal/
font-triplet name=Courier style=normal weight=bold/
font-triplet name=monospace style=normal weight=normal/
font-triplet name=monospace style=italic weight=normal/
font-triplet name=monospace style=normal weight=bold/
/font
  /fonts
/configuration
-- hello-page.xml 

  ?xml version=1.0 encoding=EUC-KR ?
!DOCTYPE page [
!ELEMENT page (title?, content)
!ELEMENT title (#PCDATA)
!ELEMENT content (para+)
!ELEMENT para (#PCDATA)
]
page
titleÄÚÄï2 ÇÑ±Û Å×½ºÆ® ÆäÀÌÁö ÀÔ´Ï´Ù./title
content
para
ÇѱÛÀÔ´Ï´Ù.
/para
/content
/page
-- 
sample-page2fo.xsl
?xml version=1.0 encoding=EUC-KR?
.
   fo:block font-family=Courier text-align=center font-size=24pt 
line-height=14ptpage fo:page-number/
..
/xsl:stylesheet


Regards.

-Original Message-
From: Morrison, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 5:51 PM
To: '[EMAIL PROTECTED]'
Subject: RE: RE: Help Me fop in Cocoon2 !!! embedded font Problem


What is your OS and what does your serializer settings (for fo2pdf) look
like?

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 05 December 2001 4:14 am
 To: cocoon-users
 Subject: RE:RE: Help Me fop in Cocoon2 !!! embedded font Problem
 
 
 I found serveral articles related my problem, and I made a 
 test with a guide described a good article below.
 http://www2.real-time.com/pipermail/cocoon-users/2001-October/
 019861.html
 Cocoon, Fop, and embedded Truetype fonts 
 Jacob Cantwell [EMAIL PROTECTED] 
 
 cocoon2 embedded font Configuration task 
 1. metrics file create
 2. userconfig.xml create
 3. userconfig.xml added sitemap.xml 
 4. run  test
 
 but It didn't work.. 
 
 After the test, I could not see Korean fonts in a pdf as before.
 
 A shell script using FOP in the C2 is generated a Korean charactors.
 In C2, it is referenced userconfig defined in the sitemap.
 However, in rendering a pdf, it may be refereced only default 
 fonts, not additional fonts.
 So, Korean charactors in the generated pdf is generated as 
 unrecognized charactors like 
 
 Though I read carefully detailed guides serveral times and 
 made a test, every time I failed a test with unrecognized charactors.
 I'm convinced that there is no problem related the 
 environment configuration of C2.
 
 Search the docs for fop and fonts.  It _is_ possible.
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, 04 December 2001 12:26 pm
  To: cocoon-users
  Subject: Help Me fop in Cocoon2 !!! embedded font Problem
  
  
  I made a successful test that FOP was generated a pdf file 
  consisted of Korean.
  But, I could not make a pdf consisted of Korean with C2.
  
  Though FOP generate a pdf file using embed fonts, C2 seems to 
  generate a pdf without embed fonts.
  
  I'd like to know if what I said is right.
  And If C2 can use embed fonts like Korean, Let me know how C2 
  uses embed fonts.
  If possible, Let me take a example.
  
  Regards.
  
  
  ps.I attached  a log what I made a test below.
  
  1.Shell script with FOP
  -generating metrics

RE: RE: Help Me fop in Cocoon2 !!! embedded font Problem

2001-12-05 Thread Morrison, John

There doesn't appear to be anything wrong, but I've only done this from a
windoze env.  Maybe somebody can comment wrt linux...

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 05 December 2001 1:35 pm
 To: [EMAIL PROTECTED]
 Subject: RE: RE: Help Me fop in Cocoon2 !!! embedded font Problem
 
 
 
 Thank for your Reply...
 OS is Linux Redhat 7.2
 and Configuration File and xml, xsl ...
 
 
 -- sitemap.xmap 
 
  map:serializer name=fo2pdf 
 src=org.apache.cocoon.serialization.FOPSerializer 
 mime-type=application/pdf
   user-config 
 src=/x-mas/applications/uiControl/jakarta-tomcat-4.0.1/webapp
 s/cocoon/hangul-fonts/userconfig.xml/
 /map:serializer
 -- userconfig.xml 
 
  configuration
   fonts
 font 
 metrics-file=/x-mas/applications/uiControl/jakarta-tomcat-4.0
 .1/webapps/cocoon/hangul-fonts/gulim.ttf.xml kerning=yes 
 embed-file=/x-mas/applications/uiControl/jakarta-tomcat-4.0.1
 /webapps/cocoon/hangul-fonts/gulim.ttf
 !--
   font 
 metrics-file=./../webapps/cocoon/hangul-fonts/gulim.ttf.xml 
 kerning=yes embed-file=./../webapps/cocoon/hangul-fonts/gulim.ttf
  --
 font-triplet name=Times Roman style=normal weight=normal/
 font-triplet name=Times Roman style=italic weight=normal/
 font-triplet name=Times Roman style=normal weight=bold/
 font-triplet name=Helvetica style=normal weight=normal/
 font-triplet name=Helvetica style=italic weight=normal/
 font-triplet name=Helvetica style=normal weight=bold/
 font-triplet name=Courier style=normal weight=normal/
 font-triplet name=Courier style=italic weight=normal/
 font-triplet name=Courier style=normal weight=bold/
 font-triplet name=monospace style=normal weight=normal/
 font-triplet name=monospace style=italic weight=normal/
 font-triplet name=monospace style=normal weight=bold/
 /font
   /fonts
 /configuration
 -- hello-page.xml 
 
   ?xml version=1.0 encoding=EUC-KR ?
 !DOCTYPE page [
 !ELEMENT page (title?, content)
 !ELEMENT title (#PCDATA)
 !ELEMENT content (para+)
 !ELEMENT para (#PCDATA)
 ]
 page
 titleÄÚÄï2 ÇÑ±Û Å×½ºÆ® ÆäÀÌÁö ÀÔ´Ï´Ù./title
 content
 para
 ÇѱÛÀÔ´Ï´Ù.
 /para
 /content
 /page
 -- 
 sample-page2fo.xsl
 
 ?xml version=1.0 encoding=EUC-KR?
 .
fo:block font-family=Courier text-align=center 
 font-size=24pt line-height=14ptpage fo:page-number/
 ..
 /xsl:stylesheet
 
 
 Regards.
 
 -Original Message-
 From: Morrison, John [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 05, 2001 5:51 PM
 To: '[EMAIL PROTECTED]'
 Subject: RE: RE: Help Me fop in Cocoon2 !!! embedded font Problem
 
 
 What is your OS and what does your serializer settings (for 
 fo2pdf) look
 like?
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, 05 December 2001 4:14 am
  To: cocoon-users
  Subject: RE:RE: Help Me fop in Cocoon2 !!! embedded font Problem
  
  
  I found serveral articles related my problem, and I made a 
  test with a guide described a good article below.
  http://www2.real-time.com/pipermail/cocoon-users/2001-October/
  019861.html
  Cocoon, Fop, and embedded Truetype fonts 
  Jacob Cantwell [EMAIL PROTECTED] 
  
  cocoon2 embedded font Configuration task 
  1. metrics file create
  2. userconfig.xml create
  3. userconfig.xml added sitemap.xml 
  4. run  test
  
  but It didn't work.. 
  
  After the test, I could not see Korean fonts in a pdf as before.
  
  A shell script using FOP in the C2 is generated a Korean charactors.
  In C2, it is referenced userconfig defined in the sitemap.
  However, in rendering a pdf, it may be refereced only default 
  fonts, not additional fonts.
  So, Korean charactors in the generated pdf is generated as 
  unrecognized charactors like 
  
  Though I read carefully detailed guides serveral times and 
  made a test, every time I failed a test with unrecognized 
 charactors.
  I'm convinced that there is no problem related the 
  environment configuration of C2.
  
  Search the docs for fop and fonts.  It _is_ possible.
  
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, 04 December 2001 12:26 pm
   To: cocoon-users
   Subject: Help Me fop in Cocoon2 !!! embedded font Problem
   
   
   I made a successful test that FOP was generated a pdf file 
   consisted of Korean.
   But, I could not make a pdf consisted of Korean with C2.
   
   Though FOP generate a pdf file using

RE: RE: Help Me fop in Cocoon2 !!! embedded font Problem

2001-12-05 Thread ons

Try creating it on windows2000 and then copy it to your Linux server. It
should work...

Vivek

-Original Message-
From: ±è¿µÁÖ [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 10:35 PM
To: [EMAIL PROTECTED]
Subject: RE: RE: Help Me fop in Cocoon2 !!! embedded font Problem



Thank for your Reply...
OS is Linux Redhat 7.2
and Configuration File and xml, xsl ...


--
sitemap.xmap 
 map:serializer name=fo2pdf
src=org.apache.cocoon.serialization.FOPSerializer
mime-type=application/pdf
user-config
src=/x-mas/applications/uiControl/jakarta-tomcat-4.0.1/webapps/cocoon/hangu
l-fonts/userconfig.xml/
/map:serializer
--
userconfig.xml 
 configuration
  fonts
font
metrics-file=/x-mas/applications/uiControl/jakarta-tomcat-4.0.1/webapps/coc
oon/hangul-fonts/gulim.ttf.xml kerning=yes
embed-file=/x-mas/applications/uiControl/jakarta-tomcat-4.0.1/webapps/cocoo
n/hangul-fonts/gulim.ttf
!--
font metrics-file=./../webapps/cocoon/hangul-fonts/gulim.ttf.xml
kerning=yes embed-file=./../webapps/cocoon/hangul-fonts/gulim.ttf
 --
font-triplet name=Times Roman style=normal weight=normal/
font-triplet name=Times Roman style=italic weight=normal/
font-triplet name=Times Roman style=normal weight=bold/
font-triplet name=Helvetica style=normal weight=normal/
font-triplet name=Helvetica style=italic weight=normal/
font-triplet name=Helvetica style=normal weight=bold/
font-triplet name=Courier style=normal weight=normal/
font-triplet name=Courier style=italic weight=normal/
font-triplet name=Courier style=normal weight=bold/
font-triplet name=monospace style=normal weight=normal/
font-triplet name=monospace style=italic weight=normal/
font-triplet name=monospace style=normal weight=bold/
/font
  /fonts
/configuration
--
hello-page.xml 
  ?xml version=1.0 encoding=EUC-KR ?
!DOCTYPE page [
!ELEMENT page (title?, content)
!ELEMENT title (#PCDATA)
!ELEMENT content (para+)
!ELEMENT para (#PCDATA)
]
page
titleÄÚÄï2 ÇÑ±Û Å×½ºÆ® ÆäÀÌÁö ÀÔ´Ï´Ù./title
content
para
ÇѱÛÀÔ´Ï´Ù.
/para
/content
/page
--
sample-page2fo.xsl--
--
?xml version=1.0 encoding=EUC-KR?
.
   fo:block font-family=Courier text-align=center font-size=24pt
line-height=14ptpage fo:page-number/
..
/xsl:stylesheet


Regards.

-Original Message-
From: Morrison, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 5:51 PM
To: '[EMAIL PROTECTED]'
Subject: RE: RE: Help Me fop in Cocoon2 !!! embedded font Problem


What is your OS and what does your serializer settings (for fo2pdf) look
like?

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 05 December 2001 4:14 am
 To: cocoon-users
 Subject: RE:RE: Help Me fop in Cocoon2 !!! embedded font Problem


 I found serveral articles related my problem, and I made a
 test with a guide described a good article below.
 http://www2.real-time.com/pipermail/cocoon-users/2001-October/
 019861.html
 Cocoon, Fop, and embedded Truetype fonts
 Jacob Cantwell [EMAIL PROTECTED]

 cocoon2 embedded font Configuration task
 1. metrics file create
 2. userconfig.xml create
 3. userconfig.xml added sitemap.xml
 4. run  test
 
 but It didn't work..

 After the test, I could not see Korean fonts in a pdf as before.

 A shell script using FOP in the C2 is generated a Korean charactors.
 In C2, it is referenced userconfig defined in the sitemap.
 However, in rendering a pdf, it may be refereced only default
 fonts, not additional fonts.
 So, Korean charactors in the generated pdf is generated as
 unrecognized charactors like 

 Though I read carefully detailed guides serveral times and
 made a test, every time I failed a test with unrecognized charactors.
 I'm convinced that there is no problem related the
 environment configuration of C2.

 Search the docs for fop and fonts.  It _is_ possible.

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, 04 December 2001 12:26 pm
  To: cocoon-users
  Subject: Help Me fop in Cocoon2 !!! embedded font Problem
 
 
  I made a successful test that FOP was generated a pdf file
  consisted of Korean.
  But, I could not make a pdf consisted of Korean with C2.
 
  Though FOP generate a pdf file using embed fonts, C2 seems to
  generate a pdf without embed fonts.
 
  I'd like to know if what I said is right.
  And If C2 can use embed fonts like Korean, Let me know how C2
  uses embed fonts.
  If possible, Let me