diff options
author | Simon Wanner <skyrising@pvpctutorials.de> | 2022-04-09 09:28:38 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-04-09 23:48:18 +0200 |
commit | 206d6ece55e44117fd49525eeca5bd28d83ac5eb (patch) | |
tree | 42f45ba540faffd38608380dad02d7614c6e7e5a /Userland/Libraries | |
parent | 6f8fd91f225c9eb3e5faeda1aaf6cee1e1f12cc9 (diff) | |
download | serenity-206d6ece55e44117fd49525eeca5bd28d83ac5eb.zip |
LibGfx: Move other font-related files to LibGfx/Font/
Diffstat (limited to 'Userland/Libraries')
57 files changed, 88 insertions, 88 deletions
diff --git a/Userland/Libraries/LibCards/Card.cpp b/Userland/Libraries/LibCards/Card.cpp index a29d5f77ef..aa4ae10d1b 100644 --- a/Userland/Libraries/LibCards/Card.cpp +++ b/Userland/Libraries/LibCards/Card.cpp @@ -7,8 +7,8 @@ #include "Card.h" #include <LibGUI/Widget.h> -#include <LibGfx/Font.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/Font.h> +#include <LibGfx/Font/FontDatabase.h> namespace Cards { diff --git a/Userland/Libraries/LibCpp/SyntaxHighlighter.cpp b/Userland/Libraries/LibCpp/SyntaxHighlighter.cpp index 8345c6c0f3..b62c3c33b8 100644 --- a/Userland/Libraries/LibCpp/SyntaxHighlighter.cpp +++ b/Userland/Libraries/LibCpp/SyntaxHighlighter.cpp @@ -8,7 +8,7 @@ #include <LibCpp/Lexer.h> #include <LibCpp/SyntaxHighlighter.h> #include <LibGUI/TextEditor.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Palette.h> namespace Cpp { diff --git a/Userland/Libraries/LibGUI/AboutDialog.cpp b/Userland/Libraries/LibGUI/AboutDialog.cpp index a2d1fdb23a..63858aeac6 100644 --- a/Userland/Libraries/LibGUI/AboutDialog.cpp +++ b/Userland/Libraries/LibGUI/AboutDialog.cpp @@ -12,8 +12,8 @@ #include <LibGUI/ImageWidget.h> #include <LibGUI/Label.h> #include <LibGUI/Widget.h> -#include <LibGfx/Font.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/Font.h> +#include <LibGfx/Font/FontDatabase.h> namespace GUI { diff --git a/Userland/Libraries/LibGUI/Application.cpp b/Userland/Libraries/LibGUI/Application.cpp index 96427ecc0b..5469ae1f4a 100644 --- a/Userland/Libraries/LibGUI/Application.cpp +++ b/Userland/Libraries/LibGUI/Application.cpp @@ -15,7 +15,7 @@ #include <LibGUI/Menubar.h> #include <LibGUI/Painter.h> #include <LibGUI/Window.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Palette.h> namespace GUI { diff --git a/Userland/Libraries/LibGUI/Breadcrumbbar.cpp b/Userland/Libraries/LibGUI/Breadcrumbbar.cpp index c274935c32..c2c7240d83 100644 --- a/Userland/Libraries/LibGUI/Breadcrumbbar.cpp +++ b/Userland/Libraries/LibGUI/Breadcrumbbar.cpp @@ -10,7 +10,7 @@ #include <LibGUI/Breadcrumbbar.h> #include <LibGUI/Button.h> #include <LibGUI/Painter.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Palette.h> REGISTER_WIDGET(GUI, Breadcrumbbar) diff --git a/Userland/Libraries/LibGUI/Button.cpp b/Userland/Libraries/LibGUI/Button.cpp index 15759fa697..03c1587135 100644 --- a/Userland/Libraries/LibGUI/Button.cpp +++ b/Userland/Libraries/LibGUI/Button.cpp @@ -11,7 +11,7 @@ #include <LibGUI/Menu.h> #include <LibGUI/Painter.h> #include <LibGUI/Window.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Palette.h> #include <LibGfx/StylePainter.h> diff --git a/Userland/Libraries/LibGUI/Calendar.cpp b/Userland/Libraries/LibGUI/Calendar.cpp index 922e030255..772f9513e4 100644 --- a/Userland/Libraries/LibGUI/Calendar.cpp +++ b/Userland/Libraries/LibGUI/Calendar.cpp @@ -10,7 +10,7 @@ #include <LibGUI/Calendar.h> #include <LibGUI/Painter.h> #include <LibGUI/Window.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibGfx/Palette.h> REGISTER_WIDGET(GUI, Calendar); diff --git a/Userland/Libraries/LibGUI/CheckBox.cpp b/Userland/Libraries/LibGUI/CheckBox.cpp index 7afb815efb..a8967388f9 100644 --- a/Userland/Libraries/LibGUI/CheckBox.cpp +++ b/Userland/Libraries/LibGUI/CheckBox.cpp @@ -8,7 +8,7 @@ #include <LibGUI/CheckBox.h> #include <LibGUI/Painter.h> #include <LibGfx/CharacterBitmap.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Palette.h> #include <LibGfx/StylePainter.h> diff --git a/Userland/Libraries/LibGUI/ConnectionToWindowServer.cpp b/Userland/Libraries/LibGUI/ConnectionToWindowServer.cpp index 1314716395..556f216023 100644 --- a/Userland/Libraries/LibGUI/ConnectionToWindowServer.cpp +++ b/Userland/Libraries/LibGUI/ConnectionToWindowServer.cpp @@ -21,7 +21,7 @@ #include <LibGUI/MouseTracker.h> #include <LibGUI/Window.h> #include <LibGfx/Bitmap.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibGfx/Palette.h> #include <LibGfx/SystemTheme.h> diff --git a/Userland/Libraries/LibGUI/FilePicker.cpp b/Userland/Libraries/LibGUI/FilePicker.cpp index 20333b91f0..a22fe83c0e 100644 --- a/Userland/Libraries/LibGUI/FilePicker.cpp +++ b/Userland/Libraries/LibGUI/FilePicker.cpp @@ -25,7 +25,7 @@ #include <LibGUI/TextBox.h> #include <LibGUI/Toolbar.h> #include <LibGUI/Tray.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibGfx/Palette.h> #include <string.h> #include <unistd.h> diff --git a/Userland/Libraries/LibGUI/FontPicker.cpp b/Userland/Libraries/LibGUI/FontPicker.cpp index bba820f0c9..570d42fa1c 100644 --- a/Userland/Libraries/LibGUI/FontPicker.cpp +++ b/Userland/Libraries/LibGUI/FontPicker.cpp @@ -14,7 +14,7 @@ #include <LibGUI/ListView.h> #include <LibGUI/SpinBox.h> #include <LibGUI/Widget.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/FontDatabase.h> namespace GUI { diff --git a/Userland/Libraries/LibGUI/FontPicker.h b/Userland/Libraries/LibGUI/FontPicker.h index 376bcfa881..d808b92d2f 100644 --- a/Userland/Libraries/LibGUI/FontPicker.h +++ b/Userland/Libraries/LibGUI/FontPicker.h @@ -8,7 +8,7 @@ #pragma once #include <LibGUI/Dialog.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Forward.h> namespace GUI { diff --git a/Userland/Libraries/LibGUI/GlyphMapWidget.cpp b/Userland/Libraries/LibGUI/GlyphMapWidget.cpp index 2ae04e1325..2c657e9979 100644 --- a/Userland/Libraries/LibGUI/GlyphMapWidget.cpp +++ b/Userland/Libraries/LibGUI/GlyphMapWidget.cpp @@ -9,8 +9,8 @@ #include "GlyphMapWidget.h" #include <LibGUI/Painter.h> -#include <LibGfx/BitmapFont.h> -#include <LibGfx/Emoji.h> +#include <LibGfx/Font/BitmapFont.h> +#include <LibGfx/Font/Emoji.h> #include <LibGfx/Palette.h> REGISTER_WIDGET(GUI, GlyphMapWidget); diff --git a/Userland/Libraries/LibGUI/GlyphMapWidget.h b/Userland/Libraries/LibGUI/GlyphMapWidget.h index d72a2345de..31f8b71da3 100644 --- a/Userland/Libraries/LibGUI/GlyphMapWidget.h +++ b/Userland/Libraries/LibGUI/GlyphMapWidget.h @@ -11,7 +11,7 @@ #include <LibCore/Timer.h> #include <LibGUI/AbstractScrollableWidget.h> #include <LibGUI/TextRange.h> -#include <LibGfx/BitmapFont.h> +#include <LibGfx/Font/BitmapFont.h> #include <LibUnicode/CharacterTypes.h> namespace GUI { diff --git a/Userland/Libraries/LibGUI/GroupBox.cpp b/Userland/Libraries/LibGUI/GroupBox.cpp index 2b410e1c69..31e86f9da7 100644 --- a/Userland/Libraries/LibGUI/GroupBox.cpp +++ b/Userland/Libraries/LibGUI/GroupBox.cpp @@ -7,7 +7,7 @@ #include <LibGUI/GroupBox.h> #include <LibGUI/Painter.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Palette.h> #include <LibGfx/StylePainter.h> diff --git a/Userland/Libraries/LibGUI/HeaderView.cpp b/Userland/Libraries/LibGUI/HeaderView.cpp index 7bb91e9e39..814206d12a 100644 --- a/Userland/Libraries/LibGUI/HeaderView.cpp +++ b/Userland/Libraries/LibGUI/HeaderView.cpp @@ -12,7 +12,7 @@ #include <LibGUI/Model.h> #include <LibGUI/Painter.h> #include <LibGUI/Window.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibGfx/Palette.h> #include <LibGfx/StylePainter.h> diff --git a/Userland/Libraries/LibGUI/InputBox.cpp b/Userland/Libraries/LibGUI/InputBox.cpp index 1be35696fb..3cb0577bab 100644 --- a/Userland/Libraries/LibGUI/InputBox.cpp +++ b/Userland/Libraries/LibGUI/InputBox.cpp @@ -11,7 +11,7 @@ #include <LibGUI/InputBox.h> #include <LibGUI/Label.h> #include <LibGUI/TextBox.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> namespace GUI { diff --git a/Userland/Libraries/LibGUI/LinkLabel.cpp b/Userland/Libraries/LibGUI/LinkLabel.cpp index 5aeaaaa704..14d6a54dd0 100644 --- a/Userland/Libraries/LibGUI/LinkLabel.cpp +++ b/Userland/Libraries/LibGUI/LinkLabel.cpp @@ -12,7 +12,7 @@ #include <LibGUI/Menu.h> #include <LibGUI/Painter.h> #include <LibGUI/Window.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Palette.h> REGISTER_WIDGET(GUI, LinkLabel) diff --git a/Userland/Libraries/LibGUI/MessageBox.cpp b/Userland/Libraries/LibGUI/MessageBox.cpp index bc2c67fda2..5a29379ff8 100644 --- a/Userland/Libraries/LibGUI/MessageBox.cpp +++ b/Userland/Libraries/LibGUI/MessageBox.cpp @@ -12,7 +12,7 @@ #include <LibGUI/ImageWidget.h> #include <LibGUI/Label.h> #include <LibGUI/MessageBox.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> namespace GUI { diff --git a/Userland/Libraries/LibGUI/RadioButton.cpp b/Userland/Libraries/LibGUI/RadioButton.cpp index 5c051e86d8..25c01bf3f9 100644 --- a/Userland/Libraries/LibGUI/RadioButton.cpp +++ b/Userland/Libraries/LibGUI/RadioButton.cpp @@ -8,7 +8,7 @@ #include <LibGUI/Painter.h> #include <LibGUI/RadioButton.h> #include <LibGfx/Bitmap.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Palette.h> #include <LibGfx/StylePainter.h> diff --git a/Userland/Libraries/LibGUI/TabWidget.cpp b/Userland/Libraries/LibGUI/TabWidget.cpp index b12847d594..2fa065520f 100644 --- a/Userland/Libraries/LibGUI/TabWidget.cpp +++ b/Userland/Libraries/LibGUI/TabWidget.cpp @@ -13,7 +13,7 @@ #include <LibGUI/TabWidget.h> #include <LibGUI/Window.h> #include <LibGfx/Bitmap.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Palette.h> #include <LibGfx/StylePainter.h> diff --git a/Userland/Libraries/LibGUI/TextEditor.cpp b/Userland/Libraries/LibGUI/TextEditor.cpp index 45d8568cb3..6d104a0437 100644 --- a/Userland/Libraries/LibGUI/TextEditor.cpp +++ b/Userland/Libraries/LibGUI/TextEditor.cpp @@ -25,8 +25,8 @@ #include <LibGUI/TextEditor.h> #include <LibGUI/Window.h> #include <LibGfx/Bitmap.h> -#include <LibGfx/Font.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/Font.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibGfx/Palette.h> #include <LibSyntax/Highlighter.h> #include <fcntl.h> diff --git a/Userland/Libraries/LibGUI/Tray.cpp b/Userland/Libraries/LibGUI/Tray.cpp index a2cea687e1..1be957bd10 100644 --- a/Userland/Libraries/LibGUI/Tray.cpp +++ b/Userland/Libraries/LibGUI/Tray.cpp @@ -7,7 +7,7 @@ #include <LibGUI/Painter.h> #include <LibGUI/Tray.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Palette.h> #include <LibGfx/StylePainter.h> diff --git a/Userland/Libraries/LibGUI/ValueSlider.cpp b/Userland/Libraries/LibGUI/ValueSlider.cpp index c7bc87aa08..732b8081d2 100644 --- a/Userland/Libraries/LibGUI/ValueSlider.cpp +++ b/Userland/Libraries/LibGUI/ValueSlider.cpp @@ -9,7 +9,7 @@ #include <LibGUI/Painter.h> #include <LibGUI/TextBox.h> #include <LibGUI/ValueSlider.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibGfx/Palette.h> #include <LibGfx/StylePainter.h> diff --git a/Userland/Libraries/LibGUI/Variant.h b/Userland/Libraries/LibGUI/Variant.h index 1789a8fd1b..7c617263ff 100644 --- a/Userland/Libraries/LibGUI/Variant.h +++ b/Userland/Libraries/LibGUI/Variant.h @@ -10,7 +10,7 @@ #include <AK/String.h> #include <LibGUI/Icon.h> #include <LibGfx/Bitmap.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/SystemTheme.h> namespace GUI { diff --git a/Userland/Libraries/LibGUI/Widget.cpp b/Userland/Libraries/LibGUI/Widget.cpp index ad445ecd44..d5a87ac97f 100644 --- a/Userland/Libraries/LibGUI/Widget.cpp +++ b/Userland/Libraries/LibGUI/Widget.cpp @@ -25,8 +25,8 @@ #include <LibGUI/Widget.h> #include <LibGUI/Window.h> #include <LibGfx/Bitmap.h> -#include <LibGfx/Font.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/Font.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibGfx/Palette.h> #include <LibGfx/SystemTheme.h> #include <unistd.h> diff --git a/Userland/Libraries/LibGUI/Wizards/CoverWizardPage.cpp b/Userland/Libraries/LibGUI/Wizards/CoverWizardPage.cpp index 967671d951..c7d639c177 100644 --- a/Userland/Libraries/LibGUI/Wizards/CoverWizardPage.cpp +++ b/Userland/Libraries/LibGUI/Wizards/CoverWizardPage.cpp @@ -8,7 +8,7 @@ #include <LibGUI/ImageWidget.h> #include <LibGUI/Label.h> #include <LibGUI/Wizards/CoverWizardPage.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibGfx/SystemTheme.h> namespace GUI { diff --git a/Userland/Libraries/LibGUI/Wizards/WizardPage.cpp b/Userland/Libraries/LibGUI/Wizards/WizardPage.cpp index d67ed97080..b7032a15dd 100644 --- a/Userland/Libraries/LibGUI/Wizards/WizardPage.cpp +++ b/Userland/Libraries/LibGUI/Wizards/WizardPage.cpp @@ -9,7 +9,7 @@ #include <LibGUI/SeparatorWidget.h> #include <LibGUI/Widget.h> #include <LibGUI/Wizards/WizardPage.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibGfx/SystemTheme.h> namespace GUI { diff --git a/Userland/Libraries/LibGfx/CMakeLists.txt b/Userland/Libraries/LibGfx/CMakeLists.txt index ff1aeb44da..02ea23e353 100644 --- a/Userland/Libraries/LibGfx/CMakeLists.txt +++ b/Userland/Libraries/LibGfx/CMakeLists.txt @@ -3,7 +3,6 @@ set(SOURCES AntiAliasingPainter.cpp Bitmap.cpp BitmapMixer.cpp - BitmapFont.cpp BMPLoader.cpp BMPWriter.cpp ClassicStylePainter.cpp @@ -12,11 +11,16 @@ set(SOURCES CursorParams.cpp DDSLoader.cpp DisjointRectSet.cpp - Emoji.cpp Filters/ColorBlindnessFilter.cpp Filters/FastBoxBlurFilter.cpp Filters/LumaFilter.cpp - FontDatabase.cpp + Font/BitmapFont.cpp + Font/Emoji.cpp + Font/FontDatabase.cpp + Font/TrueType/Font.cpp + Font/TrueType/Glyf.cpp + Font/TrueType/Cmap.cpp + Font/Typeface.cpp GIFLoader.cpp ICOLoader.cpp ImageDecoder.cpp @@ -29,22 +33,18 @@ set(SOURCES PNGLoader.cpp PNGWriter.cpp PPMLoader.cpp - Point.cpp - QOILoader.cpp - Rect.cpp - ShareableBitmap.cpp - Size.cpp - StylePainter.cpp - SystemTheme.cpp - TextDirection.cpp - TextLayout.cpp - Triangle.cpp - Font/TrueType/Font.cpp - Font/TrueType/Glyf.cpp - Font/TrueType/Cmap.cpp - Typeface.cpp - WindowTheme.cpp - ) + Point.cpp + QOILoader.cpp + Rect.cpp + ShareableBitmap.cpp + Size.cpp + StylePainter.cpp + SystemTheme.cpp + TextDirection.cpp + TextLayout.cpp + Triangle.cpp + WindowTheme.cpp +) serenity_lib(LibGfx gfx) target_link_libraries(LibGfx LibM LibCompress LibCore LibTextCodec LibIPC) diff --git a/Userland/Libraries/LibGfx/ClassicWindowTheme.cpp b/Userland/Libraries/LibGfx/ClassicWindowTheme.cpp index 77f1bff323..185fbfd74a 100644 --- a/Userland/Libraries/LibGfx/ClassicWindowTheme.cpp +++ b/Userland/Libraries/LibGfx/ClassicWindowTheme.cpp @@ -7,7 +7,7 @@ #include <LibGfx/Bitmap.h> #include <LibGfx/ClassicWindowTheme.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibGfx/Painter.h> #include <LibGfx/Palette.h> #include <LibGfx/StylePainter.h> diff --git a/Userland/Libraries/LibGfx/BitmapFont.cpp b/Userland/Libraries/LibGfx/Font/BitmapFont.cpp index 22cb56ff64..385e739086 100644 --- a/Userland/Libraries/LibGfx/BitmapFont.cpp +++ b/Userland/Libraries/LibGfx/Font/BitmapFont.cpp @@ -10,8 +10,8 @@ #include <AK/Utf32View.h> #include <AK/Utf8View.h> #include <LibCore/FileStream.h> -#include <LibGfx/FontDatabase.h> -#include <LibGfx/FontStyleMapping.h> +#include <LibGfx/Font/FontDatabase.h> +#include <LibGfx/Font/FontStyleMapping.h> #include <string.h> namespace Gfx { diff --git a/Userland/Libraries/LibGfx/BitmapFont.h b/Userland/Libraries/LibGfx/Font/BitmapFont.h index d4a0e95319..affe8eaff2 100644 --- a/Userland/Libraries/LibGfx/BitmapFont.h +++ b/Userland/Libraries/LibGfx/Font/BitmapFont.h @@ -13,7 +13,7 @@ #include <AK/Types.h> #include <AK/Vector.h> #include <LibCore/MappedFile.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Size.h> namespace Gfx { diff --git a/Userland/Libraries/LibGfx/Emoji.cpp b/Userland/Libraries/LibGfx/Font/Emoji.cpp index a69d338d6b..1d2099f066 100644 --- a/Userland/Libraries/LibGfx/Emoji.cpp +++ b/Userland/Libraries/LibGfx/Font/Emoji.cpp @@ -10,7 +10,7 @@ #include <AK/String.h> #include <AK/Utf8View.h> #include <LibGfx/Bitmap.h> -#include <LibGfx/Emoji.h> +#include <LibGfx/Font/Emoji.h> namespace Gfx { diff --git a/Userland/Libraries/LibGfx/Emoji.h b/Userland/Libraries/LibGfx/Font/Emoji.h index 804d7e4680..804d7e4680 100644 --- a/Userland/Libraries/LibGfx/Emoji.h +++ b/Userland/Libraries/LibGfx/Font/Emoji.h diff --git a/Userland/Libraries/LibGfx/Font.h b/Userland/Libraries/LibGfx/Font/Font.h index be60b72546..be60b72546 100644 --- a/Userland/Libraries/LibGfx/Font.h +++ b/Userland/Libraries/LibGfx/Font/Font.h diff --git a/Userland/Libraries/LibGfx/FontDatabase.cpp b/Userland/Libraries/LibGfx/Font/FontDatabase.cpp index 22c867301b..0eca6f7572 100644 --- a/Userland/Libraries/LibGfx/FontDatabase.cpp +++ b/Userland/Libraries/LibGfx/Font/FontDatabase.cpp @@ -8,10 +8,10 @@ #include <AK/NonnullRefPtrVector.h> #include <AK/QuickSort.h> #include <LibCore/DirIterator.h> -#include <LibGfx/Font.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/Font.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibGfx/Font/TrueType/Font.h> -#include <LibGfx/Typeface.h> +#include <LibGfx/Font/Typeface.h> #include <stdlib.h> namespace Gfx { diff --git a/Userland/Libraries/LibGfx/FontDatabase.h b/Userland/Libraries/LibGfx/Font/FontDatabase.h index 90ba0587d8..46a068789d 100644 --- a/Userland/Libraries/LibGfx/FontDatabase.h +++ b/Userland/Libraries/LibGfx/Font/FontDatabase.h @@ -10,8 +10,8 @@ #include <AK/HashMap.h> #include <AK/OwnPtr.h> #include <AK/String.h> +#include <LibGfx/Font/Typeface.h> #include <LibGfx/Forward.h> -#include <LibGfx/Typeface.h> namespace Gfx { diff --git a/Userland/Libraries/LibGfx/FontStyleMapping.h b/Userland/Libraries/LibGfx/Font/FontStyleMapping.h index 1653dd0e43..1653dd0e43 100644 --- a/Userland/Libraries/LibGfx/FontStyleMapping.h +++ b/Userland/Libraries/LibGfx/Font/FontStyleMapping.h diff --git a/Userland/Libraries/LibGfx/Font/TrueType/Font.h b/Userland/Libraries/LibGfx/Font/TrueType/Font.h index 6e037188e5..17ed391468 100644 --- a/Userland/Libraries/LibGfx/Font/TrueType/Font.h +++ b/Userland/Libraries/LibGfx/Font/TrueType/Font.h @@ -11,11 +11,11 @@ #include <AK/RefCounted.h> #include <AK/StringView.h> #include <LibGfx/Bitmap.h> -#include <LibGfx/Font.h> -#include <LibGfx/Size.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Font/TrueType/Cmap.h> #include <LibGfx/Font/TrueType/Glyf.h> #include <LibGfx/Font/TrueType/Tables.h> +#include <LibGfx/Size.h> #define POINTS_PER_INCH 72.0f #define DEFAULT_DPI 96 diff --git a/Userland/Libraries/LibGfx/Typeface.cpp b/Userland/Libraries/LibGfx/Font/Typeface.cpp index 4c6f2be4c4..0094b39404 100644 --- a/Userland/Libraries/LibGfx/Typeface.cpp +++ b/Userland/Libraries/LibGfx/Font/Typeface.cpp @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <LibGfx/Typeface.h> +#include <LibGfx/Font/Typeface.h> namespace Gfx { diff --git a/Userland/Libraries/LibGfx/Typeface.h b/Userland/Libraries/LibGfx/Font/Typeface.h index 052baf98d3..5966366b76 100644 --- a/Userland/Libraries/LibGfx/Typeface.h +++ b/Userland/Libraries/LibGfx/Font/Typeface.h @@ -10,8 +10,8 @@ #include <AK/Function.h> #include <AK/RefCounted.h> #include <AK/Vector.h> -#include <LibGfx/BitmapFont.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/BitmapFont.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Font/TrueType/Font.h> namespace Gfx { diff --git a/Userland/Libraries/LibGfx/Painter.cpp b/Userland/Libraries/LibGfx/Painter.cpp index 8329e92339..0264902af9 100644 --- a/Userland/Libraries/LibGfx/Painter.cpp +++ b/Userland/Libraries/LibGfx/Painter.cpp @@ -12,9 +12,9 @@ #include "Painter.h" #include "Bitmap.h" -#include "Emoji.h" -#include "Font.h" -#include "FontDatabase.h" +#include "Font/Emoji.h" +#include "Font/Font.h" +#include "Font/FontDatabase.h" #include "Gamma.h" #include <AK/Assertions.h> #include <AK/Debug.h> diff --git a/Userland/Libraries/LibGfx/Painter.h b/Userland/Libraries/LibGfx/Painter.h index 744702745c..dcad9b10ca 100644 --- a/Userland/Libraries/LibGfx/Painter.h +++ b/Userland/Libraries/LibGfx/Painter.h @@ -11,7 +11,7 @@ #include <AK/Utf8View.h> #include <AK/Vector.h> #include <LibGfx/Color.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibGfx/Forward.h> #include <LibGfx/Point.h> #include <LibGfx/Rect.h> diff --git a/Userland/Libraries/LibGfx/TextLayout.h b/Userland/Libraries/LibGfx/TextLayout.h index ae509fdd40..96b8ba995e 100644 --- a/Userland/Libraries/LibGfx/TextLayout.h +++ b/Userland/Libraries/LibGfx/TextLayout.h @@ -13,7 +13,7 @@ #include <AK/Utf32View.h> #include <AK/Utf8View.h> #include <AK/Vector.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Rect.h> #include <LibGfx/TextElision.h> #include <LibGfx/TextWrapping.h> diff --git a/Userland/Libraries/LibPDF/Renderer.h b/Userland/Libraries/LibPDF/Renderer.h index 90a23139f6..d74246e043 100644 --- a/Userland/Libraries/LibPDF/Renderer.h +++ b/Userland/Libraries/LibPDF/Renderer.h @@ -10,8 +10,8 @@ #include <LibGfx/AffineTransform.h> #include <LibGfx/AntiAliasingPainter.h> #include <LibGfx/Bitmap.h> -#include <LibGfx/Font.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/Font.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibGfx/Painter.h> #include <LibGfx/Path.h> #include <LibGfx/Point.h> diff --git a/Userland/Libraries/LibVT/TerminalWidget.cpp b/Userland/Libraries/LibVT/TerminalWidget.cpp index c1d0d59344..02fda4cb79 100644 --- a/Userland/Libraries/LibVT/TerminalWidget.cpp +++ b/Userland/Libraries/LibVT/TerminalWidget.cpp @@ -27,8 +27,8 @@ #include <LibGUI/Painter.h> #include <LibGUI/Scrollbar.h> #include <LibGUI/Window.h> -#include <LibGfx/Font.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/Font.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibGfx/Palette.h> #include <LibGfx/StylePainter.h> #include <ctype.h> diff --git a/Userland/Libraries/LibWeb/CSS/Length.cpp b/Userland/Libraries/LibWeb/CSS/Length.cpp index 724315c55e..ea9c5362e8 100644 --- a/Userland/Libraries/LibWeb/CSS/Length.cpp +++ b/Userland/Libraries/LibWeb/CSS/Length.cpp @@ -8,7 +8,7 @@ #include <AK/NonnullOwnPtr.h> #include <AK/Variant.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Rect.h> #include <LibWeb/CSS/Length.h> #include <LibWeb/CSS/Percentage.h> diff --git a/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp b/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp index 1e0dff24ad..aa39bf39b8 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp +++ b/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp @@ -9,9 +9,9 @@ #include <AK/Debug.h> #include <AK/QuickSort.h> #include <AK/TemporaryChange.h> -#include <LibGfx/Font.h> -#include <LibGfx/FontDatabase.h> -#include <LibGfx/FontStyleMapping.h> +#include <LibGfx/Font/Font.h> +#include <LibGfx/Font/FontDatabase.h> +#include <LibGfx/Font/FontStyleMapping.h> #include <LibGfx/Font/TrueType/Font.h> #include <LibWeb/CSS/CSSFontFaceRule.h> #include <LibWeb/CSS/CSSStyleRule.h> diff --git a/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp b/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp index 65af34895d..868d571417 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp +++ b/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp @@ -7,7 +7,7 @@ #include <AK/TypeCasts.h> #include <LibCore/DirIterator.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibWeb/CSS/StyleProperties.h> #include <LibWeb/FontCache.h> #include <LibWeb/Layout/BlockContainer.h> diff --git a/Userland/Libraries/LibWeb/CSS/StyleProperties.h b/Userland/Libraries/LibWeb/CSS/StyleProperties.h index 3383d25a87..a2676e142e 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleProperties.h +++ b/Userland/Libraries/LibWeb/CSS/StyleProperties.h @@ -8,7 +8,7 @@ #include <AK/HashMap.h> #include <AK/NonnullRefPtr.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Forward.h> #include <LibWeb/CSS/ComputedValues.h> #include <LibWeb/CSS/LengthBox.h> diff --git a/Userland/Libraries/LibWeb/FontCache.cpp b/Userland/Libraries/LibWeb/FontCache.cpp index 7350049dd3..30b93f641f 100644 --- a/Userland/Libraries/LibWeb/FontCache.cpp +++ b/Userland/Libraries/LibWeb/FontCache.cpp @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibWeb/FontCache.h> FontCache& FontCache::the() diff --git a/Userland/Libraries/LibWeb/FontCache.h b/Userland/Libraries/LibWeb/FontCache.h index 647e6b6813..2ae7b1265d 100644 --- a/Userland/Libraries/LibWeb/FontCache.h +++ b/Userland/Libraries/LibWeb/FontCache.h @@ -9,7 +9,7 @@ #include <AK/FlyString.h> #include <AK/HashMap.h> #include <AK/String.h> -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibGfx/Forward.h> struct FontSelector { diff --git a/Userland/Libraries/LibWeb/Layout/ButtonBox.cpp b/Userland/Libraries/LibWeb/Layout/ButtonBox.cpp index 2620845c4e..1a944b9f03 100644 --- a/Userland/Libraries/LibWeb/Layout/ButtonBox.cpp +++ b/Userland/Libraries/LibWeb/Layout/ButtonBox.cpp @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibWeb/DOM/Document.h> #include <LibWeb/Layout/ButtonBox.h> #include <LibWeb/Painting/ButtonPaintable.h> diff --git a/Userland/Libraries/LibWeb/Layout/CheckBox.cpp b/Userland/Libraries/LibWeb/Layout/CheckBox.cpp index 8b226fee5d..473f8a1a9e 100644 --- a/Userland/Libraries/LibWeb/Layout/CheckBox.cpp +++ b/Userland/Libraries/LibWeb/Layout/CheckBox.cpp @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <LibGfx/Font.h> +#include <LibGfx/Font/Font.h> #include <LibWeb/HTML/BrowsingContext.h> #include <LibWeb/HTML/HTMLInputElement.h> #include <LibWeb/Layout/CheckBox.h> diff --git a/Userland/Libraries/LibWeb/Layout/ImageBox.cpp b/Userland/Libraries/LibWeb/Layout/ImageBox.cpp index 6063949272..edb0f9edf8 100644 --- a/Userland/Libraries/LibWeb/Layout/ImageBox.cpp +++ b/Userland/Libraries/LibWeb/Layout/ImageBox.cpp @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibWeb/CSS/StyleValue.h> #include <LibWeb/HTML/BrowsingContext.h> #include <LibWeb/Layout/ImageBox.h> diff --git a/Userland/Libraries/LibWeb/Layout/Node.cpp b/Userland/Libraries/LibWeb/Layout/Node.cpp index 60ee9ca2d5..81ecad005b 100644 --- a/Userland/Libraries/LibWeb/Layout/Node.cpp +++ b/Userland/Libraries/LibWeb/Layout/Node.cpp @@ -5,7 +5,7 @@ */ #include <AK/Demangle.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibWeb/DOM/Document.h> #include <LibWeb/Dump.h> #include <LibWeb/HTML/BrowsingContext.h> diff --git a/Userland/Libraries/LibWeb/OutOfProcessWebView.cpp b/Userland/Libraries/LibWeb/OutOfProcessWebView.cpp index 887993671d..28e0d18143 100644 --- a/Userland/Libraries/LibWeb/OutOfProcessWebView.cpp +++ b/Userland/Libraries/LibWeb/OutOfProcessWebView.cpp @@ -14,7 +14,7 @@ #include <LibGUI/Painter.h> #include <LibGUI/Scrollbar.h> #include <LibGUI/Window.h> -#include <LibGfx/FontDatabase.h> +#include <LibGfx/Font/FontDatabase.h> #include <LibGfx/Palette.h> #include <LibGfx/SystemTheme.h> |