[Podofo-users] Patches for font encoding and digital signatures

2016-04-15 Thread Josef Rokos
ctionary. Because of this characters with accent had incorrect spacing. Best reggards Josef Rokos signatur_field.patch Description: Binary data type1font_encoding.patch Description: Binary data -- Find and fix appli

Re: [Podofo-users] Patches for font encoding and digital signatures

2016-04-25 Thread Josef Rokos
Hi, yes it is ok. My mistake, sorry. J. Rokos On Thu, Apr 21, 2016 at 5:07 PM, zyx wrote: > On Wed, 2016-04-20 at 16:07 +, Matthew Brincke wrote: > > There are some bad spelling mistakes in it ("Cerifiacion" instead of > > the correct "Certification"), so could you (zyx) please commit the

[Podofo-users] Patch for TTF font character spacing

2016-04-29 Thread Josef Rokos
- characters with accent had incorrect spacing. Best reggards Josef Rokos PdfFontSimple.cpp.patch Description: Binary data -- Find and fix application performance issues faster with Applications Manager Applications Manager provides

Re: [Podofo-users] Patch for TTF font character spacing

2016-05-05 Thread Josef Rokos
//file.bukova.info/f/a752893bce/?raw=1 It was to big for attachement so i have upload it to my server. Regards J. Rokos On Wed, May 4, 2016 at 7:00 PM, zyx wrote: > On Fri, 2016-04-29 at 15:22 +0200, Josef Rokos wrote: >> in attachement is patch for correct character spacing when us

Re: [Podofo-users] Patch for TTF font character spacing

2016-05-09 Thread Josef Rokos
Hi, > What about fixing PdfFontMetricsFreetype::GetWidthArray() instead? It > would make more sense, I believe, and fix more (future) issues at once Yes you are right. In attached patch is refactored method GetWidthArray(). I added pointer to encoding as default parameter equals NULL. If it is no

Re: [Podofo-users] Incrementally sign PDF

2016-09-20 Thread Josef Rokos
Hi, this code tells Acrobat Reader that signature is in form: PdfAcroForm *frm = document.GetAcroForm(ePdfCreateObject, ePdfAcroFormDefaultAppearance_None); if(!frm->GetObject()->GetDictionary().HasKey(PdfName("SigFlags"))) { pdf_int64 val = 3; frm->GetObject()->GetDictionary(

Re: [Podofo-users] Pdf displays not correct

2016-11-16 Thread Josef Rokos
Hi, for me character spacing with PdfIdentityEncoding works only on CID fonts (method CreateFontSubset). Correct spacing on TTF fonts without subsetting has only single byte encodings. Best regards J. Rokos On Wed, Nov 16, 2016 at 1:18 PM, liben...@zhongfu.net wrote: > hiļ¼Œall: > I have some

[Podofo-users] PdfSignatureField SubFilter

2019-01-31 Thread Josef Rokos
r all possible values of SubFilter, see: https://www.adobe.com/devnet-docs/acrobatetk/tools/QuickKeys/Acrobat_SignatureCreationQuickKeyAll.pdf Best regards Josef Rokos ___ Podofo-users mailing list Podofo-users@lists.sourceforge.net

[Podofo-users] PdfSignatureField SubFilte

2019-01-31 Thread Josef Rokos
I forgot to attach the patch in mail before. I'm sorry. J. Rokos signature_field.patch Description: Binary data ___ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users

[Podofo-users] Patches for text wrapping and PDF field max chars

2020-09-24 Thread Josef Rokos
ethod. In the second file field_max_chars.patch is patch for trimming unicode text in PdfTextField::SetText method when maximum length is set. Without patch it incorrectly counts one letter as two characters. Best regards Josef Rokos field_max_chars.patch Description: Binary data space_recogni