1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:17:45 +00:00

LibGfx: Use AntiAliasingPainter::fill_path() for drawing font glyphs

Using the general AA painter fill_path() is indistinguishable from the
previous rasterizer, so this switch simply allows us to share more code.
This commit is contained in:
MacDue 2023-07-09 20:27:40 +01:00 committed by Andreas Kling
parent c8e0db5061
commit e1cf868e6e
7 changed files with 28 additions and 171 deletions

View file

@ -4,7 +4,6 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibGfx/Font/PathRasterizer.h>
#include <LibPDF/CommonNames.h>
#include <LibPDF/Encoding.h>
#include <LibPDF/Fonts/PS1FontProgram.h>