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
| | |-+  Does anybody know how to change the built-in system font?
« previous next »
  • Print
Pages: [1]

Author Topic: Does anybody know how to change the built-in system font?  (Read 2420 times)

Offline kyleji

  • Member
  • *
  • Posts: 5
Does anybody know how to change the built-in system font?
« on: December 22, 2009, 09:46:10 PM »
 ;D
The default font is too small for asia language display.
I can set some Viewport to use user fonts, but some Viewport needs to be displayed by default font.
Can I replace the built-in system font with other font? Or can I set mutilple user fonts?
Sorry for my poor English  :-[ :-[
Wish you can understand me.....
Thanks,
Kyle
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Does anybody know how to change the built-in system font?
« Reply #1 on: December 23, 2009, 04:42:50 AM »
You can't replace the sysfont except by recompiling Rockbox from source. No idea if you would run into additional issues here, but I guess so.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Does anybody know how to change the built-in system font?
« Reply #2 on: December 23, 2009, 06:09:18 PM »
Kyle,

I'm sure you probably *could* replace the font in the source and then recompile it.

But to the best of my knowledge you could only change the system font style, and not the font size (with any degree of ease that is...)

Not at least without first finding and changing everything that expects the font to be in 8pt....and I'm not sure how hard/easy this would be to do.

Even if you were to change which font was called in the code (either the system font or a user defined font), you would have to increase the size of a great many number of viewports to allow for the increase in font size otherwise you'd get cutoff/incorrect display of the text.


Feel free to correct me if I'm wrong please anyone...as I wouldn't mind replacing the System font with a 12pt font myself but put it in the "too hard" basket for the above reasons.


Sincerely,
[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: Does anybody know how to change the built-in system font?
« Reply #3 on: December 23, 2009, 09:44:15 PM »
I dont know if anyone has ever actually tried replacing the sysfont... it shuold be possible and pretty simple, but if you use a size that isnt 8pt fixed width some screen will break and maybe crash.
Logged


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

Offline kyleji

  • Member
  • *
  • Posts: 5
Re: Does anybody know how to change the built-in system font?
« Reply #4 on: December 23, 2009, 11:22:06 PM »
Thank you very much!
So it's too hard to me to replace the system font.

I found some themes which display are acceptable with a 14pt font size. I'm using one of these themes now.

Thanks,
Kyle
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Does anybody know how to change the built-in system font?
« Reply #5 on: December 24, 2009, 12:25:01 AM »
Well, it's not too hard...it's actually fairly easy.

However after a small amount of tinkering I can verify that:
Quote from: JdGordon on December 23, 2009, 09:44:15 PM
...it should be possible and pretty simple, but if you use a size that isn't 8pt fixed width some screen will break and maybe crash.
Is indeed quite correct.

Info screens such as "Database Update progress", "Shutting Down" etc. just looked wrong put simply, the text exceeds the viewport.

If one were to know where these viewports are called for drawing it would almost certainly be possible to increase their dimensions, but you would have to download the Rockbox Source from SVN and compile your own build unless anyone else is interested enough in doing this and does it themselves, perhaps even upload a patch for it....
But failing that, building it yourself using CygWin, Linux or VMware is probably the fastest option.
And a chance to learn something about what makes Rockbox tick.

If you *REALLY* want to do it, it can be done.
There are probably quite a few features RockBox has currently which at one stage were thought to be "too hard" to implement, maybe even impossible but it still continues to grow to be the most feature-packed DAP firmware in existence to date (no exaggeration I'm sure).

I'm just saying that....it's not impossible, that's all.


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

Offline kyleji

  • Member
  • *
  • Posts: 5
Re: Does anybody know how to change the built-in system font?
« Reply #6 on: December 30, 2009, 01:53:47 AM »
[St.],

Thank you very much for your input.
I just use a 14pt user font now. It displays very clear.
I'm enjoying rockbox now.

Thanks,
Kyle
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Does anybody know how to change the built-in system font?
 

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

Page created in 0.082 seconds with 14 queries.