1. MarcRB

    B4J Question Calculate string width

    Hello, I know it isn't wanted to re-ask the same question, but I do... Please for give me. Can someone put me in the right direction by calculating StringWidth. I mean the lenght in pixels, units or some value from any string in a specified font. Maybe I can draw a string on a blanc...
  2. MarcRB

    B4J Question How to calculate string width for PDFBox

    I made some simple functions for easy writing on top of an existing PDF. Thanks to DonManfred post: PDFBox post#4 I need to calculate stringwidth for center align and right align. On StackOverflow I found the stringwidth could by calculated with a function at font object. But in the for B4J...