Skip to content

Releases: h1dd3nsn1p3r/pdf-invoice

0.0.8

23 Jun 15:18
ee9398a
Compare
Choose a tag to compare

What's Changed

/* --------------------------------------------------------------------------
	Optional: Config
  -------------------------------------------------------------------------- */
const config = {
	string: {
		invoice: "F A C T U A",
		refNumber: "Referencia",
		date: "Fecha",
		dueDate: "Fecha de vencimiento",
		status: "επί πληρωμή",
		billTo: "Facturar a",
		item: "Artículo",
		quantity: "Cantidad",
		price: "Precio",
		tax: "Impuesto",
		total: "Total",
		subTotal: "Subtotal",
		totalTax: "Total Impuesto",
	},
	style: {
		font: "Noto", // "Helvetica", "Times", "Courier"
		fontSize: 10,
		lineHeight: 1.2,
		color: "#000000",
	},
	font: {
		Noto: {
			normal: path.join(__dirname, "fonts/noto/regular.ttf"),
			italics: path.join(__dirname, "fonts/noto/italic.ttf"),
			bold: path.join(__dirname, "fonts/noto/bold.ttf"),
			bolditalics: path.join(__dirname, "fonts/noto/bold-italic.ttf"),
		},
	},
};

Full Changelog: 0.0.7...0.0.8

0.0.7

20 Jan 18:07
e4380f9
Compare
Choose a tag to compare

What's Changed

Limitations

For now, only Latin characters are supported. It seems like a limitation of the Helvetica font. I'll be adding support for other languages soon.

Full Changelog: 0.0.6...0.0.7

0.0.6

12 Jan 11:57
1d1c622
Compare
Choose a tag to compare

What's Changed

  • 🐛 Fix: Create function promise now returns resolve or reject. by @h1dd3nsn1p3r in #18
  • 📜 Updated: Docs.

Full Changelog: 0.0.5...0.0.6

0.0.5

05 Jan 10:51
3f9527f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.0.4...0.0.5

0.0.4

04 Jan 06:23
29f7987
Compare
Choose a tag to compare

What's Changed

  • 📦 Added: global.d.ts in npm.
  • 📰 Updated: readme doc.

Full Changelog: 0.0.3...0.0.4

0.0.3

03 Jan 18:48
f28a812
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.0.2...0.0.3

0.0.2

03 Jan 11:12
7a2ca99
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.0.1...0.0.2

0.0.1

03 Jan 07:50
8996c94
Compare
Choose a tag to compare

What's Changed

Full Changelog: https://github.com/h1dd3nsn1p3r/pdf-invoice/commits/0.0.1