verypdf blog

Substitute fonts in PCL to PDF Converter product

Hi again,

just to give you an example of what I mean, in attachment to this you will find an image containing the comparison between the original pdf file (maggio_2011.pdf) and the compiled one (clear_buffer.pdf, obtained compiling clear_buffer.pcl with your library).

I highlighted in red only a subset of the differences you can find in the entire page.

I also have another old question for you.

The 11th of August I sent you an email regarding the need to use the old/italic/underlined version of some font ("What if I need to use the bold version of Arial or the italic one?") and the day after you answered me in this way:

"WinFont" doesn't support bold or italic fonts, however, you can choose "Arial Rounded MT" or other special fonts to make the fonts look "bold", we hoping this solution will helpful to you.

Also, you can also use "WinFont=Arial,Bold" to instead of "WinFont=Arial Bold" to try again, will you work better with "WinFont=Arial,Bold" format?

I tried to use "WinFont=Arial,Bold", but didn't work.

So I  have also this problem, because I must use, for instance, bold font or italic ones. It's mandatory for me.
If your library doesn't support bold/italic fonts, can you give me a trick/workaround to map bold-italic-underlined windows fonts? If not, I'm not sure I can use your library for my job.

Thank you so much.

Regards,
================================================
Thanks for your image file, we can see the difference completely now.

Please look at attached PDF file, this PDF file was created by following command line, without "-mapfont" option,

test.exe D:\temp\clear_buffer.pcl D:\temp\clear_buffer.pcl2.pdf

this PDF file seems no difference compare to maggio_2011.pdf file, please refer to the compare.png screenshot in attachment.

Also, mapfont.ini file doesn't support Italic and Bold font styles yet, we will try to support Italic and Bold font styles in the future releases.

VeryPDF
==================================================
without "-mapfont" option some of the font differences disappeared, but others still remain.

In attachment there's a png file where you can find other differences I found. I don't know how to solve this problem.

Thanks in advance.
Regards,
==================================================
You can use mapfont.ini file to replace "URWGothicL-Demi" font to "Arial" font, please refer to the new mapfont.ini file in attachment.

You can use following example source code to use mapfont.ini file,

~~~~~~~~~~~~
Char *lpCmd = "-mapfont D:\\verypdf\\mapfont.ini D:\\temp\\clear_buffer.pcl D:\\temp\\clear_buffer.pcl.pdf";
VeryPDFPCLConverter(lpCmd);
~~~~~~~~~~~~

However, because mapfont.ini file doesn't support Bold Style, so it can't use Arial font with the Bold Style, this is a limitation in the current version of mapfont module, we will try to support font style in mapfont module in the future, we will send the new version to you free when it ready.

mapfont.ini file,

[MapFonts]
Number=1
EmbedFont=0

[MapFont1]
PDFFont=URWGothicL-Demi
WinFont=Arial

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
pdf split-merge

PDF Split merge is fail to merge my PDF files

I am having a continuous problem with the program crashing every time I try to merge pdfs.  I cannot get it to work – please help.

Thank you,
=============================
You can run following command lines to merge your PDF files,

"C:\Program Files\VeryPDF PDF Split-Merge v3.0\pdfpg.exe" C:\A.pdf,1,3 C:\merged.pdf

"C:\Program Files\VeryPDF PDF Split-Merge v3.0\pdfpg.exe" C:\A.pdf C:\B.pdf C:\C.pdf C:\merged.pdf

We hoping above command lines will merge your PDF files properly, please run them to try.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
doc to any converter

How to convert DOC, DOCX, RTF, PDF files to HTML files without MS Office installed?

Hi,

My Requirements are :
I am owning a webserver which host single site. I had a requirement to convert doc, docx , rtf and pdf  to HTML.
But i cannot install Office word on Webserver. If an need to install anything other than word which is license free i am ready to do so.
Will your component work for me. to convert above formats.

Server Windows  2008.
Application type: ASP.NET 4.0  WEbsite

Please let me know

Thanks
============================
Our DOC to Any Converter is able to convert DOC and RTF files to HTML files without MS Office installed, you may download the trial version of DOC to Any Converter from following web page to try,

http://www.verydoc.com/doc-to-any.html

For the PDF to HTML Converter, you can download PDF to HTML Converter Command Line product from following web page to try,

https://www.verypdf.com/pdf2htm/index.html#dl

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
pdf to image converter

Convert PDF file to ClassF compatible TIFF files

