How To Fix TD309 - According to AFM file, the font family must be nonproportional


TD309 - Overview

  • Message type: E = Error

  • Message class: TD - SAPscript: Text editor, composer, forms, styles and fonts

  • Message number: 309

  • Message text: According to AFM file, the font family must be nonproportional

  • Show details Hide details
  • What causes this issue?

    The font family assigned to the fontmetrics when the fontmetrics file
    is uploaded by the user is marked as proportional. However, the key
    word "IsFixedPitch" is set to the value "true" in the fontmetrics file;
    the fontmetrics are therefore marked as nonproportional.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Please specify a nonproportional font family so that consistency
    between the data in the fontmetrics file and the SAPscript font
    families is maintained.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message TD309 - According to AFM file, the font family must be nonproportional ?
    The SAP error message TD309, which states "According to AFM file, the font family must be nonproportional," typically occurs when there is an issue with the font settings in SAPscript or Smart Forms. This error indicates that the font being used is not a nonproportional (monospaced) font, which is required for certain types of output, especially when dealing with fixed-width formats like invoices or reports.
    
    Cause: Font Type: The font specified in the SAPscript or Smart Form is a proportional font (e.g., Arial, Times New Roman) instead of a nonproportional font (e.g., Courier, Courier New). AFM File: The AFM (Adobe Font Metrics) file associated with the font does not support proportional fonts for the intended output. Output Device Configuration: The output device settings may be configured to expect a nonproportional font.
    Solution: Change Font: Open the SAPscript or Smart Form where the error occurs. Change the font to a nonproportional font. Common nonproportional fonts include: Courier Courier New Fixedsys Ensure that

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author