×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    [announce] unofficial PyS60 1.3.18 3rd G2 patch (3rd S60 font patch)

    hello ,

    Thanks again to GameDude for its fantastic S60 Font Patch for 3rd

    Now you can use it without to obliged to compile it !

    For each of you I compile it for easy use

    I hope that this unofficial workaround will be helpful !

    links :

    can be installed on phone or memory card (see post here !)

    the fontleak_test.py file is included in the package ...

    EDIT : wrong link for selfsigned sorry

    PyS60 1.3.18 selfsigned with G2 patch
    PyS60 1.3.18 unsigned with G2 patch
    Last edited by cyke64; 2007-02-19 at 18:08. Reason: correct selfsigned link !
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  2. #2
    Registered User
    Join Date
    Feb 2007
    Posts
    22

    Re: [announce] unofficial PyS60 1.3.18 3rd G2 patch (3rd S60 font patch)

    I have released a new version of my PyS60RemoteControl using this patched version of PyS60 1.3.18. It has quite a lot new features and most importantly it has a greatly improved response time for screen updates!

    http://sourceforge.net/project/showf...roup_id=187900

    Check it out and please give me some feedback!
    Especially owners of 2nd edition phones, since I do not have one for testing...

    Cheers
    Dorian

  3. #3
    Regular Contributor
    Join Date
    Jan 2007
    Location
    Oulu, Finland
    Posts
    147

    Re: [announce] unofficial PyS60 1.3.18 3rd G2 patch (3rd S60 font patch)

    Nice Good to see the patch in real use.

    The patch... or upgrade since the API has changed... has now support for both S60 3rd and 2nd edition and UIQ 3. I posted some info about it here

    I hope I have time to finish it up and release both graphics -module and the UIQ port in couple of weeks.

    If anybody has wishes for additional functionality, now is the time to tell me about it.

    Keep up the good work.

  4. #4
    Registered User
    Join Date
    Feb 2007
    Posts
    22

    Re: [announce] unofficial PyS60 1.3.18 3rd G2 patch (3rd S60 font patch)

    Hi GameDude!

    Thats really great news - 2nd, 3rd and UIQ support...
    I hope the API changes your refering to are the ones discussed in this thread:
    http://discussion.forum.nokia.com/fo...d.php?t=101645
    That's just what I need: seperate SetFont and GetWidth methods.

    And my wishlist would also include GetHeight and GetAscent methods...
    A wrapper to get the values of the CFont::HeightInPixels() and CFont::AscentInPixels() methods would be just fine. Then I'll be able to precisely position text on the canvas!

    At the moment I use some guessed values, which work well, but that's not really the solution...

    I hope you'll be able to get this patch into the 1.3.19 release, that would help a lot!

    Thanks for the great work
    Dorian

  5. #5
    Regular Contributor
    Join Date
    Jan 2007
    Location
    Oulu, Finland
    Posts
    147

    Re: [announce] unofficial PyS60 1.3.18 3rd G2 patch (3rd S60 font patch)

    Currently it has setFont(), getWidth( ) and getHeight() implemented. I'll add that getAscent() as well. And I removed the font options from text() so it allows only position and the text parameters. From my experience, the separate setFont() is better when making portable applications. Usually you know what kind of fonts your app uses, so you can make a helper function, like 'setNormalFont', at startup based on the used device by using lambda. Rest of the code can ignore the device specific stuff. getWidth() and getHeight() can help a lot too

    If the setFont() was implemented in the text(), it would require more code and more checks in run-time. getHeight() and getWidth() would require the font options also to get correct measures. I think the only benefit of keeping the the font options in text() is that it would be compatible with Python Imaging Library.

    I hope you'll be able to get this patch into the 1.3.19 release, that would help a lot!
    That would be great, but I don't know if Nokia guys have any plans for putting this into the official release.
    Last edited by GameDude; 2007-03-04 at 10:31.

  6. #6
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: [announce] unofficial PyS60 1.3.18 3rd G2 patch (3rd S60 font patch)

    hello ,

    On N80 in the fontleak_test script , lines are too nearby ! Look at here for understanding what it means

    I hope that G3 will be available soon

    Keep up the good work Gamedude ( == G from G2

    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  7. #7
    Regular Contributor
    Join Date
    Jan 2007
    Location
    Oulu, Finland
    Posts
    147

    Re: [announce] unofficial PyS60 1.3.18 3rd G2 patch (3rd S60 font patch)

    The fonts overlap because there is no height measuring in the latest release. If you check the code, you see that the line height is a fixed number.

    My development version measures the height dynamically so font_leaktest.py looks quite disturbing

    I hope that G3 will be available soon
    I have been working on UIQ port for a while. It's coming along nicely. interactive console is already working. Only appuifw.selection_list missing to get the default.py working completely. Sorry... I just got too excited about it. I'll try to finish G3 on this week.

  8. #8
    Registered User
    Join Date
    Sep 2007
    Posts
    3

    Talking Re: [announce] unofficial PyS60 1.3.18 3rd G2 patch (3rd S60 font patch)

    Quote Originally Posted by DorianScholz View Post
    I have released a new version of my PyS60RemoteControl using this patched version of PyS60 1.3.18. It has quite a lot new features and most importantly it has a greatly improved response time for screen updates!


    Check it out and please give me some feedback!
    Especially owners of 2nd edition phones, since I do not have one for testing...

    Cheers
    Dorian
    It is too bad I do not have Sybian on my phone, but I have made a remote control for my washing machine. I had to use some new Whirlpool Parts, but, in the end, everything gone smooth.
    All we want is love!

Similar Threads

  1. Carbide c++ and S60 3rd Edition Feature Pack 1 Working
    By jimgilmour1 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2006-10-18, 20:39
  2. Device font in S60 Platform SDK 3rd ED
    By jiipee63 in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2006-10-02, 10:09
  3. Mail Sync for S60 / S60 3rd Devices
    By bmenke in forum PC Suite API and PC Connectivity SDK
    Replies: 4
    Last Post: 2006-09-17, 06:24
  4. What is going on with Vibration on S60?
    By amd_rikus in forum Mobile Java General
    Replies: 3
    Last Post: 2006-06-16, 00:29

Posting Permissions

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