mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 20:37:34 +00:00

This adds the option to pass a subpixel offset when fetching a glyph from a font, this offset is currently snapped to thirds of a pixel (i.e. 0, 0.33, 0.66). This is then used when rasterizing the glyph, which is then cached like usual. Note that when using subpixel offsets you're trading a bit of space for accuracy. With the current third of a pixel offsets you can end up with up to 9 bitmaps per glyph.
56 lines
1.2 KiB
CMake
56 lines
1.2 KiB
CMake
set(SOURCES
|
|
AffineTransform.cpp
|
|
AntiAliasingPainter.cpp
|
|
BMPLoader.cpp
|
|
BMPWriter.cpp
|
|
Bitmap.cpp
|
|
BitmapMixer.cpp
|
|
ClassicStylePainter.cpp
|
|
ClassicWindowTheme.cpp
|
|
Color.cpp
|
|
CursorParams.cpp
|
|
DDSLoader.cpp
|
|
Filters/ColorBlindnessFilter.cpp
|
|
Filters/FastBoxBlurFilter.cpp
|
|
Filters/LumaFilter.cpp
|
|
Filters/StackBlurFilter.cpp
|
|
Font/BitmapFont.cpp
|
|
Font/Emoji.cpp
|
|
Font/Font.cpp
|
|
Font/FontDatabase.cpp
|
|
Font/OpenType/Cmap.cpp
|
|
Font/OpenType/Font.cpp
|
|
Font/OpenType/Glyf.cpp
|
|
Font/PathRasterizer.cpp
|
|
Font/ScaledFont.cpp
|
|
Font/Typeface.cpp
|
|
Font/WOFF/Font.cpp
|
|
GIFLoader.cpp
|
|
ICCProfile.cpp
|
|
ICOLoader.cpp
|
|
ImageDecoder.cpp
|
|
JPGLoader.cpp
|
|
PBMLoader.cpp
|
|
PGMLoader.cpp
|
|
PNGLoader.cpp
|
|
PNGWriter.cpp
|
|
PPMLoader.cpp
|
|
Painter.cpp
|
|
Palette.cpp
|
|
Path.cpp
|
|
Point.cpp
|
|
QOILoader.cpp
|
|
QOIWriter.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 PRIVATE LibCompress LibCore LibCrypto LibTextCodec LibIPC)
|