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
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Extended characters in a theme file do not display properly in a viewport
« previous next »
  • Print
Pages: [1]

Author Topic: Extended characters in a theme file do not display properly in a viewport  (Read 1581 times)

Offline Terry The Great

  • Member
  • *
  • Posts: 6
Extended characters in a theme file do not display properly in a viewport
« on: January 21, 2014, 04:12:34 PM »
Why is it that an extended character appearing in a theme file (WPS, FMS or SBS) and intended by the user to be displayed in a viewport does not display properly even when the proper codepage is invoked?

As an example, when this coding is used (the CFG file states that the primary font is 12-Adobe-Helvetica-Bold):

   %V(1,1,30,12,1)
   %al%s%it

and the extended character is part of an ID3v1 track name and the proper codepage is invoked, this character will display properly.

However, when this coding follows:

   %V(1,14,30,12,1)
   %ac%s½

then the ½ character is not displayed, instead a box outlined in dots appears.

Note: the ½ character was chosen as an example. I may not necessarily want to display that particular extended character. I tried all of the codepage options.
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Extended characters in a theme file do not display properly in a viewport
« Reply #1 on: January 22, 2014, 05:39:44 PM »
Which encoding is the theme file itself saved in?
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Extended characters in a theme file do not display properly in a viewport
« Reply #2 on: January 26, 2014, 07:12:43 AM »
Quote from: Terry The Great on January 21, 2014, 04:12:34 PM
then the ½ character is not displayed, instead a box outlined in dots appears.

Does the font used actually support that character? Try unifont, it has the biggest coverage.
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: Extended characters in a theme file do not display properly in a viewport
« Reply #3 on: January 27, 2014, 03:40:08 PM »
Quote from: bluebrother on January 26, 2014, 07:12:43 AM
Does the font used actually support that character?


It must do. OP mentioned that the glyph is displayed when present in metadata.

I would guess that the encoding of the theme file itself is the issue here.


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

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Extended characters in a theme file do not display properly in a viewport
« Reply #4 on: January 27, 2014, 04:50:11 PM »
Quote from: [Saint] on January 27, 2014, 03:40:08 PM
It must do. OP mentioned that the glyph is displayed when present in metadata.

Ah, right. Missed that :o
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Extended characters in a theme file do not display properly in a viewport
 

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

Page created in 0.083 seconds with 15 queries.