From e8c88de9746aee6cef89981ef0f679266c9a0cca Mon Sep 17 00:00:00 2001
From: patacongo
handle
- nxf_getfonthandle()
.
+ nxf_getfonthandle()
.
@@ -2465,7 +2465,7 @@ FAR const struct nx_fontbitmap_s *nxf_getbitmap(NXHANDLE handle, uint16_t ch);
ch
handle
- nxf_getfonthandle()
.
+ nxf_getfonthandle()
.
@@ -2882,7 +2882,8 @@ endif
Finally, we need to extend the logic that does the run-time font lookups so that can find our new font.
- The lookup function is NXHANDLE nxf_getfonthandle(enum nx_fontid_e fontid)
.
+ The lookup function is NXHANDLE nxf_getfonthandle(enum nx_fontid_e fontid)
.
+ Note that the lookup is based on the font ID that was defined in step 4.
The new font information needs to be added to data structures used by that function: