use image from another source since gimp positions appear wrong

This commit is contained in:
Eliot Jones
2018-04-18 21:42:07 +01:00
parent 0e844d88df
commit 99674f31e1
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -58,7 +58,7 @@
foreach (var word in page.Letters)
{
graphics.DrawRectangle(redPen, new Rectangle((int)word.GlyphRectangle.Left,
792 - (int)word.GlyphRectangle.Top, (int)Math.Max(1, word.GlyphRectangle.Width), (int)word.GlyphRectangle.Height));
792 - (int)(word.GlyphRectangle.Bottom + word.GlyphRectangle.Height), (int)Math.Max(1, word.GlyphRectangle.Width), (int)word.GlyphRectangle.Height));
}
var imageName = $"{file}.jpg";