[Podofo-svn] SF.net SVN: podofo:[1695] podofo/trunk/src/doc/PdfPainter.cpp
A PDF parsing, modification and creation library.
Brought to you by:
domseichter
|
From: <aj...@us...> - 2015-11-29 17:34:57
|
Revision: 1695
http://sourceforge.net/p/podofo/code/1695
Author: aja_
Date: 2015-11-29 17:34:54 +0000 (Sun, 29 Nov 2015)
Log Message:
-----------
ADDED: Patch by Christian Sakowski: Do not skip empty lines in GetMultiLineTextAsLines()
Modified Paths:
--------------
podofo/trunk/src/doc/PdfPainter.cpp
Modified: podofo/trunk/src/doc/PdfPainter.cpp
===================================================================
--- podofo/trunk/src/doc/PdfPainter.cpp 2015-11-28 04:29:21 UTC (rev 1694)
+++ podofo/trunk/src/doc/PdfPainter.cpp 2015-11-29 17:34:54 UTC (rev 1695)
@@ -1013,8 +1013,8 @@
if( IsNewLineChar( *pszCurrentCharacter ) ) // hard-break!
{
vecLines.push_back( PdfString( pszLineBegin, pszCurrentCharacter - pszLineBegin ) );
- ++pszCurrentCharacter; // skip the line feed
- pszLineBegin = pszCurrentCharacter;
+
+ pszLineBegin = pszCurrentCharacter+1;// skip the line feed
startOfWord = true;
dCurWidthOfLine = 0.0;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|