You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the font bold are lost in the converted jpg, I check your source code and find fontStyleRegex var fontStyleRegex = Regex.Match(fontname, @"[-,][\w\s]+$");
in PdfToImageConverter.cs can not match font style in my pdf that sent to you via email, by using console.writeline , the output fontname is "AAAAAA+ArialBold" , so I added "+" to fontStyleRegex :Regex.Match(fontname, @"[+-,][\w\s]+$") and the converted jpg's fontstyle are right.
But the words' frame is lost in the converted jpg, I cannot find where the bug is.
The text was updated successfully, but these errors were encountered:
the font bold are lost in the converted jpg, I check your source code and find fontStyleRegex
var fontStyleRegex = Regex.Match(fontname, @"[-,][\w\s]+$");
in PdfToImageConverter.cs can not match font style in my pdf that sent to you via email, by using console.writeline , the output fontname is "AAAAAA+ArialBold" , so I added "+" to fontStyleRegex :
Regex.Match(fontname, @"[+-,][\w\s]+$")
and the converted jpg's fontstyle are right.But the words' frame is lost in the converted jpg, I cannot find where the bug is.
The text was updated successfully, but these errors were encountered: