Coder Social home page Coder Social logo

setafpdf's People

Contributors

janslabon avatar maximiliankresse avatar scholz-timo avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

setafpdf's Issues

Can not install this package

Hello, we have bought the SetaPDF-Core and I'm trying to install this package, but it gives me an error because the composer tries to install the next:

Installing setasign/eval/setapdf-core/ioncube (1.0.2237252): Downloading (failed)

and we get

  [Composer\Downloader\TransportException]
  The "https://www.setasign.com/downloads/eval/{someId}/ioncube/SetaPDF-Core-License.zip" file could not be downloaded (HTTP/1.1 404 Not Found)

We have the latest core version.

And could you let me know if with this library we can work with utf-8 text and fonts?

Invalid doc block type hint for SetFont $size

The current doc block for the $size param of \setasign\SetaFpdf\SetaFpdf::SetFont() is:

@param string $size Font size in points. The default value is the current size. If no size has been specified 
                    since the beginning of the document, the value taken is 12.

Which calls internally \setasign\SetaFpdf\Modules\Font::set() which has the following doc block for $size:

@param string $size

But the size will be written into \setasign\SetaFpdf\StateBuffer\Font::$currentFontSize (without casting) which expects int|float.

The default of Fpdf for this method is also the integer 0 and not an empty string. This should be fixed.

autoload.php is invalid

Needs to be:

spl_autoload_register(function ($class) {
    if (strpos($class, 'setasign\\SetaFpdf') === 0) {
        $filename = str_replace('\\', DIRECTORY_SEPARATOR, substr($class, 17)) . '.php';
        $fullpath = __DIR__ . DIRECTORY_SEPARATOR . $filename;

        if (is_file($fullpath)) {
            /** @noinspection PhpIncludeInspection */
            require_once $fullpath;
        }
    }
});

Exception 1536

Hello, i have an error exception :

" Exception reçue : Security handler not authenticated, so no encryption key is known. Authenticate first!. N° d'exception : 1536 "

Could you help me to find the error? Missing library on the server?

Thx

Composer download throttling recommendations

Hi Dear Maintainers,

We currently use your application solution setapdf-stampe and ran into a throttling limitation. What would be the recommendation to download the library? We're using the composer reference as recommended in this repository.

Error details

In CurlDownloader.php line 617:

The "https://www.setasign.com/downloads/2854243/SetaPDF-Core_2.36.0.1597-without-demos.zip" file could not be downloaded (HTTP/1.1 429 You have downloaded more than 200 files! Please wait 24 hours to download more.)

Composer reference

"setasign/setapdf-stamper": "2.36.0.1597"
...
"repositories": [
        {
            "type": "composer",
            "url": "https://www.setasign.com/downloads/"
        }
    ],

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.