2 Commits
1_3 ... 1_4

Author SHA1 Message Date
7ba320a22c Bump version: 1.4 2017-08-02 13:30:03 +02:00
1edddf17b1 Fix JoinTextElements to only join text elements near m-size. 2017-08-02 13:28:20 +02:00
3 changed files with 4 additions and 4 deletions

View File

@@ -11,4 +11,4 @@ using System.Runtime.InteropServices;
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("a5825d8e-9f81-49e0-b610-8ae5e46d02ea")]
[assembly: AssemblyVersion("1.3.*")]
[assembly: AssemblyVersion("1.4.0.*")]

View File

@@ -546,8 +546,8 @@ namespace VAR.PdfTools
double neighbourXMin = neighbour.GetX();
double neighbourXMax = neighbourXMin + neighbour.VisibleWidth;
double auxBlockXMin = blockXMin - elem.FontSize;
double auxBlockXMax = blockXMax + elem.FontSize;
double auxBlockXMin = blockXMin - (elem.FontSize * elem.Font.GetCharWidth('m'));
double auxBlockXMax = blockXMax + (elem.FontSize * elem.Font.GetCharWidth('m'));
if (auxBlockXMax >= neighbourXMin && neighbourXMax >= auxBlockXMin)
{
_textElements.Remove(neighbour);

View File

@@ -11,4 +11,4 @@ using System.Runtime.InteropServices;
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("eb7e003a-6a95-4002-809f-926c7c8a11e9")]
[assembly: AssemblyVersion("1.3.*")]
[assembly: AssemblyVersion("1.4.0.*")]