News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Add custom font for invoice

Started by Kuubs, April 29, 2020, 22:03:57 PM

Previous topic - Next topic

Kuubs

Hello,

How can I add a custom font for the invoice of Virtuemart. It uses TCPDF which can import custom fonts, but how can I achieve this?

pinochico

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

Kuubs

Quote from: pinochico on April 29, 2020, 23:05:39 PM
I try to search on google:

https://stackoverflow.com/questions/29896102/how-do-you-add-custom-fonts-in-tcpdf
http://queirozf.com/entries/adding-a-custom-font-to-tcpdf
https://ourcodeworld.com/articles/read/601/how-to-implement-custom-fonts-in-tcpdf

YEah I tried that, but that is not working for the TCPDF that Virtuemart has for some strange reason. I cannot seem to get it to work. Is there a way to just use the latest version of TCPDF instead of this weird version VM uses?

jenkinhill

I seem to remember that there are licence issues with the current TCPDF which prevents it from being included with VirtueMart. I think someone on this forum did report on how to install & use a later TCPDF version.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum