Git Product home page Git Product logo

react-pdf-site's People

Contributors

alexwheeler avatar aroyan avatar arvindell avatar atomicpages avatar bdkopen avatar byeokim avatar carlobeltrame avatar charlynux avatar corahama avatar damianpumar avatar dependabot[bot] avatar diegomura avatar dougmacknz avatar duncanmacweb avatar edward-designer avatar ferdinandsalis avatar gonzalo-gc avatar hugoweb23 avatar idrisadetunmbi avatar jb-reefer avatar jeetiss avatar karlhorky avatar katzenbar avatar manfrin92 avatar sbamniya avatar ssteeg-mdsol avatar tehpsalmist avatar trevorblades avatar wkrueger avatar wojtekmaj 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

react-pdf-site's Issues

Incorrect Twemoji CDN

Recently I have experienced failures while generating PDFs with emojis. As per twitter/twemoji#580 MaxCDN is no longer accessible. Examples in the documentation should be changed to

Font.registerEmojiSource({
  format: "png",
  url: "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/72x72/",
});

Upgrade to React 18

Hi all,

I have upgrade my application to use react 18, but having peer-deps issues. Now it's not a big deal, since I can for the npm install --force and my app is fine. But would like to upgrade this library to use React 18, I think it'll be helpful for most people using React 18.

Cannot install react-pdf

When i try to install the package it throws an error

Exit code: 1
Command: npm run build:node
Arguments:
Directory: C:\Users\Ajmal Jada\Desktop\UC\pdf-gen\pdf-gen\node_modules\yoga-layout
Output:
> [email protected] build:node C:\Users\Ajmal Jada\Desktop\UC\pdf-gen\pdf-gen\node_modules\yoga-layout
> npm run copy-sources && autogypi && node-gyp configure build


> [email protected] copy-sources C:\Users\Ajmal Jada\Desktop\UC\pdf-gen\pdf-gen\node_modules\yoga-layout
> ! npm -s run is-monolithic || (rsync -r --checksum --delete ../yoga/ sources/yoga/)

'!' is not recognized as an internal or external command,
operable program or batch file.
'rsync' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] copy-sources: `! npm -s run is-monolithic || (rsync -r --checksum --delete ../yoga/ sources/yoga/)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] copy-sources script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Ajmal Jada\AppData\Roaming\npm-cache\_logs\2018-11-03T23_43_21_066Z-debug.log```

I tried both npm and yarn. I think there is a problem with yoga-layout. 

Animated logo distracts

If you want to attract attention to something, make it red and make it move ๐Ÿ˜„

I can't read the docs at the moment, my eyes always want to look at the logo ๐Ÿ˜…

Bulletpoints alignment problem in pdf

Hi,
I am using react-pdf and react-pdf-html to create a pdf.
My pdf contains html text with bullets, wrapped in tag

import { Document } from '@react-pdf/renderer'
import Html from 'react-pdf-html'

... {htmlTextWithBullets}

As as result I have following problem. If bullets have incorrect alignment
Screenshot 2023-10-19 at 18 52 44

Could you please assist with it?

Banner blocks Menu button on mobile

When viewing the react-pdf website on an iPhone, the Announcement banner covers the 'menu' (hamburger) button.

This makes it basically impossible to navigate to any other pages on the site.

Screenshot:
IMG_05FE33314A2D-1

Cannot install with latest react

npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! react@"^18.1.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.8.6 || ^17.0.0" from @react-pdf/[email protected] npm ERR! node_modules/@react-pdf/renderer npm ERR! @react-pdf/renderer@"*" from the root project

This is a brand new project with no other dependencies installed.

Reproducible by:

npx create-react-app demo
cd demo
npm install @react-pdf/renderer --save

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.