Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7ba320a22c | |||
| 1edddf17b1 |
@@ -11,4 +11,4 @@ using System.Runtime.InteropServices;
|
|||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
||||||
[assembly: ComVisible(false)]
|
[assembly: ComVisible(false)]
|
||||||
[assembly: Guid("a5825d8e-9f81-49e0-b610-8ae5e46d02ea")]
|
[assembly: Guid("a5825d8e-9f81-49e0-b610-8ae5e46d02ea")]
|
||||||
[assembly: AssemblyVersion("1.3.*")]
|
[assembly: AssemblyVersion("1.4.0.*")]
|
||||||
|
|||||||
@@ -546,8 +546,8 @@ namespace VAR.PdfTools
|
|||||||
|
|
||||||
double neighbourXMin = neighbour.GetX();
|
double neighbourXMin = neighbour.GetX();
|
||||||
double neighbourXMax = neighbourXMin + neighbour.VisibleWidth;
|
double neighbourXMax = neighbourXMin + neighbour.VisibleWidth;
|
||||||
double auxBlockXMin = blockXMin - elem.FontSize;
|
double auxBlockXMin = blockXMin - (elem.FontSize * elem.Font.GetCharWidth('m'));
|
||||||
double auxBlockXMax = blockXMax + elem.FontSize;
|
double auxBlockXMax = blockXMax + (elem.FontSize * elem.Font.GetCharWidth('m'));
|
||||||
if (auxBlockXMax >= neighbourXMin && neighbourXMax >= auxBlockXMin)
|
if (auxBlockXMax >= neighbourXMin && neighbourXMax >= auxBlockXMin)
|
||||||
{
|
{
|
||||||
_textElements.Remove(neighbour);
|
_textElements.Remove(neighbour);
|
||||||
|
|||||||
@@ -11,4 +11,4 @@ using System.Runtime.InteropServices;
|
|||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
||||||
[assembly: ComVisible(false)]
|
[assembly: ComVisible(false)]
|
||||||
[assembly: Guid("eb7e003a-6a95-4002-809f-926c7c8a11e9")]
|
[assembly: Guid("eb7e003a-6a95-4002-809f-926c7c8a11e9")]
|
||||||
[assembly: AssemblyVersion("1.3.*")]
|
[assembly: AssemblyVersion("1.4.0.*")]
|
||||||
|
|||||||
Reference in New Issue
Block a user