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
Spaces with font Courier bold
Spaces with font Courier normal
Spaces with font Times-Roman bold
Spaces with font Times-Roman normal
Spaces with font Helvetica bold
Spaces with font Helvetica normal
SpaceswithfontLatobold
SpaceswithfontLatonormal
Notice that for the text in Lato font, whitespaces have been removed.
I was expceting
whitespaces to be preserved.
Spaces with font Lato bold
Spaces with font Lato normal
Is this because Lato's space glyph is not wide enough for the criteria in PDF::Reader#+?
Given the pdf file sample.pdf, that has a few lines of text using different fonts, when I try to extract the text on the page with
I get
Notice that for the text in
Lato
font, whitespaces have been removed.I was expceting
whitespaces to be preserved.
Is this because
Lato
's space glyph is not wide enough for the criteria inPDF::Reader#+
?pdf-reader/lib/pdf/reader/text_run.rb
Line 67 in d931456
The text was updated successfully, but these errors were encountered: