I believe balala and Silver are recommending you to use the hardcoded @Resources\Fonts
because of this single detail on the @Resources page.
TrueType (.ttf) or OpenType (.otf) fonts in the @Resources\Fonts folder are automatically loaded and can be used with the FontFace option in string meters.
In case of any errors, the user dosen't need to install the fonts in order to get them to work for the end user, additionally, if you load a skin that has fonts inside @Resources\Fonts
, you'll notice the list of Fonts in that folder is recognized and printed in the Rainmeter Log (and those names are also what Rainmeter will recognize with FontFace
too, prety cool). After that, just doing FontFace=Roboto Regular
should work, without adding any prefix or sufix to the options' value.
The folder exists entirely to create less hassle as it's programmed to work in your favor.
Also @Resources kinda exists so you don't need to create an extra Assets folder, it is already understood by it's existence, @Resources
stores resources you need like files/assets.
Popular big projects (in file size and complexity) like JaxCore's whole suite
and Cardi's Droptop just use @Resources\Fonts
, for comparison.
That being said, if you wanna continue with whatever you have, you can use the depracated LocalFont
and you can just do
Code: Select all
since it still works.
This dosen't apply for cursors, you don't have LocalCursor