-
Notifications
You must be signed in to change notification settings - Fork 62
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
[Question] Layout Fails for Plain ASCII Text #99
Comments
Can you post the relevant code here? |
Thanks for the incredibly speedy in replying. Here's a gist with the relevant code https://gist.github.com/cybel/b8b394d0b6b7ccb36e7a07efa89a2e2f Here's a rundown of how it all works: Hopefully my unusual style won't cause you much grief, but don't hesitate to ask for any other information you need. |
You need to call |
That solved it! You're a scholar and a gentleman. Thanks! |
You are welcomed! I’m keeping this issue open as a reminder to fix this limitation. |
You can simply return |
Makes sense. The documentation still needs to make this ordering requirement explicit. |
So far, I've followed the mini-tutorial in the documentation and hit all the key functions it calls in the same order. The problem seems to be when
raqm_layout
is called, it gets to this line:if (!rq->text_info[i].ftface)
(raqm.c:851) and bails.As far as I can tell, the font I'm loading up and passing in is completely valid. I'm not sure if I'm doing something wrong or what. Any insight that I can chase would be greatly appreciated.
The text was updated successfully, but these errors were encountered: