Hi Ulrich,
Thanks for your contribution.
I committed your patch as revision 1710.
Best regards,
Dominik
On Fri, Apr 22, 2016 at 12:40 PM, Ulrich Arnold <ulrich.arn...@t-online.de>
wrote:
> Hi together!
>
> I've just did a check-out of revision 1707 and started a test-build with
> Microsoft VS2008 for the upcoming 0.9.4-tag. I've attached a patch to
> address some compiler warnings:
>
> - PdfFontCID.cpp: VS2008 has no member data in the vector-template.
> Circumvented by conditional compilation
> - PdfFontTTFSubset.cpp: Added static cast for return-value of
> GetGlyphId. Should be type GID to begin with in my opinion, but I'm not
> familiar with the source,
> so just the cast to keep the compiler happy. Added static cast for
> setting of CMapv4Range from iterator. Changed offset to unsigned short in
> WriteCmapTable
> because TTFWriteUInt16 can handle only 16 Bit
> - PdfImage.h/.cpp: The use of TiffOpenW needs at least Tiff 4.0.3.
> Added conditional compilation to check the version. Tiff of type
> PHOTOMETRIC_MINISBLACK
> and PHOTOMETRIC_MINISWHITE are allowed to have 8 or 16-Bits for
> Grayscale. Added some static casts for mix of toff_t and tsize_t
> - PdfSignOutputDevice: In AdjustByteRange two calls to Read were
> encapsulated in PODOFO_RAISE_LOGIC_IF and were not called with NDEBUG. Call
> of read
> and check of return are now separated
>
> Might make sense to include this before release-time
>
> Ulrich Arnold
>
>
------------------------------------------------------------------------------
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