Hi @maucejo ,
If I was you, I would try both lines of code independently.
Font
If you comment the first line of code, to leave only the one changing the font, that should work (assuming you have the font named “Lato” available for the compiler to use.
Width
Regarding the width: 90%, it triggers the following:
assertion failed: field ‘width’ of element ‘diagram’: expected length, found ratio
Which is what is expected for the width parameter as it can only accept a length (and not a ratio). In other words, it works as designed. See diagram − Lilaq.