Hi Dennis,
Thanks for the patches. Commited as revision 1715 and 1716.
BR
Dominik
On Thu, Apr 28, 2016 at 8:35 AM, zyx <z...@litepdf.cz> wrote:
> Hi,
> I'm forwarding Dennis' message from the podofo-svn to the user's list.
> See below.
> Bye,
> zyx
>
> -------- Forwarded Message --------
> From: dennis <dennis.v...@dots.de>
> To: podofo-...@lists.sourceforge.net
> Subject: [Podofo-svn] ttc-Font support Patch
> Date: Tue, 26 Apr 2016 14:14:52 +0200
>
> Hey all,
>
> attached you will find a patch for the PdfFontCache.cpp which enables
> PoDoFo to use fonts from ttc files as well as using non-ascii named
> fonts (like meiryo font on japanese systems).
>
> Furthermore there is a patch for PdfImage.h where somebody commited an
> error (a "friday-last-minute-commit " ;-) ) which we fixed.
>
> Notes:
> The font selection is not perfect, PoDoFo does not take all font
> properties into account when looking up the font you want.
> But most japanese fonts dont even have bold/italc properties so there
> is little to no impact. But still, we could do some further improvement
> down the road.
>
> We tested this patch by coding an exe File which does the following:
> - Read all Fonts installed on the system (Windows api call)
> - call "createFont"-Function (wchar_t* version, used
> PdfIdentityEncoding, no subset, no symbolSet) on every font provided by
> the windows api call
> - If successful, log name of the font you found.
> Podofo was able to create all fonts from the system.
>
> (We filtered fonts like "System", "Terminal" etc. beforehand because
> they have no ttf or ttc file to look up)
> Tested on : Windows 10 (engl. version) + Windows 8.1 (japanese version)
> both with latest updates installed.
>
> Hope it works for you too :-)
>
> Greetings,
> Dennis
>
> ---------------------------------------------------------------------
> ---------
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly
> and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Podofo-svn mailing list
> podofo-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-svn
>
> --
> http://www.litePDF.cz i...@litepdf.cz
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users