Register Fonts

Posted by: bolsen on 10 February 2026, 3:44 am EST

    • Post Options:
    • Link

    Posted 10 February 2026, 3:44 am EST

    I am failing to register a new font using react. The error i get is

    Error registering fonts: TypeError: Cannot read properties of undefined (reading ‘postscriptName’)

    From this line of code

    // Font registration for custom fonts

    Core?.FontStore.registerFonts(“/font/fontsConfig.json”).then(() => {

    console.log(“Fonts registered successfully”);

    }).catch(error => {

    console.error(“Error registering fonts:”, error);

    });

  • Posted 11 February 2026, 3:26 am EST - Updated 11 February 2026, 3:31 am EST

    Hi,

    We attempted to reproduce the behavior on our end using the available information, but were unable to replicate the issue. On our side, font registration is working as expected and no errors are occurring. Please refer to the attached sample and image for reference.

    Could you please try with the latest version (v6.0.1) and check whether the issue still persists? If it does, to help us investigate further, kindly share a minimal working sample along with the exact steps to reproduce the behavior, or modify the existing sample to demonstrate the issue. Additionally, a GIF or short video showing the problem would be very helpful.

    If the issue does not occur in the latest version, it is possible that it has already been fixed. In that case, we recommend upgrading to the latest version.

    Sample: Sample.zip

    Image:

    Regards,

    Priyam

  • Posted 11 February 2026, 6:16 am EST

    I see the issue, i did not have “descriptors”: in the config file.

    Now on the designer, i do not see the font in the drop down list but if i put it in the expression it seems to work.

  • Posted 12 February 2026, 2:14 am EST

    Hi,

    We’re glad to hear that your issue has been resolved. For more information, you can also refer to the following documentation:

    https://developer.mescius.com/activereportsjs/docs/GettingStarted/FontConfiguration

    If you face any further issues, please let us know.

    Regards,

    Priyam

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels