BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Author Topic: Font-Cache  (Read 8195 times)

Rudolph

  • Sr. Member
  • ****
  • Posts: 391
    • View Profile
Font-Cache
« on: October 05, 2021, 07:06:14 PM »

There is only a single font-cache, correct?

I am asking because the documentation for CMD_FONTCACHE does not explicitly state that there is only one font-cache.
cmd_fontache(20, 0xa0000, 0x10000);
cmd_fontache(21, 0xb0000, 0x10000);
cmd_fontache(22, 0xc0000, 0x10000);

This could be valid and would perfectly make sense given the bandwidth for the flash is rather limited.

However, then there also is CMD_FONTCACHEQUERY and the API for this one is:
C prototype: void cmd_fontcachequery( uint32_t total, int32_t used );

Which btw. is not valid c-code for the intended functionality as passing these parameters by value would not do much.

Anyways, since there is no parameter to identify a font-cache this probably means that there is only one.
Logged