[Podofo-svn] SF.net SVN: podofo:[1664] podofo/trunk/src/doc/PdfPainter.cpp
A PDF parsing, modification and creation library.
Brought to you by:
domseichter
|
From: <aj...@us...> - 2014-09-14 17:26:46
|
Revision: 1664
http://sourceforge.net/p/podofo/code/1664
Author: aja_
Date: 2014-09-14 17:26:38 +0000 (Sun, 14 Sep 2014)
Log Message:
-----------
ADDED: Patch by Simon Cozens: Allow DrawGlyph to be used when not subsetting
Modified Paths:
--------------
podofo/trunk/src/doc/PdfPainter.cpp
Modified: podofo/trunk/src/doc/PdfPainter.cpp
===================================================================
--- podofo/trunk/src/doc/PdfPainter.cpp 2014-09-14 17:19:50 UTC (rev 1663)
+++ podofo/trunk/src/doc/PdfPainter.cpp 2014-09-14 17:26:38 UTC (rev 1664)
@@ -1226,9 +1226,11 @@
}
}
- // mark glyph as used in basefont (needed for subsetting)
- m_pFont->AddUsedGlyphname( pszGlyphname );
-
+ if( m_pFont->IsSubsetting() ) {
+ // mark glyph as used in basefont (needed for subsetting)
+ m_pFont->AddUsedGlyphname( pszGlyphname );
+ }
+
// output
SetFont( pGlyphFont );
char temp[2];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|