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

[dwrite] Use new again and enable the build on msys2 bots #890

Merged
merged 1 commit into from
Mar 19, 2018

Conversation

ebraminio
Copy link
Collaborator

@ebraminio ebraminio commented Mar 16, 2018

#884 fixed most of the GCC compile issues, this enables it on msys2 bots.

The way I am checking validity of headers may don't seem good. The issue is msys2 and mingw-w64 headers are not complete and I am checking that using that #ifdef. I proposed a fix to upstream also but that can take years to have here so I am applying this workaround. this now just downloads the needed header

Also applied #884 (comment) now that it doesn't have any other hb-directwrite.cc perhaps should be separated but don't know if worths to

@ebraminio
Copy link
Collaborator Author

I should also note that hb-shape crashes if I issue --shaper=directwrite. I should fix that also.

@ebraminio ebraminio force-pushed the dwrite branch 2 times, most recently from a5226ee to 0a90af9 Compare March 18, 2018 23:40
@coveralls
Copy link

coveralls commented Mar 18, 2018

Coverage Status

Coverage remained the same at 64.712% when pulling c416ee2 on ebraminio:dwrite into 8d1b408 on harfbuzz:master.

@ebraminio
Copy link
Collaborator Author

The crashing issue was because of lack of vtable initialization with plain malloc that I couldn't understand without @andlabs help. Thanks!

@ebraminio ebraminio changed the title Enable hb-directwrite on msys2 bots [dwrite] Use placement new to initilize vtable and enable the build on msys2 bots Mar 18, 2018
@ebraminio ebraminio force-pushed the dwrite branch 3 times, most recently from 02a0d03 to 788445b Compare March 18, 2018 23:57
@ebraminio ebraminio changed the title [dwrite] Use placement new to initilize vtable and enable the build on msys2 bots [dwrite] Use placement new to initialize vtable and enable the build on msys2 bots Mar 19, 2018
@ebraminio ebraminio force-pushed the dwrite branch 3 times, most recently from 0ef35fa to 4947fb4 Compare March 19, 2018 08:18
@ebraminio ebraminio changed the title [dwrite] Use placement new to initialize vtable and enable the build on msys2 bots [dwrite] Use new again and enable the build on msys2 bots Mar 19, 2018
@ebraminio ebraminio merged commit 957e775 into harfbuzz:master Mar 19, 2018
@ebraminio ebraminio deleted the dwrite branch March 19, 2018 09:04
fanc999 pushed a commit to fanc999/harfbuzz that referenced this pull request Jul 25, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants