mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-16 04:59:23 +00:00
This requires an implementation of the "text preparation algorithm" as specified here: html.spec.whatwg.org/multipage/canvas.html#text-preparation-algorithm However, we're missing a lot of things such as the CanvasTextDrawingStyles interface, so most of the algorithm was not implemented. Additionally, we also are not able to use a LineBox like the algorithm suggests, because our layouting infra is not up to the task yet. The prepare_text function does nothing other than figuring out the width of the given text and return glyphs with offsets at the moment. |
||
---|---|---|
.. | ||
CSSNamespace.cpp | ||
CSSNamespace.h | ||
CSSRuleWrapperFactory.cpp | ||
CSSRuleWrapperFactory.h | ||
CSSStyleDeclarationWrapperCustom.cpp | ||
EventListenerWrapper.cpp | ||
EventListenerWrapper.h | ||
EventTargetWrapperFactory.cpp | ||
EventTargetWrapperFactory.h | ||
EventWrapperFactory.cpp | ||
EventWrapperFactory.h | ||
ExceptionOrUtils.h | ||
IDLAbstractOperations.cpp | ||
IDLAbstractOperations.h | ||
ImageConstructor.cpp | ||
ImageConstructor.h | ||
LocationObject.cpp | ||
LocationObject.h | ||
MainThreadVM.cpp | ||
MainThreadVM.h | ||
NavigatorObject.cpp | ||
NavigatorObject.h | ||
NodeWrapperFactory.cpp | ||
NodeWrapperFactory.h | ||
Replaceable.h | ||
ScriptExecutionContext.cpp | ||
ScriptExecutionContext.h | ||
WindowObject.cpp | ||
WindowObject.h | ||
WindowObjectHelper.h | ||
Wrappable.cpp | ||
Wrappable.h | ||
Wrapper.h |