Maximo Open Forum

 View Only
  • 1.  IBM Maximo MAS – PDF Export Issues with Croatian Characters and Report Formatting After Upgrade

    Posted 26 days ago

    Hello everyone,

    Following our upgrade from IBM Maximo Asset Management to IBM Maximo Application Suite (MAS), we have encountered several issues related to report generation, specifically when exporting reports to PDF format.

    The main issues are:

    1. Special character rendering: Croatian characters (č, ć, ž, š, đ) are not displayed correctly in exported PDF reports. In some cases, these characters are missing entirely, while in others they are replaced with incorrect symbols or blank spaces.

    2. Report layout and formatting: In certain reports, margins, text alignment, and overall layout appear to shift or become distorted after exporting to PDF.

    Interestingly, these issues occur only when reports are exported to PDF. When viewing the same reports directly within the MAS application, all Croatian characters and report formatting are displayed correctly.

    We are trying to determine whether this behavior is related to:

    • The IBM MAS / Maximo Manage reporting configuration, particularly the BIRT reporting engine and PDF rendering process.

    • Missing or incorrectly configured fonts and Unicode support in the underlying infrastructure (OpenShift containers/pods).

    • Differences in font availability, font embedding, or character encoding between the previous Maximo environment and the new MAS deployment.

    • Changes introduced during the migration or upgrade that may affect PDF rendering and report formatting.

    My questions are:

    1. Has anyone experienced similar issues with special characters or PDF report formatting after upgrading from traditional IBM Maximo Asset Management to MAS?

    2. Is this typically an issue with the MAS/Maximo Manage reporting configuration, or is it more likely related to the underlying OpenShift infrastructure?

    3. Are there any known configuration changes, font packages, or recommended fixes required to ensure proper Unicode character rendering in PDF reports?

    4. If you have encountered and resolved this issue, could you share the root cause and the steps taken to fix it?

    Any insights, troubleshooting recommendations, or references to IBM documentation or known issues would be greatly appreciated.

    Thank you in advance for your help!


    #EverythingMaximo
    #Infrastructure

    ------------------------------
    Dario Stjepanović
    Teamwork doo
    ------------------------------


  • 2.  RE: IBM Maximo MAS – PDF Export Issues with Croatian Characters and Report Formatting After Upgrade

    Posted 25 days ago

    Hello,

    We had a similar issue earlier this year with exporting PDF for Polish characters when we upgraded to MAS 9.1. There are two files, fontsconfig.xml and fontsConfig_pdf.xml, in the birt directory that cause this issue. They will be found on the MAXINST pod. We resolved it by updating those two files. I would compare what I have below for the file contents to what you have in your version as I do not know if that will correct the issue for croatian characters. At least this will get you in the general area for correcting the issue. Here are some notes I still have for this and following the notes are the file contents for both files:

    To correct the problem with Polish characters not printing, updates were needed for the FONTSCONFIG.XML file and the FONTSCONFIG_PDF.XML file.

    These two files will work in both the 9.0 and 9.1 versions of MAS/Manage and must be updated in the /applications/maximo/maximouiweb/webmodule/WEB-INF/birt/platform/plugin directory inside the org.eclipse.birt.report.engine.fonts_4.16.0.v202406141054.jar file for MAS/Manage 9.1 or the org.eclipse.birt.report.engine.fonts_4.8.0.v201806261756.jar file for MAS/Manage 9.0.

    These changes are part of the customization archive file.

    File contents for fontsConfig.xml file is:

    <!-- ******************************************************************************* * Copyright (c) 2021 Contributors to the Eclipse Foundation * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * https://www.eclipse.org/legal/epl-2.0/. * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * See git history ******************************************************************************* -->
    <!-- The priority of fonts configuration file is as following: Two major levels of configuration files: 1. Configuration files without format in name are divided into three sub-levels: a. default configuration file: fontsConfig.xml b. configuration files specified for special platform: fontsConfig_Windows_XP.xml or fontsConfig_win32.xml. c. configuration files specified for special platform and special locale: fontsConfig_win32_zh.xml/fontsConfig_win32_zh_CN.xml 2. Configuration files with format in name are also divided into 3 sub-levels: d. default configuration files for a format: fontsConfig_pdf.xml e. configuration files for a format under special platform: fontsConfig_pdf_win32.xml f. configuration files for a format under special platform: fontsConfig_pdf_win32_zh.xml From level a to level f, the priority of configuration files increase. The logic how a single configuration is loaded and used is described below: 1. PDF layout engine loads the font files from the fonts folder of the plug-in "org.eclipse.birt.report.engine.fonts". and then the system defined font folder. If the section <font-paths> is set in fontsConfig.xml, the system defined font folder will be ignored, and the font files specified in section <font-paths> will be loaded instead. 2. PDF layout engine tries to use the font specified in design-time to render the pdf/postscript/ppt. If the font is a generic family, it will be mapped to a PDF embedded type1 font. "serif" to "Times-Roman" "fantasy" to "Times-Roman" "sans-serif" to "Helvetica" "monospace" to "Courier" "cursive" to "Times-Roman" If the font can not be built, it will go to the UNICODE block of that character, and try the font defined in that block. If this also fails, the character will be replaced with '?' using the default font, currently "Times-Roman", to denote a place of missing character. -->
    <font>
    <!-- In <font-aliases> section, you can: a. Define a mapping from a generic family to a font family. for example: the following defines a mapping from generic family "serif" to a Type1 font family "Times-Roman". <mapping name="serif" font-family="Times-Roman"/> b. Define a mapping from a font family to another font family. This is useful if you want to use a font for PDF rendering which differs from the font used in design-time. for example: the following defines to replace "simsun" with "Arial Unicode MS". <mapping name="simsun" font-family="Arial Unicode MS"/> In previous version, name "font-mapping" is used for "font-aliases". Currently, "font-mapping" entry also works in the same way as "font-aliases" entry does. When "font-mapping" and "font-aliases" are both available, the different mappings are merged, for the same entries in the both, those in "font-aliases" will override those in "font-mapping". -->
    <font-aliases>
    <mapping name="serif" font-family="Times-Roman"/>
    <mapping name="sans-serif" font-family="Helvetica"/>
    <mapping name="monospace" font-family="Courier"/>
    <mapping name="cursive" font-family="Times-Roman"/>
    <mapping name="fantasy" font-family="Times-Roman"/>
    </font-aliases>
    <search-sequences>
    <sequence locale="zh_CN">
    <catalog name="Western"/>
    <catalog name="Chinese_S"/>
    <catalog name="Chinese_T"/>
    <catalog name="Chinese"/>
    <catalog name="Japanese"/>
    <catalog name="Korean"/>
    </sequence>
    <sequence locale="zh">
    <catalog name="Western"/>
    <catalog name="Chinese_T"/>
    <catalog name="Chinese_S"/>
    <catalog name="Chinese"/>
    <catalog name="Japanese"/>
    <catalog name="Korean"/>
    </sequence>
    <sequence locale="ja">
    <catalog name="Western"/>
    <catalog name="Japanese"/>
    <catalog name="Chinese"/>
    <catalog name="Korean"/>
    </sequence>
    <sequence locale="ko">
    <catalog name="Western"/>
    <catalog name="Korean"/>
    <catalog name="Chinese"/>
    <catalog name="Japanese"/>
    </sequence>
    </search-sequences>
    <!-- <composite-font> section is used to define a composite font, which is a font consists of many physical fonts used for different characters. The component fonts are defined by <block> entries. Each <block> entry defines a mapping from a UNICODE range to a font family name, which means the font family will be applied for the characters with UNICODE in the range. Characters in one block may need different fonts. One example is, in block "Currency Symbols", characters are currency symbols in different language, the fonts specified for which should be fonts for the corresponding languages. For these characters, special fonts can be specified for characters one by one using <character> entry: <composite-font> ...... <character value="฿" font-family="Angsana New"/> <character value="\u0068" font-family="Time Roman"/> ...... </composite-font> Note that characters are represented by attribute "value", which can be of two forms, the character itself or its UNICODE. A composite font named "all-fonts" will be applied as default font, that is, when a character is not defined in desired font, the font defined in "all-fonts" will be used. -->
    <composite-font name="all-fonts" font-family="Times-Roman"> </composite-font>
    <!-- In this section, you can set the font path you want PDF layout engine to read, ranging from one font file to a whole font folder. for example: add a font folder <path path="c:/windows/fonts"/> add a font file <path path="/usr/X11R6/lib/X11/fonts/TTF/arial.ttf"/> But please NOTE: If this section is set, PDF layout engine will ONLY load the font files in these paths and ignore the system defined font folder. If you want to use the system font folder as well, please include it in this section. On some systems, BIRT PDF layout engine may not recognize the system defined font folder. If you encounter this issue, please add the font path to this section. -->
    <font-paths>
    <path path="/usr/share/fonts/Free3of9X"/>
    <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"/>
    <path path="/usr/share/fonts/TTF"/>
    <path path="/usr/share/fonts/OTF"/>
    </font-paths>
    <!-- For <font-encodings> section, In most cases, you need not use this section, unless you are trying to use a non true-type font for PDF rendering. -->
    <font-encodings>
    <encoding font-family="Free 3 of 9 Extended" encoding="Cp1252"/>
    <encoding font-family="Times-Roman" encoding="Cp1252"/>
    <encoding font-family="Helvetica" encoding="Cp1252"/>
    <encoding font-family="Courier" encoding="Cp1252"/>
    <encoding font-family="Zapfdingbats" encoding="Cp1252"/>
    <encoding font-family="Symbol" encoding="Cp1252"/>
    <encoding font-family="STSong-Light" encoding="UniGB-UCS2-H"/>
    <encoding font-family="STSongStd-Light" encoding="UniGB-UCS2-H"/>
    <encoding font-family="MHei-Medium" encoding="UniCNS-UCS2-H"/>
    <encoding font-family="MSung-Light" encoding="UniCNS-UCS2-H"/>
    <encoding font-family="MSungStd-Light" encoding="UniCNS-UCS2-H"/>
    <encoding font-family="HeiseiMin-W3" encoding="UniJIS-UCS2-H"/>
    <encoding font-family="HeiseiKakuGo-W5" encoding="UniJIS-UCS2-H"/>
    <encoding font-family="KozMinPro-Regular" encoding="UniJIS-UCS2-H"/>
    <encoding font-family="HYGoThic-Medium" encoding="UniKS-UCS2-H"/>
    <encoding font-family="HYSMyeongJo-Medium" encoding="UniKS-UCS2-H"/>
    <encoding font-family="HYSMyeongJoStd" encoding="UniKS-UCS2-H"/>
    </font-encodings>
    <font-family name="DejaVu Sans">
    <font>
    <font-name>DejaVuSans</font-name>
    <style>normal</style>
    <weight>normal</weight>
    <font-data>true</font-data>
    </font>
    </font-family>
    </font>
    File contents for fontsConfig_pdf.xml file:


    ------------------------------
    Steven Snyder
    Corning Inc.
    ------------------------------



  • 3.  RE: IBM Maximo MAS – PDF Export Issues with Croatian Characters and Report Formatting After Upgrade

    Posted 25 days ago

    Sorry, must have cut off because of a character limit. Here is the fontsConfig_pdf.xml file contents:

    <!-- ******************************************************************************* * Copyright (c) 2021 Contributors to the Eclipse Foundation * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * https://www.eclipse.org/legal/epl-2.0/. * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * See git history ******************************************************************************* -->
    <font>
    <font-aliases>
    <mapping name="serif" font-family="DejaVu Sans"/>
    <mapping name="sans-serif" font-family="DejaVu Sans"/>
    <mapping name="monospace" font-family="DejaVu Sans"/>
    <!-- <mapping name="serif" font-family="Times-Roman" /> <mapping name="sans-serif" font-family="Helvetica" /> <mapping name="monospace" font-family="Courier" /> -->
    </font-aliases>
    <font-encodings>
    <!-- <encoding font-family="Free 3 of 9 Extended" encoding="Cp1252" /> <encoding font-family="Times-Roman" encoding="Cp1250" /> <encoding font-family="Helvetica" encoding="Cp1250" /> <encoding font-family="Courier" encoding="Cp1252" /> <encoding font-family="Zapfdingbats" encoding="Cp1252" /> <encoding font-family="Symbol" encoding="Cp1252" /> -->
    <encoding font-family="DejaVu Sans" encoding="Identity-H"/>
    <encoding font-family="STSong-Light" encoding="UniGB-UCS2-H"/>
    <encoding font-family="STSongStd-Light" encoding="UniGB-UCS2-H"/>
    <encoding font-family="MHei-Medium" encoding="UniCNS-UCS2-H"/>
    <encoding font-family="MSung-Light" encoding="UniCNS-UCS2-H"/>
    <encoding font-family="MSungStd-Light" encoding="UniCNS-UCS2-H"/>
    <encoding font-family="HeiseiMin-W3" encoding="UniJIS-UCS2-H"/>
    <encoding font-family="HeiseiKakuGo-W5" encoding="UniJIS-UCS2-H"/>
    <encoding font-family="KozMinPro-Regular" encoding="UniJIS-UCS2-H"/>
    <encoding font-family="HYGoThic-Medium" encoding="UniKS-UCS2-H"/>
    <encoding font-family="HYSMyeongJo-Medium" encoding="UniKS-UCS2-H"/>
    <encoding font-family="HYSMyeongJoStd" encoding="UniKS-UCS2-H"/>
    </font-encodings>
    <composite-font name="all-fonts">
    <font font-family="DejaVu Sans" catalog="Western"/>
    <!-- <font font-family="Times-Roman" catalog="Western" /> -->
    <font font-family="STSong-Light" catalog="Chinese_S"/>
    <font font-family="MSung-Light" catalog="Chinese_T"/>
    <font font-family="HeiseiKakuGo-W5" catalog="Japanese"/>
    <font font-family="HYGoThic-Medium" catalog="Korean"/>
    </composite-font>
    </font>


    ------------------------------
    Steven Snyder
    Corning Inc.
    ------------------------------



  • 4.  RE: IBM Maximo MAS – PDF Export Issues with Croatian Characters and Report Formatting After Upgrade

    Posted 20 days ago

    Hi Steve,

    Thank You for your answer. We try that way, but we did not have any luck. We try another way:

    • In Maximo, go to Report Administration.
    • Select the Export Library option and download the MaximoSystemLibrary.rptlibrary file.
    • Change this line: <property name="fontFamily">"Verdana", "Arial", sans-serif</property>

    to: <property name="fontFamily">"DejaVu Sans", "Arial", sans-serif</property>



    ------------------------------
    Dario Stjepanović
    Teamwork doo
    ------------------------------



Newest Episode
Ep. 10 | How Naviam DataStudio Makes Data Imports Easier with Lee Daley

Steven Shull and Lee Daley explore how Naviam DataStudio helps IBM Maximo teams simplify bulk data imports, validate information before loading, and improve data quality and management.

MORE by Naviam Episode 10: How Naviam DataStudio Makes Data Imports Easier with Lee Daley
Watch Episode 10
Also available: Ep. 9 | Best Maximo Resources to Stay Informed