| Reply | « Previous Thread | Next Thread » |
|
Hi! Is it possible to create fonts of any size? I mean by specifying the size in pixels?
Thanks in advance, Pal Szasz |
|
The standard J2ME platform can provide you only with the system-dependet fonts and their sizes cannot be defined by pixel values.
|
|
Isn't there a Nokia workaround for it?
|
|
A very common way is to use small images with text (written in a desired font). If this is not OK with you, then you can take a look at the J2ME Polish framework. It supports bitmap-fonts, but if you want to integrate such things into your already coded application, that wouldn't be an easy task.
http://www.j2mepolish.org/docs/css-common.html |
|
Before you could handle arbitrary font size, as stated, the device must have scalable/vector fonts on the device built-in (or installed afterwords, but I'm not sure a MIDlet can use such), or bitmap fonts in every possible size.
|
|
Write your own text printing function, and use your own font. You'll find it faster than using the normal font plotter, it looks prettier, and you'll have more control over what you want.
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| getting font height in twips according to the font size setting | thomasraku | Symbian User Interface | 1 | 2007-10-30 09:58 |
| Audio Input Stream on N80 | tkaihock | Symbian Media (Graphics & Sounds) | 9 | 2006-06-30 10:15 |
| Font size in query | samweb | Symbian Tools & SDKs | 0 | 2004-07-29 07:59 |
| font size on 6800 | bernie25 | Mobile Java Media (Graphics & Sounds) | 3 | 2003-11-17 14:03 |
| User break point error in Grid | ag24master | Symbian User Interface | 0 | 2003-08-07 09:20 |