From fee29a6717019a95f32b491165677b8ed43e43da Mon Sep 17 00:00:00 2001 From: Kris <1611248+Rinzwind@users.noreply.github.com> Date: Tue, 6 Dec 2022 19:44:59 +0100 Subject: [PATCH] Changed #fontsDir in TerminalEmulator to use the #imageRelativeFontFolder of the FreeTypeFontProvider. --- PTerm-UI/TerminalEmulator.class.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PTerm-UI/TerminalEmulator.class.st b/PTerm-UI/TerminalEmulator.class.st index b76f3fe..1105e8f 100644 --- a/PTerm-UI/TerminalEmulator.class.st +++ b/PTerm-UI/TerminalEmulator.class.st @@ -112,7 +112,7 @@ TerminalEmulator class >> fontFamily [ { #category : #font } TerminalEmulator class >> fontsDir [ |path| - path := FileLocator localDirectory / 'Fonts'. + path := FreeTypeFontProvider current imageRelativeFontFolder. path exists ifFalse:[ path createDirectory ]. ^path ]