We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35f3430 commit 43dba56Copy full SHA for 43dba56
test/runtests.jl
@@ -5,6 +5,8 @@ using FreeType
5
6
face = FreeTypeAbstraction.findfont("hack"; additional_fonts=@__DIR__)
7
8
+@test repr(face) == "FTFont (family = Hack, style = Regular)"
9
+
10
bb = boundingbox("asdasd", face, 64)
11
@test round.(Int, minimum(bb)) == Vec(4, -1)
12
@test round.(Int, widths(bb)) == Vec2(221, 50)
0 commit comments