cancel
Showing results for 
Search instead for 
Did you mean: 

Font formatting for Flat file generated in PI

Former Member
0 Kudos

Hi,

We have a File receiver scenario in PI wherein we are generating a Flat file. While creating the file, the font needs to be of specific font type and size

eg:

Pyramid u2013 Lucida Console (Size 10)

Aspheria u2013 I5_10N (Size 10)

Is there any way this can be configured or implemented in PI?

Accepted Solutions (0)

Answers (3)

Answers (3)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi ,

This requirement we can achieve using XSLT Mapping,we can define the font size in mapping program it self,select output method in xslt program as TEXT,no need of any file content conversion in Receiver Communication channel.

refer this link how to uses the methods for font sizes.

http://www.xml.com/pub/a/2001/01/24/xsl-fo/

Regards,

Raj

former_member187339
Active Contributor
0 Kudos

Hi Harleen,

I doubt this can be done.

When you create a flat file, you will be opening it in notepad right? and teh content take the settings which I have done in my notepad . So it will be depending on the system configuration of the end user.

Regards

Suraj

Shabarish_Nair
Active Contributor
0 Kudos

there is no standard option.

but what you can do is create a simple module. use the font api in java and set the font for your content.

I guess that should work.

some sample code - http://www.java2s.com/Code/Java/2D-Graphics-GUI/Changefont.htm