You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we use the FontData(String) constructor to create a deep copy of a FontData object. Although this works per the API contract, it is not a robust or future-proof approach. To improve safety and maintainability, we should introduce a dedicated copy constructor like FontData(FontData) or a createCopy() method. This will ensure clearer intent and reduce the risk of errors if the internal behavior of FontData(String) changes.
The text was updated successfully, but these errors were encountered:
Currently, we use the FontData(String) constructor to create a deep copy of a FontData object. Although this works per the API contract, it is not a robust or future-proof approach. To improve safety and maintainability, we should introduce a dedicated copy constructor like FontData(FontData) or a createCopy() method. This will ensure clearer intent and reduce the risk of errors if the internal behavior of FontData(String) changes.
The text was updated successfully, but these errors were encountered: