Orientation & Size change LVGL/MicroPython simulator v8.1

Title says it all…
Online sample please.

Here’s how to change the size:


For the orientation (although this would be inconvenient to operate in the simulator) add this:

disp = lv.disp_get_default()
disp.driver.sw_rotate = 1

embeddedt… you always come thru !!!
So I did not need to rotate, I just set width to 600 and height to 800… perfect.

from display_driver_utils import driver
import lvgl as lv
width = 600
height = 800
drv = driver(width, height)

I know I’m pushing it with this question but…
can custom fonts be use with the simulator ??