Managing Fonts in Infor Lawson Smart Reports

Infor Lawson Smart Reports uses Arial as the default font in report generation. This setting applies at the Lawson Environment level and will load the font file from the following paths:

Note: You must ensure that the fonts that you will use have executable file permission before you can proceed with font customizations.
<font-paths>
		<path path="C:/windows/fonts" />
		<path path="d:/windows/fonts" />
		<path path="e:/windows/fonts" />
		<path path="f:/windows/fonts" />
		<path path="g:/windows/fonts" />
		<path path="C:/WINNT/fonts" />
		<path path="d:/WINNT/fonts" />
		<path path="e:/WINNT/fonts" />
		<path path="f:/WINNT/fonts" />
		<path path="g:/WINNT/fonts" />
		<path path="/usr/X/lib/X11/fonts/TrueType" />
		<path path="/usr/share/fonts/default/TrueType" />
		<path path="/usr/openwin/lib/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/euro_fonts/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/iso_8859_2/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/iso_8859_5/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/iso_8859_7/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/iso_8859_9/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/iso_8859_13/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/iso_8859_15/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/ar/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/hi_IN.UTF-8/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/ja/X11/fonts/TT" />
		<path path="/usr/openwin/lib/locale/ko/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/ko.UTF-8/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/KOI8-R/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/ru.ansi-1251/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/th_TH/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/zh_TW/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/zh_TW.BIG5/X11/fonts/TT" />
		<path path="/usr/openwin/lib/locale/zh_HK.BIG5HK/X11/fonts/TT" />
		<path path="/usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/zh/X11/fonts/TrueType" />
		<path path="/usr/openwin/lib/locale/zh.GBK/X11/fonts/TrueType" />
		<path path="/usr/X11R6/lib/X11/fonts/TrueType" />
		<path path="/usr/X11R6/lib/X11/fonts/truetype" />
		<path path="/usr/X11R6/lib/X11/fonts/tt" />
		<path path="/usr/X11R6/lib/X11/fonts/TTF" />
		<path path="/usr/X11R6/lib/X11/fonts/OTF" />
		<path path="/usr/share/fonts/ja/TrueType" />
		<path path="/usr/share/fonts/truetype" />
		<path path="/usr/share/fonts/ko/TrueType" />
		<path path="/usr/share/fonts/zh_CN/TrueType" />
		<path path="/usr/share/fonts/zh_TW/TrueType" />
		<path path="/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" />
	</font-paths>

To maintain the Arial font in report generation, you must copy the font file to the server in any of the listed directories applicable to your platform. If the Arial font is not found, the Times New Roman font will be used.

Note: Infor Lawson Smart Reports will automatically generate a new fontsConfig.xml file if it does not exist upon submission of a new batch report.

Customizing font configuration at the product line level

  1. Access the font configuration file, fontsConfig.xml from this path:

    $LAWDIR/<Product Line>/lsr/templates/default/fonts/fontsConfig.xml

  2. Select the changes that you want to apply:
    1. To define an alternate font other than Times New Roman:

      Add the <composite-font> tag in fontsConfig.xml and include the new font that you want to use.

      Example:

    2. To define another location where the font is installed:

      Add the <font-paths> tag in fontsConfig.xml and include the path for the font installation that you want to use.

      Example:

      
      <?xml version="1.0" encoding="UTF-8"?>
      <font>
      	<composite-font name="all-fonts" font-family="Helvetica">
      	</composite-font>
      
      	<font-paths>
      		<path path="fs1/law/apps100/lsr/templates/default/fonts" />
      		<path path="fs1/law/apps100/lsr/templates/default/LSRFonts/fonts" />
      			</font-paths>
      </font>
    3. To use additional fonts in report templates customized in LSR Designer:

      Ensure that the fonts that you will use are available in the paths under the <font-paths> tag.

  3. Save the file.

    Changes will take effect after the next run of the reports or jobs.