Skip to content
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

DirectWrite integration #2

Open
2 tasks
matprec opened this issue Dec 6, 2016 · 3 comments
Open
2 tasks

DirectWrite integration #2

matprec opened this issue Dec 6, 2016 · 3 comments
Assignees

Comments

@matprec
Copy link
Owner

matprec commented Dec 6, 2016

@vvuk wrote Rust bindings for DirectWrite which some applications use internally, e.g. WR/Servo.
Currently, we're using wingdi for font enumeration, but DirectWrite has an interoperabillity interface for wingdi, but this part isn't ported yet.

ToDo:

  • Enhance the gdi interop implementation in DirectWrite
  • Adapt interface
@matprec matprec self-assigned this Dec 6, 2016
@vvuk
Copy link

vvuk commented Dec 6, 2016 via email

@matprec
Copy link
Owner Author

matprec commented Dec 10, 2016

@vvuk Yes GDI interop is desired, as of the current state of winapi-rs bindings, one can't figure out whether or not a font is monospaced. For reference MSDN Docs and winapi-rs Docs.
Also, font loading from disk isn't implemented yet, so this would be the most easy way for us to maintain our interface.

I have the corresponding PR almost ready, expect it to come soon :)

@atouchet
Copy link
Contributor

For reference the upstream dwrote repo is now located at: https://github.com/servo/dwrote-rs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants