Support and General Use > Theming and Appearance Customization

Where should I place fonts that only display icons/graphics?

<< < (2/2)

Dook:

--- Quote from: bahus on May 16, 2025, 04:32:49 AM ---
--- Quote from: Dook on May 15, 2025, 05:13:22 PM ---Just checked this, rockbox refuses to load the theme unless fonts end in the .fnt extensions.

--- End quote ---
Will it work with  ".fnticons"? If I'm not mistaken it should work with any extension that starts with .fnt:
https://github.com/Rockbox/rockbox/blob/944026f2b752cb7b6934c399954d67e1f75bb2ac/apps/gui/skin_engine/skin_parser.c#L490C1-L494C40



--- End quote ---

You're right! That works, and as you theorized it doesn't show up in the menu too. Great to know you can do this.


--- Quote from: iPodVT on May 15, 2025, 07:17:15 PM ---Given their unconventional nature, it seems more logical to me to put those specialized non-text .fnt files in the theme's folder within the WPS directory rather than in the Fonts directory.  Also, giving them filenames that are as descriptive as possible, as well as providing an accompanying README file, would help to make their intended purpose and use clear.

Wherever they end up, I'm intrigued and eager to see what they look like.

--- End quote ---

Great points on the descriptive filenames and README. It might be a good idea to put a reference table in it to communicate the contents of each file as well.

Navigation

[0] Message Index

[*] Previous page

Go to full version