-
Notifications
You must be signed in to change notification settings - Fork 72
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
settext doesn't use fontsize() #52
Comments
Hi! I saw that project, it looks great! I think the problem here is that there are two simultaneously available text APIs in Cairo. In Luxor, I would love to have someone provide a full API to Cairo's Pro text API, complete with Pango support, but that's too advanced for me... :) |
Thanks for your fast response. Yeah setting |
Yes, |
I'm currently using Luxor for my CodePoster project. I wanted to try to set text with different colors for different parts of a text (syntax highlighting) by using
settext
. I realized thatsettext
doesn't use the fontsize specified byfontsize
. This is unexpected behavior for me. I think if not specified directly like<span font='26'>text</span>
it should use the fontsize specified by the fontsize command.The text was updated successfully, but these errors were encountered: