We have limited support for truetype font subsetting and Ulrich added quite good support for Type1 font subsetting. So you could take a look at his classes, see also the flag eFontCreationFlags_Type1Subsetting in PdfFontCache.
2011/9/26 Lluís Batlle i Rossell <[email protected]>: > On Mon, Sep 26, 2011 at 12:58:29PM -0700, Leonard Rosenthol wrote: >> You do what is called a "subset embed", so that only the characters you >> use are included. However, IIRC, PoDoFo doesn't support subset embeds at >> this time. BUT it's open source - so you could add it yourself :). > > (cough) :) thank you for the offer... > > Nevertheless, I chose 'podofo' also for not having to learn PDF. :) > > Thank you, > Lluís > >> On 9/26/11 3:45 PM, "Lluís Batlle i Rossell" <[email protected]> wrote: >> >> >On Mon, Sep 26, 2011 at 12:33:26PM -0700, Leonard Rosenthol wrote: >> >> No, you can not. The non-embeddedable Base14 fonts are ASCII only. >> > >> >Ah ok. >> > >> >Then what would be a reasonable way of getting small PDFs, without >> >embedding >> >FreeSerif (1MB), keeping in mind the utf-8 source text? >> > >> >Regards, >> >Lluís. >> > >> >> On 9/26/11 2:53 PM, "Lluís Batlle i Rossell" <[email protected]> wrote: >> >> >> >> >Hello, >> >> > >> >> >I've source text in utf-8 having mostly latin1 and cyrillic character >> >> >subsets. >> >> >I'd like them to show fine in the PDF, but I can achieve that only if I >> >> >include >> >> >my own unicode-aware times font into the PDF. >> >> > >> >> >If I try to use the basic PDF fonts, they either work only for the >> >>ascii >> >> >subset, >> >> >and show ascii characters for the non-ascii glyphs I'd expect >> >>(cyrillic or >> >> >letters with diacritics). >> >> > >> >> >Can I make a PDF with latin1 and cyrillic characters with the original >> >> >text in >> >> >utf-8, without embedding any font? I'd simply want Times. >> >> > >> >> >Regards, >> >> >Lluís. >> >> > >> >> >> >>>------------------------------------------------------------------------ >> >>>-- >> >> >---- >> >> >All the data continuously generated in your IT infrastructure contains >> >>a >> >> >definitive record of customers, application performance, security >> >> >threats, fraudulent activity and more. Splunk takes this data and makes >> >> >sense of it. Business sense. IT sense. Common sense. >> >> >http://p.sf.net/sfu/splunk-d2dcopy1 >> >> >_______________________________________________ >> >> >Podofo-users mailing list >> >> >[email protected] >> >> >https://lists.sourceforge.net/lists/listinfo/podofo-users >> >> >> > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Podofo-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/podofo-users > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
