Tech Tip: If a Font Attribute doesn't work in Write Pro Check if the Font Supports it
PRODUCT: 4D Write Pro | VERSION: 20 | PLATFORM: Mac & Win
Published On: January 13, 2025
A developer may be using 4D Write Pro to make a document and find that when trying to set attributes, setting text to bold or italic does not work in some cases and does work in others. If the developer or the users creating the documents with the program are changing the font of the text, it is possible the font they are picking does not support the attribute.
To check if this is the source of the issue, one can simply check within 4D Write Pro itself. Say that an attempt is made to set these attributes but the developer sees that the text is added without being bold:
WP SET ATTRIBUTES($range; wk font family; "Trattatello") WP SET ATTRIBUTES($range; wk font bold; wk true) |
Within 4D Write Pro itself it can be seen that the font "Trattatello" does not have a bold option, only a "Regular" option. Thus the font itself does not have the support for that attribute.
