Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
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
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.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
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.
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 and ensure that a proportional font is selected. Common proportional fonts include Arial, Times New Roman, and Helvetica.
- If a non-proportional font is being used, replace it with a proportional font.
Check Font Configuration:
- Go to the transaction code
SE73
(SAPscript Font Maintenance) to check the font settings.- Ensure that the fonts defined in the system are correctly configured and that the AFM files are available for the fonts you intend to use.
Test the Changes:
- After making the changes, test the form or script to ensure that the error no longer appears and that the output is as expected.
Consult Documentation: If the issue persists, refer to SAP documentation or support for further troubleshooting steps specific to your version of SAP.
Related Information:
By following these steps, you should be able to resolve the TD308 error and ensure that your SAP forms are using the correct font types.
Get instant SAP help. Sign up for our Free Essentials Plan.
TD307
Font family & is not maintained
What causes this issue? An action was activated which accesses a particular SAPscript font family although it does not exist.System Response The act...
TD306
AFM file was saved
What causes this issue? The AFM file with fontmetrics data for a SAPscript printer font was saved.System Response The system issues an error message...
TD309
According to AFM file, the font family must be nonproportional
What causes this issue? The font family assigned to the fontmetrics when the fontmetrics file is uploaded by the user is marked as proportional. Howe...
TD310
AFM file does not contain any fontmetrics data
What causes this issue? The fontmetrics file which is to be loaded does not contain any correct fontmetrics data in AFM format.System Response The s...
Click on this link to search all SAP messages.