diff --git a/GLMakie/Project.toml b/GLMakie/Project.toml index 55d4858564b..07d349bccc6 100644 --- a/GLMakie/Project.toml +++ b/GLMakie/Project.toml @@ -26,7 +26,7 @@ ColorTypes = "0.9, 0.10, 0.11" Colors = "0.11, 0.12" FileIO = "1.6" FixedPointNumbers = "0.7, 0.8" -FreeTypeAbstraction = "0.10" +FreeTypeAbstraction = "0.11" GLFW = "3" GeometryBasics = "0.4.1" Makie = "=0.19.0" diff --git a/WGLMakie/Project.toml b/WGLMakie/Project.toml index 2137710200c..4182319c8c8 100644 --- a/WGLMakie/Project.toml +++ b/WGLMakie/Project.toml @@ -22,7 +22,7 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" [compat] Colors = "0.11, 0.12" FileIO = "1.1" -FreeTypeAbstraction = "0.10" +FreeTypeAbstraction = "0.11" GeometryBasics = "0.4.1" Hyperscript = "0.0.3, 0.0.4" ImageMagick = "1.1" diff --git a/src/conversions.jl b/src/conversions.jl index 937d624592e..987a2a5da0b 100644 --- a/src/conversions.jl +++ b/src/conversions.jl @@ -946,7 +946,8 @@ function load_font(str::String) font = if (ft_path = get(FONT_PATHS, str, nothing)) !== nothing if (ft = load_font_from_path(ft_path, false)) === nothing - ft = find_and_load_font(str) # can be invalidated on relocation, hard reload + # font path can be invalidated on relocation so find the font again, and load it + ft = find_and_load_font(str) end ft elseif isfile(str) # check if the string points to a font file and load that