Xion Audio Player

PNG Fonts?

Feature Requests and Ideas

Postby Jikaru » May 29th, 2009, 1:10 pm

A way to implement custom fonts like cPro/Winamp. Since we have to include a TTF or OTF if we have a custom font, why not have Xion read a PNG the same way as winamp, it might even save space?

1.) Provide Xion with dimensions of char width and height on text layer name (in photoshop) and have a png that has each letter/number in the spaces designated.

Say you provide a layer "time fn(name) charw(x) charh(x)", Xion will look for and load the file "name.png" and render the letters/numbers based on the dimensions given from the png, which is how Winamp would do it if the png route was taken.

OR

2.) Have a layer that indicates it is the layer to read when needing a rendered font.

Say you provide a layer "time fn(layername) charw(x) charh(x)", Xion will look for a layer name and render the font accordingly, just like the png setup (could have both). This way will require that Xion needs to read the layer 'hidden'. also this requires more space to be utilized in the skin area as opposed to a separate png.

If you implement both ways this enables far more options to customization.

Even if you could do this just for the time I would be happy, or have seperate params for letters/numbers but that's just hassling you...we'll take it one step at a time.

What do you think?
User avatar
Jikaru
Xion Fan
 
Posts: 306
Joined: December 26th, 2007, 1:56 pm
Location: Orlando, FL, USA

Postby REDstyler » October 21st, 2009, 2:27 pm

Jikaru Wrote:A way to implement custom fonts like cPro/Winamp. Since we have to include a TTF or OTF if we have a custom font, why not have Xion read a PNG the same way as winamp, it might even save space?

1.) Provide Xion with dimensions of char width and height on text layer name (in photoshop) and have a png that has each letter/number in the spaces designated.

Say you provide a layer "time fn(name) charw(x) charh(x)", Xion will look for and load the file "name.png" and render the letters/numbers based on the dimensions given from the png, which is how Winamp would do it if the png route was taken.

OR

2.) Have a layer that indicates it is the layer to read when needing a rendered font.

Say you provide a layer "time fn(layername) charw(x) charh(x)", Xion will look for a layer name and render the font accordingly, just like the png setup (could have both). This way will require that Xion needs to read the layer 'hidden'. also this requires more space to be utilized in the skin area as opposed to a separate png.

If you implement both ways this enables far more options to customization.

Even if you could do this just for the time I would be happy, or have seperate params for letters/numbers but that's just hassling you...we'll take it one step at a time.

What do you think?


Hi Jikaru

This would become very difficult to implement in a skin, and it would take a lot of time. It is a good idea as some fonts do not display correctly in Xion.

As well as that - it would look a little clumsy when every character is spaced equally (monospace).

Regards
Michael
Michael Rockett
http://www.inniosoft.co.cc/devstation
rock0.deviantart.com
mikerockett.wincustomize.com
[email protected]
User avatar
REDstyler
Xion Supporter
 
Posts: 13
Joined: July 15th, 2007, 7:34 pm
Location: Johannesburg, South Africa

Postby SLoB » October 21st, 2009, 6:17 pm

This has already been asked before, doesn't anyone bother to read the past posts?
I think as far back as 2006 this was requested for a bitmap font similar to how Winamp does it.

Main problem with that is it will not support Unicode so it was never really implemented in Xion.
Even a fixed width command for non ttfs would be great and again already asked for ages ago.

Think we just have to face it, it's not going to happen!
User avatar
SLoB
Xion Junkie
 
Posts: 1340
Joined: September 11th, 2006, 9:21 pm
Location: UK

Postby Cliff Cawley » October 21st, 2009, 6:35 pm

SLoB Wrote:Think we just have to face it, it's not going to happen!


Haha there's no reason it can't happen. It might have limitations. I only have so much time though SLoB. I've been working on the Skinnable playlist and other features for ages now.

I've been concetrating on the large features and recently I've added the feedback button so that I can do features that you guys want, not what I think might be good.

Perhaps this is another one to add to that list. People have voted on existing requests, but haven't added too many of their own. There's no reason you can't. You'll get this feature eventually :)

Cliff :)
Cliff Cawley
Creator of Xion
r2 Studios
http://www.r2.com.au
http://xion.r2.com.au
User avatar
Cliff Cawley
Creator of Xion
 
Posts: 1955
Joined: September 3rd, 2006, 11:33 am
Location: Brisbane, Australia

Postby SLoB » October 21st, 2009, 7:39 pm

Oh yea I always understood it was a question of lack of time on it Cliff, just that it was already requested years ago. It's ok to bump old threads when it's relevant.

I think the new voting system is a better way to determine new functionality, possibly need to pimp it again on the next release so people are aware of upcoming functionality and to vote.
User avatar
SLoB
Xion Junkie
 
Posts: 1340
Joined: September 11th, 2006, 9:21 pm
Location: UK

Postby REDstyler » October 21st, 2009, 10:56 pm

I think it would be interesting to see how it would work. People could make fonts with shadows and other special effects. :)

@SLoB: I mostly agree with the Feedback panel. Maybe you should create an announcement at the top of the Feature Requests forum stating that users should have a look at the Feedback panel before using the forum (if at all).

:)
Michael Rockett
http://www.inniosoft.co.cc/devstation
rock0.deviantart.com
mikerockett.wincustomize.com
[email protected]
User avatar
REDstyler
Xion Supporter
 
Posts: 13
Joined: July 15th, 2007, 7:34 pm
Location: Johannesburg, South Africa

Postby SLoB » October 22nd, 2009, 1:58 am

Cliff will have to create a sticky in this section, I've not got access to that bit in this forum section.
We've been using bitmap fonts with Winamp for years though and they can look pretty cool, however they do interfere with unicode/special chars so there is the trade off.
User avatar
SLoB
Xion Junkie
 
Posts: 1340
Joined: September 11th, 2006, 9:21 pm
Location: UK

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron