commit | 5caf1257411e73d1c9bc44e3cb5e763cecf8fe95 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Jun 01 10:22:46 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Fri Jul 14 12:54:51 2023 -0400 |
tree | 8558905b0d6c53146302e7d9c459c1b81b22728b | |
parent | a73a8b80b9a43c74704bfba10c057d200df0b357 [diff] |
console: Allow measuring the bounding box of text For laying out text accurately it is necessary to know the width and height of the text. Add a measure() method to the console API, so this can be supported. Add an implementation for truetype and a base implementation for the normal console. Signed-off-by: Simon Glass <sjg@chromium.org>