Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ZK (work in progress)

A tuto (screencast) for a ZK view handler

...

In short your estimate of 100,000 page hits per day is WELL within
what a single server can handle, even with the database and app server
running on the same machine.

-David Sep 02, 2009

Anchor
FontsInFOP
FontsInFOP

Using TTF fonts in FOP

You can use TTF fonts in fo.ftl files. You need to use file "framework/webapp/config/fop.xconf". This file contain following code that responsible for font family, change font family according to the requirement, exemple

Code Block

<font metrics-url="arial.xml" kerning="yes" embed-url="arial.ttf">
  <font-triplet name="Arial" style="normal" weight="normal"/>
  <font-triplet name="ArialMT" style="normal" weight="normal"/>
</font>

I found that I could put this:

Code Block

<fonts>
  <auto-detect/>
</fonts>

And FOP now sees all the TTF's that the system knows.

A tip from Brajesh Patel & James Mcgill

Anchor
FontsInFOP
FontsInFOP

Using TTF fonts in FOP

You can use TTF fonts in fo.ftl files. You need to use file "framework/webapp/config/fop.xconf". This file contain following code that responsible for font family, change font family according to the requirement, exemple

...