It is possible to use a standard font and give a warning instead of fire
an exception.
Eg. Font xxxx not found, using standardfont instead .... ?
Andreas
Am 21.08.2017 um 11:25 schrieb Graeme Geldenhuys via Lazarus:
On 2017-08-21 10:18, Michael Van Canneyt wrote:
<!-- Font directory list -->
<dir>/usr/local/share/fonts</dir>
<dir>/usr/local/lib/X11/fonts</dir>
<dir prefix="xdg">fonts</dir>
<!-- the following element will be removed in the future -->
<dir>~/.fonts</dir>
Should indeed be easy to parse and handle...
I'll make it so. I guess the best option would be to add it as an
option API call, so if somebody wants it, simply call
<fpttf>.AddStandardFontPaths(). For those that don't want those font
paths, simply do nothing.
Regards,
Graeme
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus