You Are Here:

Community: Developer Discussion Boards

#1 Old Create font of any size? - 2007-02-02, 08:49

Join Date: Oct 2003
Posts: 13
space2
Offline
Registered User
Hi! Is it possible to create fonts of any size? I mean by specifying the size in pixels?

Thanks in advance,
Pal Szasz
Reply With Quote

#2 Old Re: Create font of any size? - 2007-02-02, 09:35

Join Date: Aug 2006
Posts: 307
axs
Offline
Regular Contributor
The standard J2ME platform can provide you only with the system-dependet fonts and their sizes cannot be defined by pixel values.
Reply With Quote

#3 Old Re: Create font of any size? - 2007-02-02, 09:58

Join Date: Oct 2003
Posts: 13
space2
Offline
Registered User
Isn't there a Nokia workaround for it?
Reply With Quote

#4 Old Re: Create font of any size? - 2007-02-02, 10:06

Join Date: Aug 2006
Posts: 307
axs
Offline
Regular Contributor
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
Reply With Quote

#5 Old Re: Create font of any size? - 2007-02-02, 10:22

Join Date: Mar 2003
Posts: 6,246
petrib
Offline
Forum Nokia Champion
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.
Reply With Quote

#6 Old Re: Create font of any size? - 2007-02-07, 09:52

Join Date: Jan 2004
Posts: 165
mreaves
Offline
Regular Contributor
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 With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
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

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 © 2010 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d111653X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfnTypeZCommunityContentQ qdcZtypeQUqfnTypeZE44iscussionQ qdcZtypeQUqfnTypeZE44iscussionContentQ qdcZtypeQUqfnTypeZE52esourceQ qdcZtypeQUqfnTypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfnTypeZCommunityContentQ qfnZtypeQUqfnTypeZE44iscussionQ qfnZtypeQUqfnTypeZE44iscussionContentQ qfnZtypeQUqfnTypeZE52esourceQ qfnZtypeQUqfnTypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfnTypeZCommunityContentQ qrdfZtypeQUqfnTypeZE44iscussionQ qrdfZtypeQUqfnTypeZE44iscussionContentQ qrdfZtypeQUqfnTypeZE52esourceQ qrdfZtypeQUqfnTypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