From 76ee903d84d5b477016fb6ed6bdee1a21e237903 Mon Sep 17 00:00:00 2001 From: Vojtech Bocek Date: Sun, 7 Sep 2014 15:01:56 +0200 Subject: Add support for TrueType fonts * Keeps original font system in place * Uses the same API as original font system: - You can render only one line at a time - You can only use one font and color for one gr_text* call * Caches all rendered text, with a string cache limited to 400 entries, then it trucates to 250, which results in memory usage hovering around 5-10MB Change-Id: I36107b9dcd8d57bae4486fce8b8f64e49ef3d906 Signed-off-by: Vojtech Bocek --- .../common/res/fonts/RobotoCondensed-Regular.ttf | Bin 0 -> 125332 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 gui/devices/common/res/fonts/RobotoCondensed-Regular.ttf (limited to 'gui/devices/common/res/fonts') diff --git a/gui/devices/common/res/fonts/RobotoCondensed-Regular.ttf b/gui/devices/common/res/fonts/RobotoCondensed-Regular.ttf new file mode 100644 index 000000000..b9fc49c95 Binary files /dev/null and b/gui/devices/common/res/fonts/RobotoCondensed-Regular.ttf differ -- cgit v1.2.3