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

Reduce complex text #56

Open
wants to merge 2 commits into
base: haiku
Choose a base branch
from

Conversation

lonemadmax
Copy link

Disable complex text path in more cases and an environment variable protected call to debugger to detect issues that might be related to it.

A few places use `enableKerning` and `requiresShaping` to decide on text
rendering path, be that for rendering or only for measurement.

Fixes: https://dev.haiku-os.org/ticket/19445
Set environment variable `HAIKUWEBKIT_COMPLEX_TEXT` to `DEBUGGER` to
call the debugger on `ComplexTextController` creation.
@pulkomandy
Copy link
Member

It's getting annoying having to disable this in so many places. I wonder if it would be easier to fix the complex text path instead? Have you looked into it? (just to know and not duplicate work).

@lonemadmax
Copy link
Author

Had the same idea but no, I haven't even looked at what may be needed yet.

There's no hurry to merge this specifically. Current HEAD crashes on opening a URL in a new tab from the context menu, so I guess no release until that is fixed.

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

Successfully merging this pull request may close these issues.

2 participants