/* DO NOT EDIT THIS FILE */ /* This file is autogenerated by the text-database code generator */ #include #include #include touchgfx::Font* ApplicationFontProvider::getFont(touchgfx::FontId typography) { switch (typography) { case Typography::DEFAULT: // verdana_20_4bpp return const_cast(TypedTextDatabase::getFonts()[0]); case Typography::CHINAT_LARGE: // CHINN____30_4bpp return const_cast(TypedTextDatabase::getFonts()[1]); case Typography::CHINAT_SMALL: // CHINN____20_4bpp return const_cast(TypedTextDatabase::getFonts()[2]); case Typography::CHINAT_HUGE: // CHINN____40_4bpp return const_cast(TypedTextDatabase::getFonts()[3]); case Typography::NUMBERS: // lucon_TTF_50_4bpp return const_cast(TypedTextDatabase::getFonts()[4]); case Typography::DEFAULT_BOLD: // verdanab_20_4bpp return const_cast(TypedTextDatabase::getFonts()[5]); case Typography::NUMBERS_SMALLER: // lucon_TTF_33_4bpp return const_cast(TypedTextDatabase::getFonts()[6]); case Typography::NUMBERS_SMALL: // lucon_TTF_20_4bpp return const_cast(TypedTextDatabase::getFonts()[7]); case Typography::NUMBERS_HUGE: // lucon_TTF_80_4bpp return const_cast(TypedTextDatabase::getFonts()[8]); default: return 0; } }