stevemaughan

stevemaughan / smPDF

Public

Simple, lightweight PDF writer for Delphi VCL

19
3
100% credibility
Found May 05, 2026 at 19 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Pascal
AI Summary

smPDF is a self-contained tool for generating PDF documents with text, graphics, embedded fonts, images, and multi-page layouts from Windows programs.

How It Works

1
🔍 Discover smPDF

You need to create professional PDFs like invoices or maps for your Windows work and find this simple tool.

2
📖 Explore examples

Look at the friendly guide and pictures showing beautiful invoices, maps, rotated text, and images you can make.

3
Create your first PDF

Start a new page, add big bold 'Hello PDF!' text, draw a colorful line, and save it as a file in moments.

4
🖊️ Add text and styles

Choose fonts, make text bold or outlined, rotate words, add backgrounds, and wrap paragraphs neatly.

5
📐 Draw shapes and pictures

Sketch lines, boxes, circles, complex maps with holes, and drop in your photos or logos.

6
📄 Build full documents

Make multiple pages in different sizes and directions, perfect for reports or posters.

🎉 Share your PDF

Open the crisp file and feel proud sharing your polished invoice, map, or artwork with everyone.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 19 to 19 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is smPDF?

smPDF is a pure-Pascal library for Delphi VCL apps on Windows, letting you generate PDF 1.4 files directly from code with zero dependencies. It mirrors the VCL canvas API for drawing text, lines, shapes, images (JPEG, PNG, BMP), and multi-page docs at custom DPIs. Developers get a simple way to export reports, invoices, or maps without bulky third-party tools or external libs.

Why is it gaining traction?

Its dead-simple API—think DrawText, DrawLine, NewPage—feels like extending TCanvas, with extras like embedded TrueType fonts, rotated/outlined text, word-wrapped paragraphs, and polygon clipping. No bloat: 272 tests pass, outputs stay tiny (e.g., 11KB invoices), and it handles real tasks like choropleth maps from GeoJSON. For Delphi devs, it's a lightweight smallpdf alternative in a simple GitHub repo style, beating heavyweights on footprint and integration.

Who should use this?

Delphi VCL developers building desktop apps that need PDF exports, like invoice generators, sales dashboards, or GIS tools rendering territory maps. It's ideal for Windows shops wanting quick, self-contained reporting without learning new frameworks—perfect for simple GitHub projects or student prototypes in Pascal.

Verdict

Grab it if you're in Delphi and need lightweight PDF output; solid docs, demos, and tests make it production-ready despite 19 stars and 1.0% credibility score. Still early—watch for Unicode and subsetting updates before heavy Unicode use.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.