The fonts available for a client to use within PEERNET Reports is controlled by a combination of parameters passed to the PEERNET Reports Designer and fonts located in the folder named fonts located as a subfolder of the folder returned by System.getProperty( "user.dir" ) or the fonts located on the class path contained in the package com.peernet.reports.fonts.
System.getProperty( "user.dir" ) is by default the folder where the application (PEERNETReportsDesigner3.jar) is located. For a Java Desktop application, this is the install folder and for a Java Web Start application this is the Java application cache folder.
For examples, of Java Web Start applications demonstrating various combinations of controlling fonts, please visit http://www.peernet.com/developer/reports.
Propert Name |
Values |
Description |
com.peernet.fontmanger.excludeLogicalFonts |
true or false, default is false |
This parameter controls whether the Java logical fonts referred to as Symbol, Serif, SansSerif, Monospaced, Dialog, and DialogInput are to be made available in the font list of the designer. |
com.peernet.fontmanger.excludeSystemFonts |
true or false, default is false |
This parameter controls whether the fonts located on the client's desktop (by the Java Runtime Environment) are to be made available in the font list of the designer. |
com.peernet.fontmanger.excludeBundledFonts |
true or false, default is false |
This parameter controls whether the built-in fonts:
IDAutomationA1euro IDAutomationCMC7 IDAutomationCMC7n10 IDAutomationCMC7n25 IDAutomationCMC7n40 IDAutomationMICR IDAutomationMICRB10 IDAutomationMICRL15 IDAutomationMICRN1 IDAutomationOCRa IDAutomationOCRb IDAutomationOCRbn
are to be made available in the font list of the designer. |
com.peernet.fontmanger.includeOnlyResourceFonts |
true or false, default is false |
This parameter controls whether the fonts located in package com.peernet.reports.fonts on the class path are the only fonts to be made available in the font list of the designer. This parameter overrides the other font related parameters (excludeLogicalFonts, excludeSystemFonts, excludeBundledFonts). |
For Java Web Start applications, a parameter is specified in the JNLP file a demonstrated below:
<property name="com.peernet.fontmanger.excludeLogicalFonts" value="false" />
For Java Desktop applications, a parameter is specified as a parameter of the Java program using the -D switch as demonstracted below:
-Dcom.peernet.fontmanger.excludeLogicalFonts=false