summaryrefslogtreecommitdiffstats
path: root/drivers/video/stb_truetype.h
Commit message (Collapse)AuthorAgeFilesLines
* video: freetype: Fix a memory leak with a bad parameterSimon Glass2016-02-221-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>
* video: Add stb TrueType font rendererSimon Glass2016-01-301-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>
OpenPOWER on IntegriCloud