Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize the output font #12

Open
arjun1194 opened this issue Aug 9, 2021 · 1 comment
Open

Customize the output font #12

arjun1194 opened this issue Aug 9, 2021 · 1 comment

Comments

@arjun1194
Copy link

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants