mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibGfx+LibWeb: Rename Gfx::WOFF::Font to Gfx::WOFF::Typeface
It's a leftover from VectorFont -> Typeface renaming
This commit is contained in:
parent
2f515827c0
commit
1d2e559e13
Notes:
sideshowbarker
2024-07-16 22:54:10 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 1d2e559e13
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/600
8 changed files with 21 additions and 21 deletions
|
@ -7,7 +7,7 @@
|
|||
#include <LibCore/Promise.h>
|
||||
#include <LibGfx/Font/OpenType/Typeface.h>
|
||||
#include <LibGfx/Font/Typeface.h>
|
||||
#include <LibGfx/Font/WOFF/Font.h>
|
||||
#include <LibGfx/Font/WOFF/Typeface.h>
|
||||
#include <LibGfx/Font/WOFF2/Font.h>
|
||||
#include <LibJS/Heap/Heap.h>
|
||||
#include <LibJS/Runtime/ArrayBuffer.h>
|
||||
|
@ -40,7 +40,7 @@ static NonnullRefPtr<Core::Promise<NonnullRefPtr<Gfx::Typeface>>> load_vector_fo
|
|||
promise->resolve(ttf.release_value());
|
||||
return;
|
||||
}
|
||||
auto woff = WOFF::Font::try_load_from_externally_owned_memory(data);
|
||||
auto woff = WOFF::Typeface::try_load_from_externally_owned_memory(data);
|
||||
if (!woff.is_error()) {
|
||||
promise->resolve(woff.release_value());
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue