chore: raise QEMU memory and extend the FontDemo sample
Give the guest 512 MiB so the full Noto Sans SC face and the fonttools buffers fit, and render a mixed Chinese/Latin string in FontDemo.
This commit is contained in:
1 parent
5d9df61de0
commit
807c4207c0
2 files changed
+2
-2
No files matched your search
@@ -41,7 +41,7 @@ export def _start() -> int:
|
||||
font: fonttools.Font* = fonttools.load(FONT_PATH)
|
||||
if font is not None:
|
||||
fonttools.draw_text(font, fb, CANVAS_W, CANVAS_H,
|
||||
TEXT_X, TEXT_BASELINE, "你好,世界", TEXT_SIZE, uint32(FG_COLOR))
|
||||
TEXT_X, TEXT_BASELINE, "你好,世界,Hello,World", TEXT_SIZE, uint32(FG_COLOR))
|
||||
|
||||
root.mainloop()
|
||||
process.exit(0)
|
||||
|
||||
Reference in new issue
Block a user