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
translations translations
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
| | |-+  Can I adjust the position of text in the screen?
« previous next »
  • Print
Pages: [1]

Author Topic: Can I adjust the position of text in the screen?  (Read 1972 times)

Offline Psychotronics

  • Member
  • *
  • Posts: 13
Can I adjust the position of text in the screen?
« on: July 09, 2024, 05:27:29 PM »
I'm using the iClassic theme on my 7th gen iPod video. I had to change the font to Roboto in order to display cyrillic and Japanese characters, but now I'm running into a slightly annoying issue: there's very little space between the first letter and the left edge of the screen, which feels kinda squished to me. What is the easiest way of fixing this issue? Should I make a custom font with Roboto adding more space before capital letters or is there another way to adjust the existing font file?

* iPod font.jpg (102.76 kB, 900x1600 - viewed 302 times.)
Logged

Offline Frankenpod

  • Member
  • *
  • Posts: 786
Re: Can I adjust the position of text in the screen?
« Reply #1 on: July 09, 2024, 06:00:40 PM »
Would be far better to edit the theme, rather than meddle with the font.  Basically you need to change the viewport used by the menus to start with an X co-ordinate a bit larger than 0 (5 maybe...depending how much space you want to leave at the left side).

Right now I've forgotten everything I used to know about themes, and am not in a position to test it right now, but on first glance I _think_ (IIRC) it's the line
%Vi(-,0,19,160,221,1)%Vf(000000)%Vb(FFFFFF)
in the sbs file you need to change, maybe to
%Vi(-,4,19,156,221,1)%Vf(000000)%Vb(FFFFFF).

There might be more things that need to be amended than that, without trying it out I'm not sure, as everything about writing themes has disappeared from my brain, but it's definitely the theme you'd need to amend, not the font.
« Last Edit: July 09, 2024, 06:09:45 PM by Frankenpod »
Logged

Offline Psychotronics

  • Member
  • *
  • Posts: 13
Re: Can I adjust the position of text in the screen?
« Reply #2 on: July 09, 2024, 06:42:12 PM »
That did it! Thank you so much, looks much better.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Can I adjust the position of text in the screen?
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.06 seconds with 22 queries.