-
Notifications
You must be signed in to change notification settings - Fork 13
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
Replace freetype-rs with freetype (from servo) to match harfbuzz #141
Comments
Can you be more specific about how to fix it? I can give it a try if it's really an easy issue and you can guide me :) |
Not sure how much more specific I can be without doing it myself... Lines 871, 889-90 needs to do the same thing, except using raw freetype calls. It:
Actually it's even easier. You're basically reverting this change: 46ca29c#diff-4f48babb53558bc10105fee1eb626783L1515-L1582 for these lines tectonic/engine/src/xetex_aatfont.rs Lines 1515 to 1583 in e0bb502
|
Probably best to depend on
freetype -> servo-freetype-sys
only. Replace thefreetype-rs
dependency, as I recall it had some iffy bugs and panics in its issue tracker and moreover I believe it may cause cargo to complain if you use harfbuzz/the servo freetype crates as well.Originally posted by @cormacrelf in #136 (comment)
Relevant code that needs to be expanded into plain freetype calls:
tectonic/engine/src/xetex_aatfont.rs
Lines 871 to 897 in d3990d8
Should be 'good first issue' but I can't tag. Also requires a mac to test.
The text was updated successfully, but these errors were encountered: