Git Product home page Git Product logo

powerpdf's People

Contributors

coppensbart avatar jimmckeeth avatar romankassebaum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

powerpdf's Issues

[bcc32 Warning] W8123 Path 'C:\Users\JPA\Documents\Embarcadero\Studio\20.0\CatalogRepository\PowerPDF-1.4cb\hpp\Win32\Debug' not found - path ignored in option '-I'

Hi,

Today I installed the PowerPDF from GetIt Packet Manager to the C++ Builder 10.3 Rio. The installation finished correctly. But from that time I get these warning to the Message box during the compilation of my C++ project (which don't use any of the PowerPDF components):

[bcc32 Warning] W8123 Path 'C:\Users\JPA\Documents\Embarcadero\Studio\20.0\CatalogRepository\PowerPDF-1.4cb\hpp\Win32\Release' not found - path ignored in option '-I'

I checked the folders in C:\Users\JPA\Documents\Embarcadero\Studio\20.0\CatalogRepository\PowerPDF-1.4cb\ and there is no hpp folder:

image

The corresponding folders are probably in:

  • for Release: C:\Users\JPA\Documents\Embarcadero\Studio\20.0\CatalogRepository\PowerPDF-1.4cb\Packages\Rio\CBuilder\Win32\Release
  • for Debug: C:\Users\JPA\Documents\Embarcadero\Studio\20.0\CatalogRepository\PowerPDF-1.4cb\Packages\Rio\CBuilder\Win32\Debug

I tried to modify values in file C:\Users\JPA\AppData\Roaming\Embarcadero\BDS\20.0\EnvOptions.proj:

  • from ;$(BDSCatalogRepository)\PowerPDF-1.4cb\hpp\$(Platform)\$(Config) to ;$(BDSCatalogRepository)\PowerPDF-1.4cb\Packages\Rio\CBuilder\$(Platform)\$(Config)

but that didn't help because the file is on every build overwrite with the previous setting.

Range check error in TPdfType1Font.GetCharWidth with Chars > 255

Hi,

if I use the €-sign (and certainly all other non-Ascii chars > 255) in my PDF form, with range settings enabled the library will crash.
This is because the FArray is only 256 big, but Ord of the €-sign is 8364.
I know it is not a perfect solution, but changing the function to this helps me as a workaround and prevents a crash.

{ TPdfType1Font }
function TPdfType1Font.GetCharWidth(AText: string; APos: integer): integer;
begin
  if ord(AText[APos]) >= Length(FArray) then
    result := 1000
  else
    result := FArray[ord(AText[APos])];
end;

Best regards
Simon

No visual component after get it in 10.3.1

After installing PowerPDF with GetIt under C++ Builder 10.3.1, no components are intalled.

I see that all the bpl files are in the C:\Users\Public\Documents\Embarcadero\Studio\20.0\BPL, the bpi files in C:\Users\Public\Documents\Embarcadero\Studio\20.0\DCP and the source files and header files in %USERPROFILE%\Documents\Embarcadero\Studio\20.0\CatalogRepository\PowerPDF-1.3cb directory.

Do I need to copy this file to the Embarcadero package directory? or do I need to set my Environment Variables under my Tools->Options menú to acces the components? or do I need to install the components with the Component->Install component... menu? or ...

Images are coming out pixeled

I am using PowerPDF to generate PDF documents that contain text as well as many thumbnails of images. The size of Image control for PowerPDF is set to 100 width and height.

I am loading images programmatically using ImageEn VCL.

Here is the download link to a sample PDF generated using PowerPDF.
https://www.dropbox.com/s/9uv23kqql7qr3c7/projectdetails.pdf?dl=0

Code snippet that I am using to load Image in PowerPDF Image Control
ieTemp.Proc.Resample(150, -1, TResampleFilter(0));
pdfImageR1C2.Picture.Assign(ieTemp.Bitmap);

TIA

Yogi Yang

Class Arial not found error

Either installed via GitHub or through GetIt, in both cases dropping a PrPage component on a VCL form fails.
Window 11 has the Arial class installed by default, thus is not suspected for causing the error. Neither is Delphi 12, which runs normally.
I compared the file PDFFonts.pas in Delphi12 and Delphi11 and found only one difference: "sysutils"was missing in the D12 version.
Can that be the reason why?

Russsian character

incorrect russion caracter, for Delphi use next code:

 function Rus(mes: string):string;
  var  i: integer; 
  begin
    SetLength(Result,length(mes));
    for i:=1 to length(mes) do
      case mes[i] of
        'А'..'п' :Result[i] := Chr(Ord(mes[i]) - 64);
        'р'..'я' :Result[i] := Chr (Ord(mes [i] ) -16);
        else Result[i]:=mes[i];
      end;
  end; 

That use for c++ builder?

78 Errors upon installing PowerPDF from GetIt

When installing PowerPDF through GetIt, (Delphi 10.4) and trying to import and create a TStringGrid and export as a PDF using TPRGridPanel. However, when adding powerpdf to uses and creating a TPRGridPanel variable and compiling, I encounter 78 errors from the PReport file. Including:
Undeclared Identifier: "TCustompanel"
Class type required at line 196
Undeclared Identifier: "TControl"
Etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.