freetype: update examples
compile error due the last functions rename
This commit is contained in:
parent
0aa9cc4a04
commit
30612500e0
2 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ const OutlinePrinter = struct {
|
|||
var lib = try freetype.Library.init();
|
||||
return Self{
|
||||
.library = lib,
|
||||
.face = try lib.newFace("upstream/assets/FiraSans-Regular.ttf", 0),
|
||||
.face = try lib.createFace("upstream/assets/FiraSans-Regular.ttf", 0),
|
||||
.output_file = file,
|
||||
.path_stream = std.io.fixedBufferStream(&buf),
|
||||
.xMin = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue