PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

Creating text within a specific boundary.
http://forum.pdfsharp.com/viewtopic.php?f=2&t=4405
Page 1 of 1

Author:  Kjelldor [ Mon Dec 19, 2022 2:20 pm ]
Post subject:  Creating text within a specific boundary.

Hello fellow programmers,

I've been using PdfSharp to create some pdf's from images.

Lately I've been given some OCR information of those images in order to attempt and make the created pdf's searchable.
However, I've found that even with my best estimates, the text is usually slightly off. This is because I've been using a singular font for handwriting, but the spacing, height and width of handwriting can vary greatly.

I was wondering whether it would be possible to add the text as or within a rectangle, because that would save me a lot of calculation on the required size of the searchable font.

Either way, great library so far, thanks for all the hard work that went into this. :D

Kind regards,

Kjelldor

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/