Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
rishikeshsinghpbh
Posts: 121
Registered: ‎05-31-2012
My Device: 9900
My Carrier: Airtel
Accepted Solution

Custom Font:min and max file size limit on font file ??

[ Edited ]

Hi,

         What is the file size limit(max and min) on font file for loading custom font ??

 

I have search the forum and found one comment of Peter_strange--

"The documentation says 60K or 90K depending on how you load it, 90K if you load it from a an InputStream from memory".

 

But i want to be sure,plz share if anybody has the info.

 

Thanks.

 

 

 

 

Rishikesh Singh
Please use plain text.
Developer
rishikeshsinghpbh
Posts: 121
Registered: ‎05-31-2012
My Device: 9900
My Carrier: Airtel

Re: Custom Font:min and max file size limit on font file ??

[ Edited ]

Now i am sure about the max size limit ----------

As Peter_strange--

"The documentation says 60K or 90K depending on how you load it, 90K if you load it from a an InputStream from memory".

 

But i wanted to know if there is also any minimum size limit on font file size???

Rishikesh Singh
Please use plain text.
Developer
pradeep_ch
Posts: 543
Registered: ‎12-23-2010
My Device: Bold
My Carrier: Airtel

Re: Custom Font:min and max file size limit on font file ??

Hi Rishikesh,

 

It is correct,  the maximum size 60k if you want to use directly. And 90k if you load as a stream.

AFAIK there is no minimum size limit for the font file.

 

Thanks.

Please use plain text.
Developer
rishikeshsinghpbh
Posts: 121
Registered: ‎05-31-2012
My Device: 9900
My Carrier: Airtel

Re: Custom Font:min and max file size limit on font file ??

[ Edited ]

thanks pradeep for your clarification.

 

Now i have verified that there is no min file size limit and max file size limit is 90kb for stream loading case and 60 kb in case of direct loading.

 

i have also got a good sample resource by peter_strange--

http://supportforums.blackberry.com/t5/Java-Development/Font-Loader-Manager-Utility/m-p/592647#M1223...

 

 

Rishikesh Singh
Please use plain text.