Thanks for the advice. Situation is that I'm working on a project where the PoDoFo is already extensively used, and can't simply switch to another library.

2/19/2013 3:30 AM, Lidia Kalinovsky пишет:
check www.pdfhummus.com <http://www.pdfhummus.com> - great free pdf library with wide font format support

On Tue, Feb 19, 2013 at 12:09 AM, cybevnm <cybe...@gmail.com <mailto:cybe...@gmail.com>> wrote:

    I want to generate a pdf document, which contains strings in
    several languages. Set of the languages (i.e. set of required
    characters) can be determined only at generation phase, so I've
    decided to use a font, which contains as much as possible
    characters (http://en.wikipedia.org/wiki/GNU_Unifont in my case),
    to represent any possible input language during the rendering of
    the document by a pdf viewer.
    The GNU Unifont isn't c_ommon at clients' workstations (which is
    mostly under the MS Windows control), so I should to do some form
    of font embedding. But I have conflicting requirement - documents
    _should be as small as possible, so full font embedding isn't an
    option (+ 3 Mbytes of overhead per document is too much for me).
    I think that only possible option in my situation is to embed only
    those glyphs which actually used in document - this is what I mean
    under 'font subsetting' term.
    Is it possible to make this using PoDoFo ? Or maybe there are
    another ways to satisfy the requirements ?



    On 02/18/2013 11:22 PM, Leonard Rosenthol wrote:
    You don't actually subset a CID font - since there is no such thing as a
    CID font file.

    A CID font is really a special way to encode/store font data in a PDF file
    when having to deal with Unicode-based fonts.  You can create a CID font
    from a TTF or OTF font as part of subsetting it - though it's not required.

    So backing this upŠ

    What are you trying to achieve with PoDoFo that is blocking you?

    Leonard


    On 2/18/13 2:42 PM, "cybevnm"<cybe...@gmail.com>  
<mailto:cybe...@gmail.com>  wrote:

    Hi!
    After some searching through the podofo code I suspect that subsetting
    for the CID fonts isn't implemented (PdfFontCID doesn't implement
    AddUsedSubsettingGlyphs etc.) and can be done just for the PdfFontType1
    fonts (which doesn't support unicode).  But there are mystic (for me)
    PdfFontTTFSubset and PdfFontCache::GetFontSubset.
    So, is CID fonts (unicode-aware) subsetting supported and what are
    PdfFontTTFSubset and PdfFontCache::GetFontSubset  for ?
    Thanks!


    --------------------------------------------------------------------------
    ----
    The Go Parallel Website, sponsored by Intel - in partnership with
    Geeknet,
    is your hub for all things parallel software development, from weekly
    thought
    leadership blogs to news, videos, case studies, tutorials, tech docs,
    whitepapers, evaluation guides, and opinion stories. Check out the most
    recent posts - join the conversation now.
    http://goparallel.sourceforge.net/
    _______________________________________________
    Podofo-users mailing list
    Podofo-users@lists.sourceforge.net  
<mailto:Podofo-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/podofo-users


    
------------------------------------------------------------------------------
    The Go Parallel Website, sponsored by Intel - in partnership with
    Geeknet,
    is your hub for all things parallel software development, from
    weekly thought
    leadership blogs to news, videos, case studies, tutorials, tech docs,
    whitepapers, evaluation guides, and opinion stories. Check out the
    most
    recent posts - join the conversation now.
    http://goparallel.sourceforge.net/
    _______________________________________________
    Podofo-users mailing list
    Podofo-users@lists.sourceforge.net
    <mailto:Podofo-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/podofo-users




--
Software integration and outsourcing services,
Lemur-Soft, Giv'at Nili
Israel, 37825
Phone : (+972) 545748325
Fax : (+972) 775345383
Email : li...@lemur-soft.com <mailto:li...@lemur-soft.com>
Web: www.lemur-soft.com <http://www.lemur-soft.com>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to