Hi Måns, On 14 January 2016 at 18:50, Måns Rullgård <m...@mansr.com> wrote: > Simon Glass <s...@chromium.org> writes: > >> 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. > > This seems to be using floating-point quite a bit. Unless I missed a > recent change, that's not allowed in u-boot.
See the cover letter. It works OK in sandbox and I've tested it on rockchip and exynos also. Is there a fixed-point implementation somewhere? I remember Acorn had one years ago [1] but I believe it was written in ARM assembler. Perhaps there is another one somewhere. The floating point is limited to the one driver that uses this header, so it doesn't bleed into the build system, etc. and is not built at all unless that driver is enabled. Regards, Simon [1] e.g. http://www.tofla.iconbar.com/tofla/gfx/fnt01/index.htm _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot