summaryrefslogtreecommitdiff
path: root/drivers/video/stb_truetype.h
AgeCommit message (Collapse)Author
2016-02-22video: freetype: Fix a memory leak with a bad parameterSimon Glass
Make sure to free memory used when the scale facture is incorrect. Reported-by: Coverity (CID: 24068) Signed-off-by: Simon Glass <sjg@chromium.org>
2016-01-30video: Add stb TrueType font rendererSimon Glass
This is a header file which provides a fairly light-weight TrueType rendering implementation. It is pulled from http://nothings.org/. The code style does not comply with U-Boot but I think it is best to leave alone to permit the source to be synced later if needed. The only change is to fix a reference to fabs() which should route through a macro to allow U-Boot to provide its own version. Signed-off-by: Simon Glass <sjg@chromium.org>