How To Fix TD308 - According to AFM file, the font family must be proportional


TD308 - Overview

  • Message type: E = Error

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

  • Message number: 308

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

  • 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 nonproportional. However, the key
    word "IsFixedPitch" is set to the value "false" in the fontmetrics
    file; the fontmetrics are therefore marked as proportional.

    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 proportional 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 TD308 - According to AFM file, the font family must be proportional ?
    The SAP error message TD308, which states "According to AFM file, the font family must be proportional," 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 proportional font, which is required for certain types of documents.
    
    Cause: Font Type: The error arises when a non-proportional font (like a monospace font) is specified in the form or script. Proportional fonts have varying widths for different characters, while non-proportional fonts have fixed widths. AFM File: The AFM (Adobe Font Metrics) file associated with the font indicates that the font must be proportional, but the font being used does not meet this requirement.
    Configuration Issues: There may be a misconfiguration in the font settings within the SAP system or the specific form being used.
    Solution: Change the Font: Open the SAPscript or Smart Form where the error occurs. Check the font settings

    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
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker