[haiku-3rdparty-dev] Re: GetBoundingBoxesForStrings

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Fri, 14 Jun 2013 09:11:22 +0200

On 13.06.2013 19:21, John Scipione wrote:
[...]
I see, that makes sense, the Haiku Book should probably be updated. A
code example of how to implement justified text would be great.

Thanks for doing that so quickly!

There's no way to get the space around each character then using
BFont? You can only get the width of the entire string?

No, you can get the bounding box of each individual glyph in a string. You can play with what's possible using the Font demo.

Best regards,
-Stephan


Other related posts: