Customize the output font
arjun1194 opened this issue · comments
arjun1194 commented
I want to change the output font to something other than the font that is currently being used
default:
p.font = `'Courier Prime', 'Courier New', 'Courier', monospace`;
p.size -= 2;
p.style = '@import url("https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap");';
break;
receiptline commented
Thank you for using receiptline!
You can change the source code and specify your favorite font.
We are also considering putting the font specification out of the source code.
However, it is difficult to set fonts that adapt to various environments.