Hello veryPDF,
[Question]
Our FAX cannot recognize TIFF image with Group 3 Fax (CCIT FAX3)
compression converted by easyPDF SDK.
As for Group 3 Fax (CCIT FAX3) compression, "Compression" tag should be
"3" and "Group3Options" tag has to be written in the TIFF data.
However the created TIFF image does not have Group3Options tag.
I assume that is why our FAX cannot recognize the TIFF image
as correct format of Group 3 Fax (CCIT FAX3) compression.
Is CCITT FAX GROUP3 supposed to output Class F compatible format?

=========================

PDF to Image SDK does support following compression methods,

#define        COMPRESSION_NONE        1    /* dump mode */
#define        COMPRESSION_CCITTRLE    2    /* CCITT modified Huffman RLE */
#define        COMPRESSION_CCITTFAX3   3    /* CCITT Group 3 fax encoding */
#define        COMPRESSION_CCITTFAX4   4    /* CCITT Group 4 fax encoding */
#define        COMPRESSION_LZW         5       /* Lempel-Ziv  & Welch */
#define        COMPRESSION_JPEG        7    /* %JPEG DCT compression */
#define        COMPRESSION_PACKBITS    32773    /* Macintosh RLE */
#define        COMPRESSION_CLASSF                88888888
#define        COMPRESSION_CLASSF196            88888889
#define        COMPRESSION_CLASSF204X98_G3        88888886
#define        COMPRESSION_CLASSF204X196_G3    88888887
#define        COMPRESSION_CLASSF204X98_G4        88888888
#define        COMPRESSION_CLASSF204X196_G4    88888889

COMPRESSION_CCITTFAX3  is can only compress TIFF file with CCITT Group 3 fax encoding, however, it can’t general ClassF compatible TIFF files, if you wish create ClassF compatible TIFF files, you need use following compression types,

COMPRESSION_CLASSF
COMPRESSION_CLASSF196
COMPRESSION_CLASSF204X98_G3
COMPRESSION_CLASSF204X196_G3
COMPRESSION_CLASSF204X98_G4
COMPRESSION_CLASSF204X196_G4

these compression types will able convert PDF file to ClassF compatible TIFF files, please refer to following example source code,

        nResult = PDFToImageConverter(szPDFFileName,"C:\\204x98_g3.tif",NULL,NULL,200,200,1, COMPRESSION_CLASSF204X98_G3,100,FALSE,TRUE,-1,-1);

        nResult = PDFToImageConverter(szPDFFileName,"C:\\204x196_g3.tif",NULL,NULL,200,200,1, COMPRESSION_CLASSF204X196_G3,100,FALSE,TRUE,-1,-1);

        nResult = PDFToImageConverter(szPDFFileName,"C:\\204x98_g4.tif",NULL,NULL,200,200,1, COMPRESSION_CLASSF204X98_G4,100,FALSE,TRUE,-1,-1);

        nResult = PDFToImageConverter(szPDFFileName,"C:\\204x196_g4.tif",NULL,NULL,200,200,1, COMPRESSION_CLASSF204X196_G4,100,FALSE,TRUE,-1,-1);

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
pdf to image converter

PDF to Image SDK product, those characters look blurred because of white outline around the cahracters

Hello VeryPDF,
I am from XXXX Technologies. We get the issue here when converting PDF to image, we get white line along the Chinese Characters.
See the attached files for further explanation. I attached the sample.zip, this zip contains the input pdf file and affected bmp output.
I also attached our latest dll, perhaps this helps you to indicate/track where our dll version stands at.
Could you give us some feedback or answer why this happens please?
we really appreciate it, If you could priotize this issue. Thank you.

image

image

Example source code to call the VeryPDF PDF to Image SDK product,

Set objWshShell = CreateObject("WScript.Shell")
appPath = objWshShell.CurrentDirectory + "\"
Set objWshShell = Nothing

Set oConverter = CreateObject("VeryPDF-PDFConverter")
Set oPDF2Image = oConverter.PDF2Image

oPDF2Image.ImageResolution = 600
oPDF2Image.ImageColor = 2       ' CNV_IMAGE_CLR_8BIT
oPDF2Image.ImageFormat = 0      ' CNV_IMAGE_FMT_BMP
oPDF2Image.AddPageNumberForSingleFileOutput = True
oPDF2Image.MinimumPageNumberDigits = 3
oPDF2Image.PageNumberSeparator = "_"

oPDF2Image.Convert appPath + "input.pdf", appPath + "output.bmp"

Set oPDF2Image = Nothing
Set oConverter = Nothing

MsgBox "done"

=================================

We have fixed this problem to you, please download the latest version of PDF to Image SDK from our website to try again.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)