Load the Noto Sans font from the nodejs printer demo

This commit is contained in:
Simon Hausmann 2021-02-18 15:40:16 +01:00 committed by Olivier Goffart
parent 1b870959e6
commit 2fdaa44d51
3 changed files with 25 additions and 4 deletions

View file

@ -233,5 +233,6 @@ module.exports = {
ArrayModel: ArrayModel,
Timer: {
singleShot: native.singleshot_timer,
}
},
register_font_from_path: native.register_font_from_path,
};