mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 13:49:11 +02:00
* Clear search path (fix from Pascal Riekenberg, bug ID #36609)
git-svn-id: trunk@44004 -
This commit is contained in:
parent
392fc0b637
commit
dad9126d45
@ -94,6 +94,7 @@ begin
|
|||||||
if not ForceDirectories(FFilePath+'rendered') then
|
if not ForceDirectories(FFilePath+'rendered') then
|
||||||
Fail('Could not create directory for rendered JSON');
|
Fail('Could not create directory for rendered JSON');
|
||||||
gTTFontCache.Clear;
|
gTTFontCache.Clear;
|
||||||
|
gTTFontCache.SearchPath.Clear;
|
||||||
gTTFontCache.SearchPath.Add(FFilePath+'fonts/');
|
gTTFontCache.SearchPath.Add(FFilePath+'fonts/');
|
||||||
gTTFontCache.SearchPath.Add(FFilePath+'../demos/fonts/');
|
gTTFontCache.SearchPath.Add(FFilePath+'../demos/fonts/');
|
||||||
{$IFDEF UNIX}
|
{$IFDEF UNIX}
|
||||||
|
Loading…
Reference in New Issue
Block a user