PdfTextExtractor: Fix text size calculation

This commit is contained in:
2016-09-07 09:06:20 +02:00
parent c0a8de2617
commit c1fd18f355

View File

@@ -455,7 +455,8 @@ namespace VAR.PdfTools
else if(elem is PdfInteger || elem is PdfReal)
{
double spacing = PdfElementUtils.GetReal(elem, 0);
_textWidth += spacing;
// FIXME: Apply correctly spacing
//_textWidth += spacing;
}
else if(elem is PdfArray)
{
@@ -596,6 +597,30 @@ namespace VAR.PdfTools
{
// FIXME: Interpret this
}
else if (action.Token == "BI")
{
// FIXME: Interpret this
}
else if (action.Token == "ID")
{
// FIXME: Interpret this
}
else if (action.Token == "EI")
{
// FIXME: Interpret this
}
else if (action.Token == "W")
{
// FIXME: Interpret this
}
else if (action.Token == "n")
{
// FIXME: Interpret this
}
else if (action.Token == "Do")
{
// FIXME: Interpret this
}
else
{
unknowCount++;