Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAzure should re-use CGFont stored by QuartzFontHandle #184
Labels
Comments
glennw
added a commit
to glennw/servo
that referenced
this issue
Jan 16, 2017
Add a render target texture cache, and cache VAOs.
glennw
pushed a commit
to glennw/servo
that referenced
this issue
Jan 16, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When making an azure scaled font, we currently use a
CTFontwrapper to make a newCGFontinstance. It would be better to re-use servo's existingCGFontreference. We'd have to add a trait to prevent circular dependencies, i.e.:And then pass the font handle (as the trait type) to ScaledFont::new() instead of CTFont.