diff --git a/def.go b/def.go index 6a7030f..b05a12e 100644 --- a/def.go +++ b/def.go @@ -299,6 +299,7 @@ type InitType struct { SizeStr string Size SizeType FontDirStr string + Density float64 } // FontLoader is used to read fonts (JSON font specification and zlib compressed font binaries)