Skip to content

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.

@pulkomandy pulkomandy merged commit eeb41a0 into haiku:haiku Mar 15, 2025
@lonemadmax lonemadmax deleted the reduce-complex-text branch March 18, 2025 12:15
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