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: 309
Message text: According to AFM file, the font family must be nonproportional
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.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
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.
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 the font you select is supported by the output device.
Check Output Device Settings:
- Go to the output device configuration in SAP (transaction code SPAD).
- Verify the settings for the output device being used. Ensure that it is configured to use a nonproportional font if required.
Review AFM Files:
- If you have custom fonts or AFM files, ensure that they are correctly configured and that the AFM file corresponds to a nonproportional font.
Test Output:
- After making changes, test the output again to ensure that the error is resolved.
Related Information:
If the problem persists after trying the above solutions, consider reaching out to your SAP Basis team or consulting SAP support for further assistance.
Get instant SAP help. Sign up for our Free Essentials Plan.
TD308
According to AFM file, the font family must be proportional
What causes this issue? The font family assigned to the fontmetrics when the fontmetrics file is uploaded by the user is marked as nonproportional. H...
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...
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...
TD311
Syntax of AFM file is correct
What causes this issue? The syntax of the fontmetrics file loaded, the AFM format, is correct.System Response The system issues an error message and...
Click on this link to search all SAP messages.