<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/libharu/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/libharu/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 21 Oct 2020 05:55:44 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/libharu/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>#11 Support for Patterns</title><link>https://sourceforge.net/p/libharu/feature-requests/11/?limit=25#f859</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Does libharu pdf library is able to produce graphs?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kalyan</dc:creator><pubDate>Wed, 21 Oct 2020 05:55:44 -0000</pubDate><guid>https://sourceforge.netaca9b209317343470776fd5ec97fa8747685e038</guid></item><item><title>Support for Patterns</title><link>https://sourceforge.net/p/libharu/feature-requests/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Is there any plan to support for Patterns?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 22 Feb 2007 13:13:03 -0000</pubDate><guid>https://sourceforge.net5f581ef6b2159a694bfd798e740d8699eeecd3fc</guid></item><item><title>Can you add UNICODE support in libharu2?</title><link>https://sourceforge.net/p/libharu/feature-requests/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Can you add UNICODE support in libharu2?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 30 Jan 2007 10:28:19 -0000</pubDate><guid>https://sourceforge.net9c9117cd03a6d75ef97e90eeaee4342dd3507456</guid></item><item><title>Can you add PDF parsing support?</title><link>https://sourceforge.net/p/libharu/feature-requests/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Can you add PDF parsing support?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 03 Dec 2006 15:42:40 -0000</pubDate><guid>https://sourceforge.net78269cb28003d01fda21d220d9c52d3b09d69b55</guid></item><item><title>HPDF_Load...FromMem should be exported</title><link>https://sourceforge.net/p/libharu/feature-requests/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Will be good to have mem versions of next functions:&lt;br /&gt;
HPDF_LoadTTFontFromFile&lt;br /&gt;
HPDF_LoadPngImageFromFile&lt;br /&gt;
HPDF_LoadJpegImageFromFile&lt;/p&gt;
&lt;p&gt;i.e.&lt;br /&gt;
HPDF_LoadTTFontFromMem&lt;br /&gt;
HPDF_LoadPngImageFromMem&lt;br /&gt;
HPDF_LoadJpegImageFromMem&lt;/p&gt;
&lt;p&gt;to avoid needs in temporary files.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aleksey Prudkiy</dc:creator><pubDate>Tue, 28 Nov 2006 13:43:43 -0000</pubDate><guid>https://sourceforge.netb81a0953db794c11a03913bde75bad6d3ede7d52</guid></item><item><title>Support for JBIG files please</title><link>https://sourceforge.net/p/libharu/feature-requests/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Later versions of the PDF spec support additional &lt;br /&gt;
image types.&lt;/p&gt;
&lt;p&gt;It would be very useful if you could add in support &lt;br /&gt;
for the JBIG file format which is supported in v1.4&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;
Adrian Nelson&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ade</dc:creator><pubDate>Mon, 06 Nov 2006 23:55:58 -0000</pubDate><guid>https://sourceforge.netec3d0c600006209d5c53fc51606e3b2e0d7cadae</guid></item><item><title>A Couple Of changes - Pixels per Metre</title><link>https://sourceforge.net/p/libharu/feature-requests/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Here are a couple of changes I have made to my (old) &lt;br /&gt;
copy of libharu. &lt;/p&gt;
&lt;p&gt;1. Provide the ability to set the Creation Date &lt;br /&gt;
Property.&lt;/p&gt;
&lt;p&gt;2. Provide the ability to determine the Pixels Per &lt;br /&gt;
Metre for PNG images. &lt;br /&gt;
This important change allows us to scale the image &lt;br /&gt;
correctly so that it not only appears correctly on the &lt;br /&gt;
screen, but importantly when printing out the PDF file &lt;br /&gt;
the image retains its original size.&lt;/p&gt;
&lt;p&gt;// Liharuc.h&lt;/p&gt;
&lt;p&gt;The following definitions have been added.....&lt;/p&gt;
&lt;p&gt;/*-----------------------------------------------------&lt;br /&gt;
----------------------*/&lt;br /&gt;
/*----- PdfInfo class ---------------------------------&lt;br /&gt;
----------------------*/&lt;/p&gt;
&lt;p&gt;int pdf_info_set_creation_date(pdf_info info, pdf_date &lt;br /&gt;
date);&lt;/p&gt;
&lt;p&gt;/*-----------------------------------------------------&lt;br /&gt;
-----------------------*/&lt;br /&gt;
/*----- PdfImage class --------------------------------&lt;br /&gt;
-----------------------*/&lt;/p&gt;
&lt;p&gt;unsigned int pdf_image_get_pixels_per_meter(pdf_image &lt;br /&gt;
image);&lt;/p&gt;
&lt;p&gt;//Libharu.h&lt;/p&gt;
&lt;p&gt;/*-----------------------------------------------------&lt;br /&gt;
-----------------------*/&lt;br /&gt;
/*----- PdfImage class --------------------------------&lt;br /&gt;
-----------------------*/&lt;/p&gt;
&lt;p&gt;The following elements were added to the class - no &lt;br /&gt;
other changes here.&lt;/p&gt;
&lt;p&gt;class PdfImage : public PdfXObject&lt;br /&gt;
{&lt;br /&gt;
public:&lt;br /&gt;
unsigned int    PixelsPerMeter()     { return &lt;br /&gt;
fPixelsPerMeter; }&lt;br /&gt;
protected:&lt;br /&gt;
unsigned int    fPixelsPerMeter;&lt;/p&gt;
&lt;p&gt;};&lt;/p&gt;
&lt;p&gt;//Libharuc.cc&lt;/p&gt;
&lt;p&gt;The following C interface functions were added.&lt;/p&gt;
&lt;p&gt;/*-----------------------------------------------------&lt;br /&gt;
----------------------*/&lt;br /&gt;
/*----- pdf_info --------------------------------------&lt;br /&gt;
----------------------*/&lt;/p&gt;
&lt;p&gt;int pdf_info_set_creation_date(pdf_info info, pdf_date &lt;br /&gt;
date)&lt;br /&gt;
{&lt;br /&gt;
PDF_INFO_SAFE_CALL(info, SetCreationDate, (date));&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;/*-----------------------------------------------------&lt;br /&gt;
----------------------*/&lt;br /&gt;
/*----- pdf_image -------------------------------------&lt;br /&gt;
----------------------*/&lt;/p&gt;
&lt;p&gt;unsigned int pdf_image_get_pixels_per_meter(pdf_image &lt;br /&gt;
image)&lt;br /&gt;
{&lt;br /&gt;
if (image == NULL)&lt;br /&gt;
return 0;&lt;/p&gt;
&lt;p&gt;PdfImage* image_obj = (PdfImage*)image;&lt;br /&gt;
return image_obj-&amp;gt;PixelsPerMeter();&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;// PdfPngImage.cc&lt;/p&gt;
&lt;p&gt;/*-----------------------------------------------------&lt;br /&gt;
-----------------------*/&lt;br /&gt;
/*----- PdfPngImage class -----------------------------&lt;br /&gt;
-----------------------*/&lt;/p&gt;
&lt;p&gt;The following element was added......&lt;/p&gt;
&lt;p&gt;PdfPngImage::PdfPngImage(PdfDoc* doc)&lt;br /&gt;
: PdfImage(doc)&lt;br /&gt;
{&lt;/p&gt;
&lt;p&gt;fPixelsPerMeter = 0;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;The following changes were made to this function....&lt;/p&gt;
&lt;p&gt;void&lt;br /&gt;
PdfPngImage::LoadFromFile(const char* filename)&lt;br /&gt;
{&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;/p&gt;
&lt;p&gt;FILE* infile = NULL;&lt;/p&gt;
&lt;p&gt;// This variable was added directly after the infile &lt;br /&gt;
declaration.&lt;/p&gt;
&lt;p&gt;png_uint_32  ppm = 0;&lt;/p&gt;
&lt;p&gt;.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;/p&gt;
&lt;p&gt;try {&lt;/p&gt;
&lt;p&gt;/* io setting */&lt;br /&gt;
infile = OpenImageFile(filename);&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;/p&gt;
&lt;p&gt;png_uint_32 len = png_get_rowbytes(png_ptr, &lt;br /&gt;
info_ptr);&lt;/p&gt;
&lt;p&gt;// **** This next line ONLY was added directly after &lt;br /&gt;
ther above line. *****&lt;/p&gt;
&lt;p&gt;ppm = png_get_pixels_per_meter(png_ptr, info_ptr);&lt;/p&gt;
&lt;p&gt;.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;/* setting the info of the image. */&lt;br /&gt;
fWidth = (unsigned int)info_ptr-&amp;gt;width;&lt;br /&gt;
fHeight = (unsigned int)info_ptr-&amp;gt;height;&lt;br /&gt;
fBitsPerComponent = (unsigned int)info_ptr-&lt;br /&gt;
&amp;gt;bit_depth;&lt;/p&gt;
&lt;p&gt;// **** This next line ONLY was added directly after &lt;br /&gt;
the above line. *****&lt;/p&gt;
&lt;p&gt;fPixelsPerMeter = (unsigned int)ppm;&lt;/p&gt;
&lt;p&gt;.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;/p&gt;
&lt;p&gt;fHasImage = true;&lt;br /&gt;
return;&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">LeslieM</dc:creator><pubDate>Tue, 18 Jul 2006 12:45:49 -0000</pubDate><guid>https://sourceforge.net8b77249e2d7aaabaeaffd8c949e30fadf21a0819</guid></item><item><title>Page resolution</title><link>https://sourceforge.net/p/libharu/feature-requests/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;First of all, the library is excellent.&lt;/p&gt;
&lt;p&gt;Would it be possible to add an option to set page&lt;br /&gt;
resolution in addition to the page size? For example,&lt;br /&gt;
if I am inserting a high resolution image (say from a&lt;br /&gt;
scanner that scanned at 300dpi),then the image size&lt;br /&gt;
would be pretty high, but I would still like the image&lt;br /&gt;
to be displayed in a 8.5x11in document, so if the page&lt;br /&gt;
resolution is increased to 300dpi, then the image will&lt;br /&gt;
display correctly.&lt;/p&gt;
&lt;p&gt;Thanks and again, keep up the excellent work!&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">d4rk</dc:creator><pubDate>Wed, 02 Nov 2005 23:57:02 -0000</pubDate><guid>https://sourceforge.net0f8ad633aaff09d1fbc584ffccddc31e167621a9</guid></item><item><title>Linearization</title><link>https://sourceforge.net/p/libharu/feature-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Linearization (Fast Web View) would be very useful. It is &lt;br /&gt;
part of the v1.2 PDF specification - and is the ability to &lt;br /&gt;
be able to view the first pages of a multi-page PDF &lt;br /&gt;
document without having to wait for the whole document &lt;br /&gt;
to be downloaded.&lt;/p&gt;
&lt;p&gt;Linearization organises the pdf so that the content of &lt;br /&gt;
every page is optimised and all data for that page is &lt;br /&gt;
located nearby (more information can be found in the &lt;br /&gt;
latest - and earlier I would have thought - Adobe PDF &lt;br /&gt;
Reference 1.5, Appendix F Linearized PDF). &lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;
Adrian Nelson&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ade</dc:creator><pubDate>Sat, 08 Oct 2005 08:43:13 -0000</pubDate><guid>https://sourceforge.net78c80bd028b36d9afa22b6d1d342441cf219a2ac</guid></item><item><title>Can you add CCITT and J2K Support?</title><link>https://sourceforge.net/p/libharu/feature-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Can you add CCITT and J2K support?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 30 Nov 2004 06:33:06 -0000</pubDate><guid>https://sourceforge.netb3593fd4c9a6cc20f175b916949c66b12e2db221</guid></item></channel></rss>