sandbox: Enable Ubuntu fonts

Bring the Ubuntu fonts into the build.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-10-16 12:18:48 +01:00
parent b1bb969db3
commit b77155a47b
2 changed files with 7 additions and 0 deletions

View File

@@ -335,6 +335,8 @@ CONFIG_VIDEO_COPY=y
CONFIG_CONSOLE_ROTATION=y
CONFIG_CONSOLE_TRUETYPE=y
CONFIG_CONSOLE_TRUETYPE_CANTORAONE=y
CONFIG_CONSOLE_TRUETYPE_UBUNTU_LIGHT=y
CONFIG_CONSOLE_TRUETYPE_UBUNTU_BOLD=y
CONFIG_I2C_EDID=y
CONFIG_VIDEO_SANDBOX_SDL=y
CONFIG_VIDEO_DSI_HOST_SANDBOX=y

View File

@@ -36,6 +36,11 @@ static int font_test_base(struct unit_test_state *uts)
ut_assert_nextline("ankacoder_c75_r");
if (IS_ENABLED(CONFIG_CONSOLE_TRUETYPE_CANTORAONE))
ut_assert_nextline("cantoraone_regular");
if (IS_ENABLED(CONFIG_CONSOLE_TRUETYPE_UBUNTU_LIGHT))
ut_assert_nextline("ubuntu_light");
if (IS_ENABLED(CONFIG_CONSOLE_TRUETYPE_UBUNTU_BOLD))
ut_assert_nextline("ubuntu_bold");
ut_assert_console_end();
ut_assertok(vidconsole_get_font_size(dev, &name, &size));