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

Handle hyphenation #2

Open
deepakjois opened this issue May 22, 2017 · 5 comments
Open

Handle hyphenation #2

deepakjois opened this issue May 22, 2017 · 5 comments

Comments

@deepakjois
Copy link
Member

Issue by deepakjois
Friday May 19, 2017 at 10:49 GMT
Originally opened as deepakjois/luatex-harfbuzz#2


@khaledhosny
Copy link

Just in case you didn’t see it, https://github.com/tatzetwerk/luatex-harfbuzz seems to have a good approach for handling hyphenation.

@deepakjois
Copy link
Member Author

I have seen it…but I can’t say it was easy to follow the code. Mostly because it has three different variations in one repo. Could you point me to a file or function I can look at?

@khaledhosny
Copy link

I didn’t look into the code before, my suggestion was based on the paper and quick testing. The code looks needlessly convoluted indeed, but closer look shows that all the interesting code is in font-hb.lua. The code that handles hyphenations seems to be https://github.com/tatzetwerk/luatex-harfbuzz/blob/master/luatex-harfbuzz/font-hb.lua#L389-L510.

@deepakjois
Copy link
Member Author

I didn’t look into the code before, my suggestion was based on the paper and quick testing.

I did receive a mail from the authors, but I don’t recall seeing any paper. Is it possible to get access to this paper? If it’s not available online, could you please mail it to me at [email protected] (if that’s okay with you). Thanks!

@khaledhosny
Copy link

khaledhosny commented May 23, 2017 via email

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