Support and General Use > Theming and Appearance Customization

Using anti-aliased fonts

(1/2) > >>

Carson Dyle:
What do I need to know about using anti-aliased fonts in 3.9 in a custom theme? Are any/all of the fonts included in the 3.9 fonts package anti-aliased?

[Saint]:

--- Quote from: Carson Dyle on July 12, 2011, 12:43:11 AM ---What do I need to know about using anti-aliased fonts in 3.9 in a custom theme?

--- End quote ---

Absolutely nothing...the syntax is exactly the same.


--- Quote from: Carson Dyle on July 12, 2011, 12:43:11 AM ---Are any/all of the fonts included in the 3.9 fonts package anti-aliased?

--- End quote ---

No, they are not.

For now you must make your own, which really isn't hard at all. It requires checking out the Rockbox source code (the only part you actually need is /rockbox/tools) and compiling the command-line tool convttf.

Alternatively...

I have an anti-aliased font package that I use for my RaaA themes in which the fonts range from 12px to 50px, in 2px increments (12, 14, 16, ... etc.), and has both bold and regular versions of each size. The font used for this package is "DroidSans(-Bold).ttf" from Google.

Link: DroidSans [-Bold].zip



[St.]

Carson Dyle:
He, thanks for that. I'm looking at them in the 3.9 Fuze v2 simulator under Settings > Theme Settings > Font and all I get is gibberish.

Is there a convttf exe compiled for Windows available for download anywhere?

Post Merge: July 12, 2011, 01:41:26 AMI found a compiled exe of convttf and tried it on a couple of ttf font files from my Windows XP computer. I see the same gibberish in the simulator.

Ideas?

[Saint]:
Have you actually tried it on the device?
While the simulators do *try* to replicate the physical device, it may well be failing in this regard.

Additionally, are the "gibberish" fonts your conversions, or mine, or both?
I can verify that my fonts do indeed work.

If it is just the fonts you yourself have converted, would you mind posting the syntax that you used to convert them so that I might review it please?


[St.]

bluebrother:

--- Quote from: Carson Dyle on July 12, 2011, 01:13:12 AM ---I found a compiled exe of convttf and tried it on a couple of ttf font files from my Windows XP computer. I see the same gibberish in the simulator.

Ideas?

--- End quote ---

Broken convttf binary? Where did you get that binary from? I did some fixes some time ago to make it work when compiled natively on Windows (prior to that only Cygwin worked on Windows). There might be broken binaries around (it did compile before, just not produce proper output files).

Navigation

[0] Message Index

[#] Next page

Go to full version