• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Font embedding of Fop in unix

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings to all,

I am trying to embed japanese font in fop (in unix machine). I am new to unix. I have done the font embedding in windows.But I have no idea about doing in unix.

Any help appreciated

Thanks
Priby
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why do you think it would work differently on Unix than it does on Windows? Where are you stuck?
 
priby mathew
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dittmer,

I used the following steps for japanese font embedding in fop (Windows)

-------------------------------------------
1)Insatllation of FOP
2)Insatllation of true type font or true type collection
3)Creating the font metrics file using the following command:

Java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;lib\xercesImpl.jar;lib\xalan.jar org.apache.fop.fonts.apps.TTFReader C:\WINDOWS\Fonts\MSMINCHO.ttf MSMINCHO.xml

4)Placing the font metrics file created using the above command in appropriate path and making corresponding modifications in the userconfig.xml which includes the path to the metrics file.
-----------------------------

Can I follow the above mentioned steps for unix ?If so,what should be the command for generating the metrics file in unix.

Thanks
priby
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's an example of the invocation on Unix:

 
priby mathew
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dittmer,

Thanks for providing the command for generating the metrics file in unix.

Now I started with the font embedding of fop in unix.The first step i tried is to install the true type font. I got some information that for font embedding xfs should be there in the unix system.

But I couldn't find xfs under /etc/rc.d/init.d . Do I need to install xfs? If so,how can I do it?

Thanks
priby
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I doubt that anything in FOP requires a font server to be installed; ensuring that all required files are accessible should be sufficient.

For advice on installing Unix software you could ask in the Unix/Linux forum, or visit a dedicated forum.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic