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
| | |-+  Font system discussion
« previous next »
  • Print
Pages: [1] 2

Author Topic: Font system discussion  (Read 9531 times)

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Font system discussion
« on: April 24, 2008, 06:42:36 PM »
there's this proposal, but I think it wasn't discussed much.. http://www.rockbox.org/twiki/bin/view/Main/FontSystemProposal
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Font system discussion
« Reply #1 on: April 24, 2008, 06:58:06 PM »
There's something related to this happening here:

http://rbthemes.com/fonts/

though I can't find a specific "anti-alias font" patch mentionned. 
Logged

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Font system discussion
« Reply #2 on: April 24, 2008, 07:02:37 PM »
neither can I find one on the tracker
Logged

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Font system discussion
« Reply #3 on: April 26, 2008, 05:45:44 AM »
Quote from: Llorean on April 24, 2008, 07:23:51 PM
Well, antialiasing can be done in advance and simply use pre-rendered translucency. If fonts moved from 1bpp to 2bpp you could then use the two "gray" shades as levels of translucency and have some very basic antialiasing. If you increased the depth further you'd get more levels of translucency. Limited (all existing BDF fonts wouldn't be antialiased, but my best guess is that's more or less waht's being done in that Fonts link.

another thing that would really improve looks and readability are semi-translucent drop shadows (like on windows or osx desktops). a white font with a black drop shadow can be read on any kind of background picture.
« Last Edit: April 26, 2008, 06:25:53 AM by ZincAlloy »
Logged

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Font system discussion
« Reply #4 on: April 26, 2008, 06:04:38 AM »
Quote from: ZincAlloy on April 26, 2008, 05:45:44 AM
Quote from: Llorean on April 24, 2008, 07:23:51 PM
Well, antialiasing can be done in advance and simply use pre-rendered translucency. If fonts moved from 1bpp to 2bpp you could then use the two "gray" shades as levels of translucency and have some very basic antialiasing. If you increased the depth further you'd get more levels of translucency. Limited (all existing BDF fonts wouldn't be antialiased, but my best guess is that's more or less waht's being done in that Fonts link.

another thing that would really improve looks and readability are semi-translucent drop shadows (like on windows or osx desktops). a white font with a black drop shadow can be read on any kind of background picture.

That would be pretty nice, but I think it would take a decent amount of work to get it working, and to a point where it's not lagging the interface while the fonts are being drawn.  Also, both of these would require getting translucency into Rockbox, something I'm fairly certain isn't there currently.

By the way, has anyone else noticed how off-topic this thread has gotten..?
« Last Edit: April 26, 2008, 06:06:54 AM by karashata »
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Font system discussion
« Reply #5 on: April 26, 2008, 06:22:42 AM »
Quote from: karashata on April 26, 2008, 06:04:38 AM

That would be pretty nice, but I think it would take a decent amount of work to get it working, and to a point where it's not lagging the interface while the fonts are being drawn.  Also, both of these would require getting translucency into Rockbox, something I'm fairly certain isn't there currently.

By the way, has anyone else noticed how off-topic this thread has gotten..?

Yes, it sure would make it even harder to implement translucency smoothly, but I think it should be considered if the font system gets an overhaul anyway.

and yes.. this is pretty off-topic. could a moderator split this thread into two, please?
Logged

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Font system discussion
« Reply #6 on: April 26, 2008, 06:36:14 AM »
Just to get another word in...

What would be nice, in my opinion, would be if the font system could be made to use .ttf and .otf fonts rather than a specific format.  I suspect, though, that *that* particular wish may be difficult to implement well...

...I have never wished more that I knew how to code better than I do...  That would actually be a fun challange, to impliment .ttf and .otf fonts in a reasonable system that makes choosing a font and a size relatively painless...
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Font system discussion
« Reply #7 on: April 26, 2008, 04:16:53 PM »
I split the topic as neatly as I could.  Hopefully the two discussions still make sense.




<---------------  1337 posts
           ;D
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Font system discussion
« Reply #8 on: April 26, 2008, 04:56:34 PM »
Nice one, Chronon!

I think everything here makes enough sense, and I'm sure once discussion picks up, what little lack of sense someone might have shouldn't be an issue anymore anyway.
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Re: Font system discussion
« Reply #9 on: April 26, 2008, 06:15:57 PM »
thanks a lot, Chronon!
Logged

Offline chrisjs169

  • Member
  • *
  • Posts: 95
Re: Font system discussion
« Reply #10 on: April 27, 2008, 12:23:55 PM »
Quote from: MarcGuay on April 24, 2008, 06:58:06 PM
There's something related to this happening here:

http://rbthemes.com/fonts/

though I can't find a specific "anti-alias font" patch mentionned. 

The reason you can't find the AA font patch is because it isn't on the tracker.  It's used in mine and kugel's custom builds (for the e200 series) since j0tt gave us permission, but there seems to be a possible issue with whether or not it's completely GPL'd (from what I understand from the logs) - http://www.rockbox.org/irc/log-20080331#02:09:31

Mainly:
02:17:59   saratoga   assuming he was aware you were using GPL code, and he gave you permission, you're probably ok
02:18:07   kugel   http://sse2.net/rb/
02:18:07   saratoga   but we certainly can't do that for SVN
02:18:22   saratoga   we need to be black and white

I talked to j0tt a while back, and while I seem to remember him giving me permission to add it to the tracker, I don't have a copy of that log.  In addition, if for some reason it wasn't completely GPL'd, I don't want to cause any problems by putting it on the tracker.
Logged

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: Font system discussion
« Reply #11 on: April 27, 2008, 12:41:45 PM »
I'd assume it is GPL'd, since the font converter he made for it (you can find it on that page too) is certainly GPL (i.e. it stands in the header).

€dit: I see, the site isn't available anymore. I have copies of the files though, and chrisjs too.
« Last Edit: April 27, 2008, 01:07:54 PM by kugel. »
Logged
 

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Font system discussion
« Reply #12 on: April 27, 2008, 08:20:00 PM »
If it's not GPLed, or 100% GPL compatible, it's illegal (and violating his copyright and our license) for you to be using it in your builds. Period.
« Last Edit: April 27, 2008, 08:27:31 PM by Llorean »
Logged

Offline scorche

  • Administrator
  • Member
  • *
  • Posts: 666
Re: Font system discussion
« Reply #13 on: May 02, 2008, 03:50:05 AM »
As a note, I was able to speak with jott who confirmed that his anti-aliasing code is placed under the GPL v2 or later license.
Logged

Offline NicolasP

  • Developer
  • Member
  • *
  • Posts: 195
Re: Font system discussion
« Reply #14 on: May 03, 2008, 06:58:51 PM »
Could someone who has the patch maybe add it to the tracker?
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Font system discussion
 

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

Page created in 0.125 seconds with 15 queries.