Skip to content

Commit ceeaf52

Browse files
committed
format
1 parent 461250f commit ceeaf52

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Diff for: ext/FreeTypeExt.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function find_font(searchstring::String; additional_fonts::String = "")
169169
# we can compare all four tuple elements of the score at once in order of importance:
170170
# 1. number of family match characters
171171
# 2. number of style match characters
172-
# 3. is font a "regular" style variant?
172+
# 3. is font a "regular" style variant ?
173173
# 4. the negative length of the font name, the shorter the better
174174
if (family_match_score = first(score)) > 0 && score > best_score
175175
best_fpath = fpath

Diff for: test/tst_freetype.jl

+1-3
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,7 @@ end
252252
mktempdir() do dir
253253
n = 100
254254
fontfiles = map(1:n) do i
255-
p = joinpath(dir, "hack_regular_$i.ttf")
256-
cp(joinpath(FT_DIR, "hack_regular.ttf"), p)
257-
p
255+
cp(joinpath(FT_DIR, "hack_regular.ttf"), joinpath(dir, "hack_regular_$i.ttf"))
258256
end
259257
Threads.@threads for f in fontfiles
260258
fo = FTE.FTFont(f)

0 commit comments

Comments
 (0)