You Are Here:

Community: Developer Discussion Boards

#1 Old Fonts? - 2006-07-14, 17:06

Join Date: Jun 2006
Posts: 14
Cyxapeff
Offline
Registered User
Hello!
I am attempting to make a supplement which would be able to support different fonts. Bold, italic, and standard. I draw them using Graphics. The line with the commanding symbols hits the array which contains part of the line and the information about the font. But it is neccessary to find out in some way the x-coordinate for each part of the line, when draw . Maybe in some way it is possible to find out the width of the line with the font type or each letter individually?

P.S I can't create lib on C++. I can use only python's resources. (or your lib )
Reply With Quote

#2 Old Re: Fonts? - 2006-07-19, 15:36

Join Date: Jun 2006
Posts: 14
Cyxapeff
Offline
Registered User
It's unreal?
Reply With Quote

#3 Old Re: Fonts? - 2006-07-30, 06:22

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by Cyxapeff
It's unreal?
Could you explain exactly what you want to do please ?
Would you want really make new fonts (gdr files ) ??

Tips :
akntextutil : wrap text
scroller : use its own font (look in code !)


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote

#4 Old Re: Fonts? - 2006-07-31, 00:08

Join Date: Jun 2006
Posts: 14
Cyxapeff
Offline
Registered User
Quote:
Originally Posted by cyke64
Could you explain exactly what you want to do please ?
Would you want really make new fonts (gdr files ) ??

Tips :
akntextutil : wrap text
scroller : use its own font (look in code !)
example: I get this string "exampleexample exampleexampleexampleexample".
I want print this with module graphics. Italic, normal and bold fonts (LatinPlain12, LatinBold12, Alpi13) width on pixels is different, than I can not use akntextutil. I split string and want get width every sub-string on pixels. Then I can draw every sub-string separately.
Is it clear?

P.S How include gdr file in my application is very interestingly too. Then I don't see E:\System\Fonts\*.gdr fonts in appuifw.available_fonts()
Reply With Quote

#5 Old Re: Fonts? - 2006-08-05, 22:14

Join Date: Jun 2006
Posts: 14
Cyxapeff
Offline
Registered User
Hi again!
I found function in Nokia s60 sdk. Can somebody write pyd for "font->TextWidthInPixels(text)"? Please!
Reply With Quote

#6 Old Re: Fonts? - 2006-08-07, 19:29

Join Date: Jun 2006
Posts: 14
Cyxapeff
Offline
Registered User
Quote:
Originally Posted by Cyxapeff
Hi again!
I found function in Nokia s60 sdk. Can somebody write pyd for "font->TextWidthInPixels(text)"? Please!
Is it so hard?
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
loading GDR fonts in Series 60 app ? cambion General Symbian C++ 13 2005-07-25 16:29
loading GDR fonts on Series 60 app cambion Symbian User Interface 0 2005-03-24 19:11
Using fonts in UI controls asheeshv General Symbian C++ 0 2005-03-22 14:19
Downloading fonts to Nokia device grao General Symbian C++ 0 2005-01-19 17:56
Fonts Nokia 6600 malpart Symbian User Interface 0 2004-02-12 15:11

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