Commited in r1975 with following comment: ------------------------------------------ PdfMemDocument: Fix missing call to PdfFontCache::EmbedSubsetFonts() in several Write/WriteUpdate signatures
PdfFontCache::EmbedSubsetFonts() is not called in all Write/WriteUpdate signatures. Moved the call in Write/WriteUpdate signatures with PdfOutputDevice as parameter to ensure it will be called in all cases. Also cleaned some comments in WIN32 ifdef-ed method wrongly refering to linux. Change suggested by Michal Sudolsky. Post-Subject: Re: [Podofo-users] Font subsetting is producing invalid PDF Post-Author: Michal Sudolsky <sudols...@gmail.com> Post-Date: Tue, 13 Nov 2018 23:51:20 +0100 Post-Message-ID: <CABoc_47pHn84Zik3z2oa9g2-bXwJJZc2Lx5bf=g-6bt4m0qZ=g...@mail.gmail.com> Post-Archive-URL: https://sourceforge.net/p/podofo/mailman/message/36466441/ ------------------------------------------ On Wed, 20 Mar 2019 at 11:38, Francesco Pretto <cez...@gmail.com> wrote: > > On Wed, 20 Mar 2019 at 11:16, Michal Sudolsky <sudols...@gmail.com> wrote: > > > > Actually it would be enough to call it only in functions with > > PdfOutputDevice parameter as all other functions call these two. > > > > > > Ah ok, you already wrote it in previous comment, I missed that. Yes, > this leads also to small code clean. > I am going to test: If everything goes well and there are no complains > I am going commit since it seems very straightforward fix. > > Cheers, > Francesco _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users