Apr 28

This is a small article which explains the steps to register custom fonts with Apache FOP engine. Registering custom fonts with Apache FOP becomes important in the context of Internationalization, especially if one wants to display CJK languages in the PDF being generated. The context of this article is when fop is being used in other application for generating PDF for some XML data.

Step 1:
Install the required fonts to your OS. E.g. for Windows the fonts should be installed using the Control Panel or by copying the fonts to Windows Directory\Fonts.
If one is looking for Chinese/Korean Language, MS GOTHIC is a good font carrying a wide range of symbols.
The font can be in a standalone ttf (TrueType Font) file or a ttc (TrueType Collection) Continue reading »

Tagged with:
Apr 07

Overview and Scope

The main idea of the presentation is not to discuss how Internationalization is done in Java but to highlight some of the problems which one comes across while developing an internationalized application in Java. Most of the observations listed below are based on the personal experience while trying to internationalize a Java based Web Application. Attendees are expected to have basic idea about the features provided by Java to support Internalization. A good resource for the basic reading is OReilly – Java Internationalization.

Continue reading »

Tagged with:
preload preload preload