'How can I fix this : Warning: the fonts "Times" and "Times" are not available for the Java logical font "Serif"
system:Mac OS software:AnyLogic 8 Personal Learning Edition 8.7.6 language: Java
When I run my model, the console print this info:
Warning: the fonts "Times" and "Times" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
Solution 1:[1]
We also recently had this issue on a mac running the latest public beta of Monterey.
For some reason the Times font was no longer installed or active on the Mac.
You can check in FontBook
You can simply reinstall it
I struggled to find a source online - her is one suggestion - https://www.freebestfonts.com/timr45w-font
Solution 2:[2]
Just ran into this problem myself on OSX Monterey. Resolved it by upgrading to the latest version of Azul Zulu OpenJDK 15, which no longer has the dependency on the discontinued Times font (I think it uses the very similar Times New Roman instead).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jaco-Ben Vosloo |
| Solution 2 | David Barts |

