Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: Reece on December 30, 2012, 09:18:32 PM

Title: [SOLVED] Additional Fonts %f1(...) not working.
Post by: Reece on December 30, 2012, 09:18:32 PM
       I have been themeing my Sansa Fuze V2. I have been taking many different themes, and graphics, even my own stuff to make a cool custom theme. I have gotten allot down pat, and have figured out most of my problems on my own. I then decided to try out additional fonts, because in some UIs the font is either too big or too small. In the top of my WPS screen I have a UI displaying The Artist and album art.
Here is the code:
Code: [Select]
# Artist / Album
%V(4,16,212,16,1)%Vf(000000)
%s%al%ia - %id

       I decided to change the font to Nimbus, size 13.
Code: [Select]
# Artist / album
%V(4,16,212,16,2)%Vf(000000)
%f1(2,13-nimbus.fnt,100)
%s%al%ia - %id
[/s]
        I added %f1(2,13-nimbus.fnt,100)
And changed the font id in the "%V" line to 2
and the %F1 ID number to 2 also.
But when I apply it, my WPS screen is set to the default view.
Am I missing something?
[/s]

First of all I miss read the L as the #1, secondly I found out, by tinkering about, that the tags are case sensitive! So problem solved and fonts are running smoothly.
Title: Re: Additional Fonts %f1(...) not working.
Post by: gevaerts on December 31, 2012, 08:55:49 AM
Are you trying to use the %Fl() tag? If so, that's *not* the %fl() tag or the %F1() tag.
Title: Re: Additional Fonts %f1(...) not working.
Post by: Reece on December 31, 2012, 01:45:27 PM
Oh. I miss read the manual. I thought the l was the #1. Lol.
So if I change the #1 to the letter l it should be fixed?
Title: [Solved!] Additional Fonts %f1(...) not working.
Post by: Reece on January 01, 2013, 04:24:36 AM
[SOLVED!]
I found out that the "Fl" and such tags are case sensitive! So all I needed to do was to capitalize certain tags, and it worked!
Title: Re: [SOLVED] Additional Fonts %f1(...) not working.
Post by: AlexP on January 02, 2013, 03:03:09 PM
Yes, they are all case sensitive.