×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    34

    bluet. console, text & Font

    It happens only to me?
    If I test with the bluetooth console a script, the font in Text UI control is always the same (normal, green), and if I try to read the font in use Python close. (Nokia 6600)

    Deep: python console crash (emulator, too!) if I write:
    t=appuifw.Text()
    t.font='LatinBold17'
    -----> instead of
    t.font=u'LatinBold17'
    So, i put o string, not unicode.

    Pietro
    Last edited by pimol; 2005-06-23 at 12:35.

  2. #2
    Super Contributor
    Join Date
    Dec 2004
    Posts
    643

    Re: bluet. console, text & Font

    Originally posted by pimol
    It happens only to me?
    If I test with the bluetooth console a script, the font in Text UI control is always the same (normal, green), and if I try to read the font in use Python close. (Nokia 6600)

    Deep: python console crash (emulator, too!) if I write:
    t=appuifw.Text()
    t.font='LatinBold17'
    -----> instead of
    t.font=u'LatinBold17'
    So, i put o string, not unicode.

    Pietro
    Verified and fixed. That code now raises a ValueError instead of crashing. The fix will be included in build 1.1.5.

    Thanks for reporting this.

  3. #3
    Super Contributor
    Join Date
    Dec 2004
    Posts
    643
    Tracking number #202.

Posting Permissions

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