Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
11-16-2011 04:46 AM
I am noticing the rightmost and bottommost edges of some characters rendered in MyriadPro-Bold.otf with bbutil_render_text() are being clipped. The amount being clipped appears to be 1 pixel off the right and bottom for some characters. I am not seeing clipping with any other fonts that I have tried, just MyriadPro-Bold.otf so far. Is anyone else seeing this?
11-17-2011 02:32 PM
Which characters do you see clipping on? HelloWorldDisplay uses MyriadPro-Bold.otf and I dont see any clipping.
Also, is this on a device or simulator?
PS I might need glasses though.
11-17-2011 03:18 PM
I will PM you tonight with a screenshot. It seems to be showing up pretty clearly against my background. I'm seeing it in the device but I will try to see how it renders on the sim.
06-18-2012 11:04 AM
Any solution to this issue yet? We're encountering the same problem with different fonts (e.g. akzidenz-grotesk-roman.ttf) in one of our Apps.
06-18-2012 11:14 AM
06-18-2012 11:22 AM
you are right, but we do not want to use the qt framework. The NDK provides a class for simple rendering of text.
06-18-2012 11:25 AM
06-18-2012 11:50 AM
Bear in mind that it is a part of several samples - not a full text rendering engine as there are several intricacies when it comes to rendering text with GL/Freetype. Hence bbutil is not a general-purpose engine, but merely a collection of useful code that would otherwise be replicated over several of our samples.
Also, note that there exist open-source text engines that you can make use of. Not sure how big your app is, but you will quickly run into problems with non-english fonts both in terms of resource limitations and layouting with bbutil.
That being said, could you please PM me a distilled example that reproduces edge clipping problem? If I recall this correctly, superdirt and I could not reproduce this problem reliably. I'll look into this issue at my earliest convenience.