Skip to content
Commit b828ed7d authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 648a4991
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment