svg2pdf.js
dungeonz
Our great sponsors
svg2pdf.js | dungeonz | |
---|---|---|
5 | 21 | |
625 | 73 | |
3.5% | - | |
5.8 | 8.6 | |
22 days ago | almost 2 years ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
svg2pdf.js
-
Is node the right choice for HTML to PDF conversion?
You should check out Vercel's Satori package. You can generate SVGs from JSX without a chromium instance. Pair that with something like https://github.com/yWorks/svg2pdf.js/ and you might be onto something.
- Forking Chrome to Turn HTML into SVG
-
What's a good way to deliver printable reports?
If you need to print to exact dimensions, you MUST use PDF. This was what i needed, so I draw everything to an SVG, and made sure that my units were in "pt" (that is 1px = 1/72inch). When creating the PDF, I specified that the units were in "pt" and used https://github.com/yWorks/svg2pdf.js/ to convert the SVG. Note that this has major disadvantages. SVG does not support word wrap by default; you'll have to write your own. You'll also have to get users to specify a paper size in your app. Again, test, test, test. If you want to preview the PDF, not all browsers can display PDF natively (looking at you Android)! Some browsers won't print exact size even in PDF (Android). Some browsers will reduce page margins if printing from an inline iframe preview (Safari). You need annoying workarounds. Like downloading instead of previewing the file on Android, or making sure to always open a new tab on Safari.
-
Creating a PDF
I used it with https://github.com/yWorks/svg2pdf.js/ which makes it easy to draw diagrams too.
-
Guest WiFi using a QR code
Hmm, after tinkering around a bit, I think according to https://github.com/yWorks/svg2pdf.js/issues/82 , the mask element in the giraffe SVGs is not supported in the PDF converter. It is just dropped, leafing the qraffe rather qr-less.
But I sadly know neither svg enough to think up an alternative approach, or a JS/TS dev enough to see if there are other libraries.
dungeonz
-
Dungeonz is now Rogueworld!
Some of you may have noticed that dungeonz.io no longer works, and that the domain name has expired.
-
Open-source 2D MMORPG looking for contributors
Open-source; Code, art assets, designs, upcoming features, it's all publicly available, well maintained, and easily extendable. Check it out on GitHub to learn more about the project, and consider becoming a contributor.
-
Anything with Simplified English?
All this talk of Orcs and Elves can be a bit hard for most English speakers to understand (most English speakers have another primary language). Is there anything out there, preferably web-based like aidungeon.io or dungeonz.io that is written in easy to understand English?
-
dungeonz.io
dungeonz.io
- Dungeonz.io - 2D browser MMORPG
- Open-source 2D MMORPG looking for contributors (working base game)
-
[HOBBY / RevShare] Developer / Programmer looking to join your project!
https://dungeonz.io https://github.com/Arcanorum/dungeonz
-
Welcome to the Dungeonz Quest Board!
When you finish the quest, either PM me here or contact me in dungeonz.io.
-
Any hobbyist team willing to work with newb programmer?
There are a bunch of small, self contained units of content that can be worked around any amount of free time you have, that can be added to an existing live game. https://github.com/Arcanorum/dungeonz/issues https://dungeonz.io/
What are some alternatives?
pdf-lib - Create and modify PDF documents in any JavaScript environment
template-rollup-typescript - A quick-start project template that uses Phaser 3, TypeScript and Rollup for bundling
canvas2svg - Translates HTML5 Canvas draw commands to SVG
essence-helper-jovo - A voice app that provides information about ZenithVR MMORPG
jsPDF - Client-side JavaScript PDF generation for everyone.
CyberCodeOnline - Cyberpunk Text MMO RPG, built with React.js & Typescript
react-pdf - 📄 Create PDF files using React
space-battleship - Multiplayer spaceship game
satori - Enlightened library to convert HTML and CSS to SVG
rogueworld - Everything for the game Rogueworld.
TypeStat - Converts JavaScript to TypeScript and TypeScript to better TypeScript. 🧫
cfc - Demo/test android app for libcimbar. Copy files over the cell phone camera!