oracle xml publisher-font file

8
Applying Barcode Font by uploading Font File to Database – Use the Font Files page to view and upload font files for use with XML Publisher at runtime. To navigate to the Font Files page use XML Publisher Administrator Administration Font Files. To upload a font: 1. Select the Create Font File button. 2. On the Create Font File page, enter a Font Name. For example – “Free 3 of 9” 3. Use the Browse button to select the font file to upload. For example – FREE3OF9.ttf. Oracle XML Publisher Company Confidential Page 1 of 8

Upload: sachin-ghadmode

Post on 03-Apr-2015

27 views

Category:

Documents


9 download

TRANSCRIPT

Page 1: Oracle XML Publisher-Font file

Applying Barcode Font by uploading Font File to Database – Use the Font Files page to view and upload font files for use with XML Publisher at runtime. To

navigate to the Font Files page use XML Publisher Administrator Administration Font Files.

To upload a font:

1. Select the Create Font File button.

2. On the Create Font File page, enter a Font Name. For example – “Free 3 of 9”3. Use the Browse button to select the font file to upload. For example – FREE3OF9.ttf.

Oracle XML Publisher Company Confidential Page 1 of 6

Page 2: Oracle XML Publisher-Font file

You can also update the font file associated with the font name by selecting the Update icon from the Font Files page.

Creating Font Mappings

Use the Font Mappings page to define mappings for fonts used in your templates to produce desired published fonts. Font mapping is performed only for PDF Output.

There are two types of mappings – 1. FO to PDF – for mapping fonts from RTF templates and XSL-FO templates to PDF Output fonts.2. PDF Form – for mapping fonts from PDF templates to different PDF output fonts.

The mapping can then be defined at the site level, the template level, or the data definition level, using the Edit Configuration tab.

To create a Font Mapping, first create a Font Mapping set, and then create Font Mappings within that set.

Creating a Font Mapping Set.1. Select the Create Font Mapping Set button from the Font Mappings page.

2. On the Create Font Mapping Set page, enter a Mapping Name (Custom XML Publisher Fonts) and Mapping Code (CUSTOMXMLPUBFONT). Enter any unique name and code you choose. Select Apply. If there are no errors, you will receive confirmation that your mapping set was successfully created and the Font Mappings page will launch.

Oracle XML Publisher Company Confidential Page 2 of 6

Page 3: Oracle XML Publisher-Font file

Creating a Font Mapping1. Select Create Font Mapping button from the Font Mappings page.

2. On the Create Font Mapping page, enter the following as appropriate and select Continue:

a. Base font i. Font Family – enter the font family that will be mapped to a

different font. For example: ii. Select the Style: Normal.iii. Select the Weight: Normal.

b. Localei. (Optional) Select the Language (English) and Territory (United

States) codes. Only templates with the corresponding language and territory codes will use this font mapping.

c. Target Font Typei. Select the Font Type that the base font is to be mapped to: For

example TrueType.

Oracle XML Publisher Company Confidential Page 3 of 6

Page 4: Oracle XML Publisher-Font file

3. On the Create Font Mapping page, select the Font Mapping Set that we had created previously (Free 3 of 9). Click on Apply Button.

4. Once you have created your font mapping it is now available for use in your templates.

5. You can make this font available at one of three levels, Template, Data Definition and Site.

For Site Level Setting:a. Navigate to the Administration tab then select the Configuration sub-

tab.

Oracle XML Publisher Company Confidential Page 4 of 6

Page 5: Oracle XML Publisher-Font file

6. Expand the FO Processing properties group and use the LOV for the Font Mapping set property to select the font mapping you want to make available for this level. For example – Custom XML Publisher Fonts. Click on Save button.

7. You can also set the same property at the Template and/or Data Definition level too by querying your Template or Data definition in the Template Manager and select the Edit Configuration button.

Oracle XML Publisher Company Confidential Page 5 of 6

Page 6: Oracle XML Publisher-Font file

Applying Barcode font by uploading Font file to UNIX –

1. Detach the Font File (FREE3OF9.ttf) from Team Room under XML Publiser Info Barcode Font File Category to your Local Drive under C:\WINDOWS\Fonts directory. This will install the Barcode Font on your local machine.

2. Open the Template in Word; you’ll notice a new Font “Free 3 of 9” would have got added to the Word’s Font List.

3. Apply the font to the field of your choice.

4. Go to File Properties, under the Custom Tab enter the following – Name – xdo-font.Free 3 of 9.normal.normalType – TextValue - truetype./usr/X11R6/lib/X11/fonts/FREE3OF9.ttf We cannot use Environment Variables like $XXMRP_TOP in the Value field. Hence, this font

needs to be installed in some common directory– which will eliminate the dependency on a particular server when we would migrate to different instances.

Oracle XML Publisher Company Confidential Page 6 of 6