commit | b828ed7d79295cfebcb0f958f26a33664fae045c | [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 | 648a4991d0713af656a2fa50ec8e708c2beb044e [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>