mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
LibGfx: Move TTF files from TrueTypeFont/ to Font/TrueType/
This commit is contained in:
parent
e84bbfed44
commit
6f8fd91f22
Notes:
sideshowbarker
2024-07-17 14:13:01 +09:00
Author: https://github.com/skyrising Commit: https://github.com/SerenityOS/serenity/commit/6f8fd91f22 Pull-request: https://github.com/SerenityOS/serenity/pull/13595
@ -340,7 +340,7 @@ if (BUILD_LAGOM)
|
||||
|
||||
# Gfx
|
||||
file(GLOB LIBGFX_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGfx/*.cpp")
|
||||
file(GLOB LIBGFX_TTF_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGfx/TrueTypeFont/*.cpp")
|
||||
file(GLOB LIBGFX_TTF_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGfx/Font/TrueType/*.cpp")
|
||||
lagom_lib(Gfx gfx
|
||||
SOURCES ${LIBGFX_SOURCES} ${LIBGFX_TTF_SOURCES}
|
||||
LIBS m LagomCompress LagomTextCodec LagomIPC
|
||||
|
@ -4,7 +4,7 @@
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibGfx/TrueTypeFont/Font.h>
|
||||
#include <LibGfx/Font/TrueType/Font.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibGfx/TrueTypeFont/Cmap.h>
|
||||
#include <LibGfx/Font/TrueType/Cmap.h>
|
||||
#include <LibTest/TestCase.h>
|
||||
|
||||
TEST_CASE(test_cmap_format_4)
|
||||
|
@ -39,12 +39,12 @@ set(SOURCES
|
||||
TextDirection.cpp
|
||||
TextLayout.cpp
|
||||
Triangle.cpp
|
||||
TrueTypeFont/Font.cpp
|
||||
TrueTypeFont/Glyf.cpp
|
||||
TrueTypeFont/Cmap.cpp
|
||||
Font/TrueType/Font.cpp
|
||||
Font/TrueType/Glyf.cpp
|
||||
Font/TrueType/Cmap.cpp
|
||||
Typeface.cpp
|
||||
WindowTheme.cpp
|
||||
)
|
||||
)
|
||||
|
||||
serenity_lib(LibGfx gfx)
|
||||
target_link_libraries(LibGfx LibM LibCompress LibCore LibTextCodec LibIPC)
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <AK/Optional.h>
|
||||
#include <LibGfx/TrueTypeFont/Cmap.h>
|
||||
#include <LibGfx/Font/TrueType/Cmap.h>
|
||||
|
||||
namespace TTF {
|
||||
|
@ -11,10 +11,10 @@
|
||||
#include <AK/Utf32View.h>
|
||||
#include <AK/Utf8View.h>
|
||||
#include <LibCore/MappedFile.h>
|
||||
#include <LibGfx/TrueTypeFont/Cmap.h>
|
||||
#include <LibGfx/TrueTypeFont/Font.h>
|
||||
#include <LibGfx/TrueTypeFont/Glyf.h>
|
||||
#include <LibGfx/TrueTypeFont/Tables.h>
|
||||
#include <LibGfx/Font/TrueType/Cmap.h>
|
||||
#include <LibGfx/Font/TrueType/Font.h>
|
||||
#include <LibGfx/Font/TrueType/Glyf.h>
|
||||
#include <LibGfx/Font/TrueType/Tables.h>
|
||||
#include <LibTextCodec/Decoder.h>
|
||||
#include <math.h>
|
||||
#include <sys/mman.h>
|
@ -13,9 +13,9 @@
|
||||
#include <LibGfx/Bitmap.h>
|
||||
#include <LibGfx/Font.h>
|
||||
#include <LibGfx/Size.h>
|
||||
#include <LibGfx/TrueTypeFont/Cmap.h>
|
||||
#include <LibGfx/TrueTypeFont/Glyf.h>
|
||||
#include <LibGfx/TrueTypeFont/Tables.h>
|
||||
#include <LibGfx/Font/TrueType/Cmap.h>
|
||||
#include <LibGfx/Font/TrueType/Glyf.h>
|
||||
#include <LibGfx/Font/TrueType/Tables.h>
|
||||
|
||||
#define POINTS_PER_INCH 72.0f
|
||||
#define DEFAULT_DPI 96
|
@ -4,9 +4,9 @@
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibGfx/Font/TrueType/Glyf.h>
|
||||
#include <LibGfx/Path.h>
|
||||
#include <LibGfx/Point.h>
|
||||
#include <LibGfx/TrueTypeFont/Glyf.h>
|
||||
|
||||
namespace TTF {
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <AK/Vector.h>
|
||||
#include <LibGfx/AffineTransform.h>
|
||||
#include <LibGfx/Bitmap.h>
|
||||
#include <LibGfx/TrueTypeFont/Tables.h>
|
||||
#include <LibGfx/Font/TrueType/Tables.h>
|
||||
#include <math.h>
|
||||
|
||||
namespace TTF {
|
@ -10,7 +10,7 @@
|
||||
#include <LibCore/DirIterator.h>
|
||||
#include <LibGfx/Font.h>
|
||||
#include <LibGfx/FontDatabase.h>
|
||||
#include <LibGfx/TrueTypeFont/Font.h>
|
||||
#include <LibGfx/Font/TrueType/Font.h>
|
||||
#include <LibGfx/Typeface.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <AK/Vector.h>
|
||||
#include <LibGfx/BitmapFont.h>
|
||||
#include <LibGfx/Font.h>
|
||||
#include <LibGfx/TrueTypeFont/Font.h>
|
||||
#include <LibGfx/Font/TrueType/Font.h>
|
||||
|
||||
namespace Gfx {
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibGfx/TrueTypeFont/Font.h>
|
||||
#include <LibGfx/Font/TrueType/Font.h>
|
||||
#include <LibPDF/Fonts/Type1Font.h>
|
||||
|
||||
namespace PDF {
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <LibGfx/Font.h>
|
||||
#include <LibGfx/FontDatabase.h>
|
||||
#include <LibGfx/FontStyleMapping.h>
|
||||
#include <LibGfx/TrueTypeFont/Font.h>
|
||||
#include <LibGfx/Font/TrueType/Font.h>
|
||||
#include <LibWeb/CSS/CSSFontFaceRule.h>
|
||||
#include <LibWeb/CSS/CSSStyleRule.h>
|
||||
#include <LibWeb/CSS/Parser/Parser.h>
|
||||
|
Loading…
Reference in New Issue
Block a user