diff --git a/laf b/laf index 487850056..274f57f54 160000 --- a/laf +++ b/laf @@ -1 +1 @@ -Subproject commit 48785005692948ab44c87b8635741476cd346800 +Subproject commit 274f57f54869f8e5d12baff902865533d2a34a44 diff --git a/src/README.md b/src/README.md index 59ddb0155..d444a93ca 100644 --- a/src/README.md +++ b/src/README.md @@ -72,6 +72,10 @@ In Debug mode (`_DEBUG`): * [`TRACEARGS`](https://github.com/aseprite/laf/blob/f3222bdee2d21556e9da55343e73803c730ecd97/base/debug.h#L40): in debug mode, it prints in the terminal/console each given argument +In release mode you can use a similar function: + +* `PRINTARGS` prints in the terminal/console each given argument + # Detect Platform You can check the platform using some `laf` macros: diff --git a/src/app/fonts/font_data.cpp b/src/app/fonts/font_data.cpp index 020b345af..ebf72d9ad 100644 --- a/src/app/fonts/font_data.cpp +++ b/src/app/fonts/font_data.cpp @@ -14,6 +14,7 @@ #include "text/font.h" #include "text/font_mgr.h" #include "text/sprite_sheet_font.h" +#include "text/typeface.h" #include "ui/manager.h" #include "ui/scale.h"