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

Support ligature #267

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

rosylilly
Copy link

refs: #21

It's just provide ligature mode to fontcustom.

@JoshuaWise
Copy link

Any chance this functionality can get merged/implemented any time soon?

@daniele-orlando
Copy link

I'm just waiting for this feature. Come ooon!

@andyo729
Copy link

👍

-moz-text-rendering: optimizeLegibility;
-ms-text-rendering: optimizeLegibility;
-o-text-rendering: optimizeLegibility;
text-rendering: optimizeLegibility;|
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This rule has a significant performance cost. Will this feature work without this rule?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know a performance problem of optimizeLegibility. but, ligature fonts needs this property for rendering glyphs on browser. if you set ligature options to false, remove this properties.

elif c == "8":
c = "eight"
elif c == "9":
c = "nine"
Copy link
Collaborator

@JakeBeresford JakeBeresford Jun 13, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a huge fan of this approach. Consider using an array.

words = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
return words[c] || c

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fixed this. Please review code.

@JakeBeresford
Copy link
Collaborator

@rosylilly thanks for your work on this, it seems the community would like this feature so it is a valuable addition. Please take a look at my PR comments and resolve the conflicts with master.

@rosylilly rosylilly force-pushed the support-ligature branch 3 times, most recently from ed48772 to 7964973 Compare June 18, 2017 11:09
@rosylilly
Copy link
Author

@JakeBeresford Rebased and Fixed. Please review my codes.

@rosylilly
Copy link
Author

@JakeBeresford Are you busy? I'm waiting for your reply.

@xuv
Copy link

xuv commented Feb 18, 2019

I'm going to up this PR. @kaizau or @JakeBeresford It sounds like it was ready to be merged. Is this project unmaintained?

@tomasdev
Copy link

Given the last commit into master is from 3 years ago, probably, the project is unmaintained.

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

Successfully merging this pull request may close these issues.

7 participants