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
| | |-+  new multifont patch! who's game enough to test?
« previous next »
  • Print
Pages: [1]

Author Topic: new multifont patch! who's game enough to test?  (Read 4359 times)

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
new multifont patch! who's game enough to test?
« on: February 10, 2010, 03:41:12 AM »
I've just uploaded my multifont patch which I'm hopeing is almost ready for commit... so who's game enough to test it out?

http://www.rockbox.org/tracker/task/10984#comment34486

post any bugs you find in the tracker, discussion can go here if any happens though

Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline psycho_maniac

  • Member
  • *
  • Posts: 814
    • MyWebPage
Re: new multifont patch! who's game enough to test?
« Reply #1 on: February 10, 2010, 05:05:02 AM »
JdGordon. Ive noticed you've been doing a lot with WPS's and graphics like that. keep this up bro! loving all of this.
Logged
Please SEARCH the wiki | Please read the Forum Guidelines | Please Read the Manual
I Own A Gigabeat F80

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: new multifont patch! who's game enough to test?
« Reply #2 on: February 10, 2010, 05:08:46 AM »
Hmmmmm,

This is probably a "Read the bloody code and find out" kind of situation, but how does one call a font in these cases?

I mean, I assume 0 is still "sysfont", and 1 is still "user-font" etc...
How are the other fonts defined?

I'm really sleepy, and may well kick myself when I read the reply in the morning, but at 11pm when I've been up for two days, my question still stands.
Good work btw Jd :D


[St.]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: new multifont patch! who's game enough to test?
« Reply #3 on: February 10, 2010, 12:29:24 PM »
%Fl|2|12-Nimbus| <- loads 12-Nimbus to the number 2 slot, 2 must be between 2 and 5 (inclusive). that number is then used in %V lines for the font.
yes sysfont is still 0 and ui font is still 1
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: new multifont patch! who's game enough to test?
« Reply #4 on: February 11, 2010, 03:30:48 AM »
[St.] provides proof of concept.



5 user fonts onscreen with his "Symmetry" theme for iPod Nano
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Biont

  • Member
  • *
  • Posts: 49
Re: new multifont patch! who's game enough to test?
« Reply #5 on: February 11, 2010, 10:50:16 AM »
I can't wait for this to go on SVN.
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: new multifont patch! who's game enough to test?
« Reply #6 on: February 13, 2010, 11:23:43 AM »
Me too! I have a theme thats perfect for this that I used a couple of years ago with a custom build. Unfortunately, I cant seem to test this patch because the vmware compiling keeps messing up (not the patchs fault).
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: new multifont patch! who's game enough to test?
« Reply #7 on: February 14, 2010, 01:53:19 AM »
this is now in svn... go nuts!
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: new multifont patch! who's game enough to test?
« Reply #8 on: February 14, 2010, 01:10:02 PM »
Downloaded rockbox source into vmware debian and compiled the simulator, but when I load the test.wps it keeps saying
Code: [Select]
ERR: Failed parsing on line 1 : ERR: Invalid parameter list for token 2: "backdrop image"
or
Code: [Select]
ERR: Failed parsing on line 2 : ERR: Invalid parameter list for token 2: "align left"

Is it not included in the source? Its version 24650.

Edit: test.wps is from the multifont patch page.

Edit 2: Nevermind. I redownload source and recompiled and got it to finally work after fiddling with the code.
« Last Edit: February 20, 2010, 08:55:28 AM by iPodFoo »
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline bk

  • Member
  • *
  • Posts: 266
Re: new multifont patch! who's game enough to test?
« Reply #9 on: February 16, 2010, 05:30:30 PM »
Hello,

I'm the author of the original multifont patch way back when (a few years ago before viewports). Just curious if this patch is based at all on my work. I don't have any problem if it is, it just would be gratifying to know that it finally was merged.

I had grandiose notions of rewriting the font subsystem entirely (I did some preliminary work with integrating freetype into rb source) because font.c and friends are so horrible to work with. Never got around to it though. Hats off to you for finishing the job.
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: new multifont patch! who's game enough to test?
« Reply #10 on: February 16, 2010, 05:34:25 PM »
I got a bit of inspiration for the font.c changes, but other than that no its all new.
Thanks for your initial work thuogh :)

we would still really like to have a single shared font buffer so if you are still keen....
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline MaW

  • Member
  • *
  • Posts: 11
Re: new multifont patch! who's game enough to test?
« Reply #11 on: February 17, 2010, 06:40:51 AM »
I cannot say how happy I was to discover that multifont is now in SVN. I've got a theme I designed a long time ago hanging around that only really works with multifont-as-was (visually it just doesn't look good without it), so I'm going to have to update that to the new way and give it an SBS and get back to enjoying my music.

Thank you, thank you, thank you.
Logged

Offline AsusFreak

  • Member
  • *
  • Posts: 64
Re: new multifont patch! who's game enough to test?
« Reply #12 on: March 03, 2010, 09:26:47 AM »
If you read this and try to make a new WPS you should have in mind that the syntax in the SVN is changed yesterday.

%Fl|2|12-Nimbus|  causes an error.

%Fl|2|12-Nimbus.fnt| is the right way to do it now.

Happy coding.
Logged

Offline knight4led

  • Member
  • *
  • Posts: 87
Re: new multifont patch! who's game enough to test?
« Reply #13 on: March 09, 2010, 09:28:24 PM »
Holy cow! This is the thing I have been waiting for since the day I made my first theme.

Its now time to drag those dusty old themes out, learn all the new tags and make something of them again.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  new multifont patch! who's game enough to test?
 

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

Page created in 0.123 seconds with 14 queries.