Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  possible to load 2 fonts with viewports?
« previous next »
  • Print
Pages: [1]

Author Topic: possible to load 2 fonts with viewports?  (Read 2303 times)

Offline sevenwords

  • Member
  • *
  • Posts: 25
    • j-dubs.net
possible to load 2 fonts with viewports?
« on: April 14, 2009, 08:06:37 PM »
I tried searching on the forums and reading on http://www.rockbox.org/twiki/bin/view/Main/CustomWPS but couldn't find the answer I was looking for and was hoping someone could answer it for me.  I just want to know if it's possible to call up 2 different fonts on the WPS screen?  Basically, what I want it to do is have 1 font for artist info, and a different font for next track info.  From my reading is seems that you can only load a user font and a system font but what if I wanted to load 2 fonts from the extra font pack?  Is that possible without a custom build?
Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: possible to load 2 fonts with viewports?
« Reply #1 on: April 14, 2009, 08:10:58 PM »
No
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline sevenwords

  • Member
  • *
  • Posts: 25
    • j-dubs.net
Re: possible to load 2 fonts with viewports?
« Reply #2 on: April 14, 2009, 08:14:46 PM »
what about different font colors then?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: possible to load 2 fonts with viewports?
« Reply #3 on: April 14, 2009, 10:31:04 PM »
Yes.   :)
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: possible to load 2 fonts with viewports?
« Reply #4 on: April 17, 2009, 08:04:54 AM »
Then how come one of the values for the %V is for a font? As stated here: http://www.rockbox.org/twiki/bin/view/Main/CustomWPS#Viewports

Is it just a placeholder for when it is implemented?
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: possible to load 2 fonts with viewports?
« Reply #5 on: April 17, 2009, 09:00:52 AM »
Quote
Font is a number - 0 is the built-in system font, 1 is the user-selected font

This quote is from the mentioned page. Is this somehow unclear?
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: possible to load 2 fonts with viewports?
« Reply #6 on: April 17, 2009, 09:33:05 AM »
Should say thats all its limited to then. I assumed it would increment.
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline Febs

  • Member
  • *
  • Posts: 2701
Re: possible to load 2 fonts with viewports?
« Reply #7 on: April 17, 2009, 09:41:42 AM »
It seems quite clear to me, since the description that Llorean quoted only specifies two permitted values, one of which is the system font.  But it is a wiki, so if you feel it can be further clarified, you are welcome to change it.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way
Please do not send me support questions via PM.

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: possible to load 2 fonts with viewports?
« Reply #8 on: April 17, 2009, 10:30:10 AM »
Quote from: iPodFoo on April 17, 2009, 08:04:54 AM
Then how come one of the values for the %V is for a font? As stated here: http://www.rockbox.org/twiki/bin/view/Main/CustomWPS#Viewports

Is it just a placeholder for when it is implemented?

Yes, it is mainly a placeholder, so that when support for multiple user-loaded fonts is implemented, backwards compatibility with older themes can be maintained.

But when I implemented it, I thought it could be useful to give access to the system font, for things like numerical data (the system font is limited in terms of character sets, so isn't suited as a general-purpose text font).
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: possible to load 2 fonts with viewports?
« Reply #9 on: April 17, 2009, 10:58:05 AM »
Excellent! Can't wait till its fully implemented.

I have a lot of people waiting patiently for one of my themes that needs updating to the new rockbox build. Ive been out of the loop for a few years and am glad some things dont need to be patched anymore (like multi coloured fonts and album art!).

Keep up the great work guys.  8)
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline sevenwords

  • Member
  • *
  • Posts: 25
    • j-dubs.net
Re: possible to load 2 fonts with viewports?
« Reply #10 on: April 17, 2009, 05:47:05 PM »
Yes, thank you all for the great work and thank you for the answers to my questions.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  possible to load 2 fonts with viewports?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.11 seconds with 14 queries.