You Are Here:

Community: Developer Discussion Boards

#1 Old image.text() font too small to read - 2006-10-28, 09:51

Join Date: Oct 2006
Posts: 10
jetherton
Offline
Registered User
Hey, I'm new to series 60 development and so I hope I ask this question right.

I'm developing on a N80, which is a 3rd edition series 60 phone.

I'm trying to draw some text to the screen and I use the following code and all i can see are a few pixels at the top of the screen. If I make the string longer I see more pixels at the top of the screen so I know it's drawing the text, just not big enough.


Code:
def handle_redraw(rect):
    canvas.blit(img)

...


img.clear(0)
img.text((0,14),u'Please work',0xffffff, font=u'LatinBold12')
handle_redraw(())

Am I doing something wrong? Is this an issue with using series 60 3rd edition?

Thanks a lot for your help.
Reply With Quote

#2 Old Re: image.text() font too small to read - 2006-10-30, 14:09

Join Date: Aug 2006
Posts: 2
cashman
Offline
Registered User
Yup, the text primitive doesn't work in PyS60 for 3rd edition yet:

http://sourceforge.net/tracker/index...55&atid=790646

I found the problem the same way you did and banged my head against it a bit before I thought to check the bug database. It's one of four Priority 8 bugs (and there are no 9s or 10s), but there hasn't been any indication of when a fix might be available, unfortunately.
Reply With Quote

#3 Old Re: image.text() font too small to read - 2006-11-01, 05:53

Join Date: Oct 2006
Posts: 10
jetherton
Offline
Registered User
Yup that's a bummer. Thanks for the info.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
[announce] full screen dot amtrix scroller xchip Python 7 2006-06-08 23:17
socket read hangs until socket is closed camroe Mobile Java Networking & Messaging & Security 1 2005-07-21 10:44
Small font S.S.Sudhakar Symbian User Interface 3 2004-11-03 07:19
my phone only display english, how to read chinese font SMS ? hakenshizuo General Discussion 0 2003-05-21 08:31
Hi, people. I still have problem with cirilic charaters in wml. May be Noki cyberpunkk Browsing and Mark-ups 2 2002-06-26 09:57

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia