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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Where to get AA fonts for new Rockbox 3.8
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Where to get AA fonts for new Rockbox 3.8  (Read 5751 times)

Offline gbl08ma

  • Member
  • *
  • Posts: 249
    • My blog
Re: Where to get AA fonts for new Rockbox 3.8
« Reply #15 on: April 11, 2011, 01:23:09 PM »
I just added DroidSans to the list of available AA fonts for download on my website.
All I did was taking [St.]'s ZIP file, repackaged it (added a .rockbox folder at the top to allow fool-proof-install-by-unzipping-at-root-of-player :)), and added font information according to the one found on http://www.google.com/webfonts/family?family=Droid+Sans&subset=latin

CRC failed in one of the files (can't remember which exactly, I think it was one higher than 40px) while unzipping using Gnome's default archive manager, I tried with Ark (KDE default) and it seemed to unzip without errors (but it might only have silenced the error).
Feedback is, again, nice to have. You can post a reply at my site if you feel like you're creating too much offtopic at this forum, but remember that I only repackaged things, [St.] did the conversion.
Logged
http://gbl08ma.com | http://i.tny.im

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Where to get AA fonts for new Rockbox 3.8
« Reply #16 on: April 11, 2011, 04:38:23 PM »
Quote from: Progweed on April 11, 2011, 11:19:28 AM
And btw, I compiled convttf for users unable to do so themselves:

Nice to see my work to make convttf build with VS was of some use :) I've created a binary of convttf build with MinGW (the main advantage is that this doesn't require msvcrt90.dll. Most computers should have this but it's not shipped at least with Windows XP): http://www.alice-dsl.net/dominik.riebeling/rockbox/convttf.zip

I've also noticed something interesting: when converting a font with your binary the result looks too narrow. The output created with convttf binaries I built myself (MSVC2005 and MinGW) looks more correct -- see the screenshot from the e200 sim. Did anyone else also notice such a difference? I've used DejaVuSans.ttf for this. Any idea what's the difference? Which version of freetype are you using?

* convttf-output-comparison.jpg (18.83 kB, 608x142 - viewed 280 times.)
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Progweed

  • Member
  • *
  • Posts: 67
Re: Where to get AA fonts for new Rockbox 3.8
« Reply #17 on: April 11, 2011, 05:04:59 PM »
Quote from: bluebrother on April 11, 2011, 04:38:23 PM
Nice to see my work to make convttf build with VS was of some use :)
Hehe… Thanks for your effort, I appreciate it!  ;)

I used the latest FreeType 2.4.4 and I have no idea where that difference comes from. I noticed several fonts turning out too narrow. But others (e.g. Calibri Bold) look simply amazing, esp. on real hardware.

Logged

Offline gbl08ma

  • Member
  • *
  • Posts: 249
    • My blog
Re: Where to get AA fonts for new Rockbox 3.8
« Reply #18 on: April 11, 2011, 06:28:21 PM »
Are you sure you didn't forget to add the -c parameter?
-c is, IIRC, the parameter that defines the space between characters. And I'd say the differences between these fonts have to do with in-between character space.
-c1 for smaller font sizes, -c2 for bigger sizes, -c3 for even bigger sizes, etc.
Logged
http://gbl08ma.com | http://i.tny.im

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Where to get AA fonts for new Rockbox 3.8
« Reply #19 on: April 12, 2011, 02:24:33 AM »
Quote from: Progweed on April 11, 2011, 05:04:59 PM
I used the latest FreeType 2.4.4 and I have no idea where that difference comes from. I noticed several fonts turning out too narrow. But others (e.g. Calibri Bold) look simply amazing, esp. on real hardware.

Hmm, strange. I thought I used the latest freetype as well but it's in fact 2.3.12 -- seems I messed things up and used the latest 2.3. Will try with 2.4.4 later.

Quote from: gbl08ma on April 11, 2011, 06:28:21 PM
Are you sure you didn't forget to add the -c parameter?

Why would I need to use that? I can't specify additional spacing for applications using freetype to render fonts, and I expect that to look "good" as well. Therefore I expect not to need to pass any parameters to convttf to make the font look usable. Besides, I used all three variants of convttf the same way and I would expect them to give the same output, at least from the point of what I can recognize when looking at the rendering.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline gbl08ma

  • Member
  • *
  • Posts: 249
    • My blog
Re: Where to get AA fonts for new Rockbox 3.8
« Reply #20 on: April 12, 2011, 08:54:13 AM »
bluebrother: I always used the -c1, -c2, etc. parameter as on the revision 29523 http://svn.rockbox.org/viewvc.cgi?view=rev&revision=29523 the log says that "the parameter that works best is -c1 or -c2 (2 for larger font sizes)".

I assumed that -c0 is no spacing between characters, -c1 is one pixel spacing, -c2 is two pixel spacing, etc.
Logged
http://gbl08ma.com | http://i.tny.im

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Where to get AA fonts for new Rockbox 3.8
 

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

Page created in 0.075 seconds with 14 queries.