| Reply | « Previous Thread | Next Thread » |
|
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 ) |
|
It's unreal?
|
|
Quote:
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/ |
|
Quote:
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() |
|
Hi again!
I found function in Nokia s60 sdk. Can somebody write pyd for "font->TextWidthInPixels(text)"? Please! |
|
Quote:
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| 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 |