×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    18

    Console fonts messed up

    Friends

    I'm trying to run some of sample apps of OpenC SDK. All them can be compiled and installed fine on my N93 (firmware version 20.0.058), except for 1 problem:

    - the console fonts are not readable. Instead of characters, appears some weird symbols or just squares.

    When I first installed the file stdioserver.sis, it displayed some message saying that the app is not compatible with my cellphone model. The same behaviour happens with one Nokia N61 (again, with the lastest firmware).

    Do you guys known of a fix to this? It's really annoying not been able to read any of output of a console app.


    Best regards


    Savago
    ps: I'm using Carbide 1.2 3rd FP1 with OpenC plugin (and selfsigned the generated .sis files)

  2. #2
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Re: Console fonts messed up

    Hi Welcome to Forum Nokia Discussions.
    I have a similar problem on my E61.
    See http://discussion.forum.nokia.com/fo...d.php?t=106687
    The main problem is that the orginal console code is for the emulators the font is very small but your display can be 3 times bigger i.e. by using bigger screen resoulition 800x600. This does not help on real LCD display!!.

    But obviously this does fix printf.

    The example allows text output
    C:\Symbian\9.2\S60_3rd_FP1\S60Ex\Editor\src
    but no ones seems to have figured out how to link openc to symbian api
    akn Cconsole->printf has similar problems with fonts.

    So no real answers
    Jim

  3. #3
    Registered User
    Join Date
    Jul 2007
    Posts
    18

    Re: Console fonts messed up

    Jim

    Thanks a lot for your reply, its a relief to known that I'm not the only person
    to get this bug.

    So, it seems that if I want a console app, I will need to bind somehow to Symbian
    C++ code. I will try alternatives and report later.

    Thanks in advance


    Savago
    ps: it would be nice a bug tracking system for OpenC.

  4. #4
    Registered User
    Join Date
    Apr 2007
    Posts
    17

    Re: Console fonts messed up

    Did you get solution to this?

  5. #5
    Registered User
    Join Date
    Jul 2007
    Posts
    4

    Re: Console fonts messed up

    Quote Originally Posted by savago View Post
    - the console fonts are not readable. Instead of characters, appears some weird symbols or just squares.

    The same problem occurred on my E50 when I ran a console app written by symbian c++. I found the CConsole uses font S60ZDIGI.ttf by default which only contains digits 0-9, therefore no english letters would be displayed correctly. I solve this issue by replacing system-default S60ZDIGI.ttf with my own.
    I guess open c also uses S60ZDIGI.ttf for its console.

  6. #6
    Registered User
    Join Date
    Jul 2007
    Posts
    18

    Re: Console fonts messed up

    Dear transfan

    Thanks a lot for the fonts tip, it worked great (for both N93 and E61)!
    Just to document the process, I did the following (Linux commands, but it
    can be used as base for any other O.S.):

    a) create a directory for fonts in memory card (Resource/Fonts):
    mkdir -p /path_to_card/Resource/Fonts

    b) Download Nokia S60 Sans fonts (google for s60sans.zip) and unzip in a
    directory (unzip s60sans.zip)

    c) Change the default S60ZDIGI.ttf for a font set with all the remaining
    symbols: cp S60SNR.ttf /path_to_card/Resource/Fonts/S60ZDIGI.ttf

    d) Reboot the cellphone and you be able to run OpenC terminal apps!


    Best regards


    Savago

Similar Threads

  1. Fonts! Fonts!
    By Shilpa13 in forum Symbian User Interface
    Replies: 0
    Last Post: 2007-04-25, 06:48
  2. Replies: 5
    Last Post: 2006-10-25, 01:40
  3. Replies: 4
    Last Post: 2006-06-21, 16:33
  4. Downloading fonts to Nokia device
    By grao in forum Symbian
    Replies: 0
    Last Post: 2005-01-19, 16:56
  5. Console fonts issue
    By Valahul in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-08-26, 16:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •