-
Notifications
You must be signed in to change notification settings - Fork 688
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
[FR] OpenType Support, Enable/Disable Ligatures and Multiple weight settings #1337
Comments
I just read Discussions#1315 |
OK. So…
I'm not exactly sure what the issue though. You have fonts defined for different weights and styles you can use those with Prawn (read the manual for examples). And ligatures are effectively disabled with Prawn. It doesn't look to me like there's anything to do here so I'm closing this issue. Feel free to reopen with clarification what you're trying to achieve if you feel your issue is not resolved. |
Yeah that is what i want... I just asked more offtopic to understand what and why. |
Actually prawn has already met my needs. |
I'm glad that Prawn met your needs. As for variable fonts, I guess it'd be nice to support. However, at the moment I don't even know whether PDF as a format supports variable fonts. I might look into it at some point. |
FYI: The latest PDF specification 2.0 doesn't include support for embedding variable fonts. So a PDF writer would need to transform a variable font into a normal font. Currently only Type1, TrueType and CFF type fonts are supported (as well as Type 3 fonts but those are PDF specific). |
Oh, Okay, So i need give up all other fonts and only use JetBrains Mono NL at all places, not only in PDF. Until all things i need are supported. |
@jyxjjj No, you can use variable fonts wherever they are supported but you need to use standard TrueType/OpenType fonts when working with PDF. |
From #1295, JetBriansMono#19 and JetBrainsMono#496
I am using JetBrains Mono.
I don't know anything about fonts, I am actually a PHP developer.
I cannot even understand what are these issues saying.
When I generating PDF with prawn, I always need to use
JetBrains Mono NL
instead ofJetBrians Mono Variable
.Like this(I used ruby script as php blade template):
It needs a very lot of lines to add fonts in prawn.
But when i am using CSS:
So I want a feature to add ligature disabling and Multiple weight settings.
The text was updated successfully, but these errors were encountered: