|
|
This works. Thank you.
|
|
|
FPDFTextObj_GetSpaceCharWidth(textObject.Handle, out space) ?
ahh ... are you using PdfText? In this case, you can use GetText to get the text as a string and divide it into words by spaces
|
|
|
Hi All, I am evaluating Pdfium.Net SDK fora project that involves reading PDF content.
Consider a PDF document with the words Hello World
I have no problems in getting the individual characters "H","e","l","l",etc. using the function GetCharacter and their physical dimensions using GetCharBox. This has worked very well so far.
I need some way to predict the width of the SPACE character in the context of the text at the location so that I can frame a logic to join "H","e","l","l","o" into a single word "Hello".
My approach If the gap between "H" and "e" is less than the width of SPACE character for the font then join into "H" and "e" into "He"
Is this possible? Or is some other way to achieve the same.
Thanks, Sau
|
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close