aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/stb_truetype.h
AgeCommit message (Collapse)AuthorFilesLines
2018-03-19video: stb_truetype: simplify expressionHeinrich Schuchardt1-1/+1
Eliminate (x2 - x2) which is always zero. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2016-02-22video: freetype: Fix a memory leak with a bad parameterSimon Glass1-1/+4
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 Glass1-0/+3240
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>