[Podofo-users] Patch for creating font subset using Postscript name

2018-03-05 Thread Yurii Olenych
Hello,

I'm trying to send mail again. I would like to submit a patch (see attached
file) which allows creating font subset using Postscript name of font face.
With the patch, you can embed any font face in TTC file, not only Bold,
Italic and BoldItalic.
Currently, on Windows, you can specify file path and face index manually.

-- 

Regards,

Yurii


Fontsubset_PS_name.patch
Description: Binary data
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


[Podofo-users] watermark

2018-03-05 Thread ChunHsia_Tang
hi,


a pdf page has some text and image

add watermark, watermark appear on top text and image

doc.Load("D:\\test.pdf");
PdfExtGState gstate(&doc);
pPage = doc.GetPage(0);
painter.SetPage(pPage);
painter.SetFont(pFont);
gstate.SetFillOpacity(0.5);
gstate.SetStrokeOpacity(0.5);
painter.SetExtGState(&gstate);
painter.Save();
painter.DrawText(100, 100, "test test test test test test test test 
test");

how to add watermark appear at front text but behind image?


thanks
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


[Podofo-users] Patch for creating font subset using Postscript name

2018-03-05 Thread Yurii Olenych
Hello,

I would like to submit a patch (see attached file) which allows creating
font subset using Postscript name of font face.
With the patch, you can embed any font face in TTC file, not only Bold,
Italic and BoldItalic.
Currently, on Windows, you can specify file path and face index manually.  I
will try to implement searching in future.

Please review and apply it.

-- 

Regards,

Yurii


Fontsubset_PS_name.patch
Description: Binary data
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


[Podofo-users] Resend: Re: Abolition of old-style casts, dynamic_cast intro request

2018-03-05 Thread Matthew Brincke
Hello all,

this is a resend because of a SourceForge.net mailing list
outage when it was originally (re)sent (I received an error
message for that in email yesterday, March 4, 09:21 CET).

-- Original Message --
From: Matthew Brincke 
To: zyx , podofo-users@lists.sourceforge.net
Date: 28 February 2018 at 22:54
Subject: Re: [Podofo-users] Abolition of old-style casts, dynamic_cast intro 
request
Hello zyx, hello all,

> On 28 February 2018 at 09:06 zyx  wrote:
> 
> 
> On Tue, 2018-02-27 at 22:22 +0100, Matthew Brincke wrote:
> > Thanks in advance for granting my request.
> 
>   Hi,
> from my point of view, and I confess I code in C more than in C++ these
> days/months/years, I do not care much as long as the code does what it
> is supposed to do. Of course, I prefer dynamic_cast when it comes to
> inheritance, thus the code can verify that the passed-in object is what
> it is supposed to be.
sounds good (as double-check, the enum about what kind it is, is checked).

> 
> Anyway, definitely do not do any such change just before the release.
> That's the worst idea one might have. There are plenty of patches to be
My intention was to make the code neat and tidy for the release, I read
in your answer fear of what shall be far from me: destabilization :-( ...

> reviewed and, as also Francesco said, more important work to be done
> first. You claimed you'll review patches during the last weekend (in
> message from Fri, 23 Feb 2018), but I didn't notice anything in this
I have committed and reviewed one patch just before the weekend's end (in
local time), I sent it to Francesco and the list, sourceforge.net lost it
(I configured my mailing list subscription to send my posts back to me
and didn't get it that time, I just suspected it might be delayed,
I wouldn't have put much faith in a resend). I'll resend it to you,
Francesco and the list right away.

> regard. Maybe stay on the safe side, do not promise things you might
> not accomplish for sure. :)

Yes, that's also my opinion, I hope I hadn't promised to review more than
one patch, I'm sorry that the one review email didn't reach you.

>   Bye,
>   zyx

Best regards, mabri

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users