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> 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
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
https://lists.sourceforge.net/lists/listinfo/podofo-users