Internationalization – Registering Custom Fonts for Apache FOP
Author: Fazal Gupta
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) (more…)
1 comment April 28, 2008
ExtJS DataGrid
Post has been moved to our New Blog. http://blog.webscale.co.in/?p=8
4 comments April 14, 2008
Persistence and Locking
Author : Apurba Nath
Persistence in enterprise solutions is not only about CRUD operations, but handling concurrency. Concurrency is handled mostly by locks at the database levels. These locks are configured at the dataobject level and cannot be easily controlled from the flow. The only way of controlling it based on the flow is a programmatic approach to it (via JPA locking api or equivalents). Most of the concurrency issues are discovered only in the later stages of development or at times only after the application goes live, a code change at these points is very difficult. (more…)
3 comments April 7, 2008
Internationalization with Java
Author : Fazal Gupta
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.
5 comments April 7, 2008
Spring Bean Creation is Not Thread Safe
Post has been moved to our New Blog. http://blog.webscale.co.in/?p=64
4 comments April 6, 2008