achoo54321 wrote:
My focus was to use the simplest routines possible and segregate the data from the routines specific to PDFsharp so I just created it manually using the XGraphics measurestring/drawstring ... I guess I just wanted to say that it was not as hard as I feared before I started (especially if you're already working on creating a PDF using low-level commands)
XTextFormatter and XTextFormatterEx2 use XGraphics.MeasureString and .DrawString, are open source, and can be used as they are or as a starting point for own code.