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
Use Source Han with harf mode #126
Comments
Do you happen to have a Type 1 version of the font installed? What does This error messages should be caught some how, though. HarfBuzz loader can only load SFNT fonts, so failures like this are expected to happen and should give some meaningful error message. |
I only installed $ luaotfload-tool --find "Source Han Sans SC"
luaotfload | resolve : Font "Source Han Sans SC" found!
luaotfload | resolve : Resolved file name "/Library/Fonts/SourceHanNotoCJK.ttc", subfont nr. 18 |
Works ok for me. But I have development versions in some cases. Can you please attach the whole log-file? And try also without harfbuzz so that we can see which font is used. |
Version info:
Log file (with
|
This is caused by an integer overflow in HarfBuzz, I will send them a PR. If you want to use Source Han Sans/Serif, you will have to use the normal font collections (see https://github.com/adobe-fonts/source-han-sans/releases and https://github.com/adobe-fonts/source-han-serif/releases) until this is fixed upstream. |
After one year, I think this issue has already been fixed. |
Source Han Sans/Serif can't be loaded in
harf
mode:Compiled with
lualatex-dev
, it gives:I don't know whether one should or shouldn't use Harfbuzz here.
The text was updated successfully, but these errors were encountered: