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

Arabic #4

Closed
marutosi opened this issue Nov 30, 2014 · 3 comments
Closed

Arabic #4

marutosi opened this issue Nov 30, 2014 · 3 comments
Assignees
Milestone

Comments

@marutosi
Copy link

http://www.redmine.org/issues/16040

@naitoh naitoh added this to the 1.18.3 milestone Dec 6, 2014
@naitoh naitoh self-assigned this Dec 6, 2014
@naitoh
Copy link
Owner

naitoh commented Dec 6, 2014

Arabic support was fixed by rbpdf 1.18.3.
please use DejaVuSans font.

@naitoh naitoh closed this as completed Dec 6, 2014
@syswe
Copy link

syswe commented Feb 20, 2024

Arabic support was fixed by rbpdf 1.18.3. please use DejaVuSans font.

Can we use which fonts another DejaVuSans like Arial etc. ?

Could you please share me another options please. Because, DejaVuSans font sizes too big for view in single page. Can rbpdf use system fonts ?

@naitoh
Copy link
Owner

naitoh commented Feb 20, 2024

@devopswe

Can we use which fonts another DejaVuSans like Arial etc. ?

I think the fonts at https://github.com/naitoh/rbpdf/tree/master/rbpdf-font/lib/fonts would work.

Could you please share me another options please. Because, DejaVuSans font sizes too big for view in single page.

Since rbpdf support to a subset of fonts, the size of the PDF is determined based on the number of character types used in the PDF.

Can rbpdf use system fonts ?

If a non-embedded font is used, the system font is used.
e.g. courier, helvetica, times, symbol, zapfdingbats

See:

core_fonts = ['courier', 'helvetica', 'times', 'symbol', 'zapfdingbats']

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

3 participants