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

Add INR symbol #1

Closed
shuklaalok7 opened this issue Apr 2, 2015 · 6 comments
Closed

Add INR symbol #1

shuklaalok7 opened this issue Apr 2, 2015 · 6 comments
Assignees
Milestone

Comments

@shuklaalok7
Copy link
Member

INR symbol should get printed in the PDF.
This may require to use some font which has ₹ in it. This link has steps to add a cutom font to use in pdfmake. The same is discussed at bpampuch/pdfmake#33.

@shuklaalok7 shuklaalok7 self-assigned this Apr 2, 2015
@shuklaalok7 shuklaalok7 added this to the v1.0.0 milestone Apr 3, 2015
@shuklaalok7
Copy link
Member Author

Ubuntu font contains ₹. It can be downloaded from here.

@mpsbhat
Copy link

mpsbhat commented Mar 1, 2017

What is the key in ubuntu font family to add symbol? Myself used with Ubuntu-R.ttf font & build the vfs_fonts.js file. But no use when trying with both & U+20B9 in typing.

@shuklaalok7
Copy link
Member Author

shuklaalok7 commented Mar 1, 2017

@mpsbhat Simply use vfs_fonts.js file from this repository. It contains Roboto font which has ₹ symbol.

@mpsbhat
Copy link

mpsbhat commented Mar 1, 2017

But myself using some other fonts also in my application. Also is it possible to use UTF-8 fonts like Kannada. Tried and failed with lohit kannada, baraha & nudi fonts.

@shuklaalok7
Copy link
Member Author

Make sure that those font have ₹ symbol, and you'll be able to see it on the PDF, when you use &#8377 in HTML or use ₹ (typed using shift + 4 in some indianized keyboards).

@mpsbhat
Copy link

mpsbhat commented Mar 2, 2017

Thank you for the information.
Is there any ways to include Kannada fonts (unicode) also?

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

No branches or pull requests

2 participants