ladybird/Userland/Libraries/LibGfx/Font
Julian Offenhäuser 602f5459bf LibGfx: Fix out of bounds read in BitmapFont::masked_character_set()
When creating a copy of the font containing only the glyphs that are in
use, we previously looped over all possible code points, instead of the
range of code points that are actually in use (and allocated) in the
font. This is a problem, since we index into the array of widths to find
out if a given glyph is used. This array is only as long as the number
of glyphs the font was created with, causing an out of bounds read when
that number is less than our maximum.
2023-04-06 08:26:22 +01:00
..
OpenType LibGfx/OpenType: Ignore glyphs with bogus offsets 2023-03-29 07:06:13 +02:00
WOFF LibGfx/OpenType: Support one specific type of embedded color bitmaps 2023-03-06 10:52:55 +01:00
BitmapFont.cpp LibGfx: Fix out of bounds read in BitmapFont::masked_character_set() 2023-04-06 08:26:22 +01:00
BitmapFont.h LibGfx: Add Font::point_size() 2023-03-15 11:43:54 +01:00
Emoji.cpp LibGfx+LibUnicode: Support specifying the path to search for emoji 2023-03-01 14:54:16 +00:00
Emoji.h LibGfx+LibUnicode: Support specifying the path to search for emoji 2023-03-01 14:54:16 +00:00
Font.cpp LibGfx: Add ability to request glyphs at subpixel offsets to fonts 2023-01-05 12:09:35 +01:00
Font.h LibGfx: Add Font::point_size() 2023-03-15 11:43:54 +01:00
FontDatabase.cpp Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
FontDatabase.h LibGfx: Pass font width to FontDatabase::get() 2023-02-05 08:06:06 +00:00
FontStyleMapping.h Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
PathRasterizer.cpp LibGfx: Remove try_ prefix from bitmap creation functions 2023-01-26 20:24:37 +00:00
PathRasterizer.h LibGfx+LibPDF: Apply subpixel offset in affine transformation 2023-01-05 13:50:26 +01:00
ScaledFont.cpp LibGfx: Add Font::point_size() 2023-03-15 11:43:54 +01:00
ScaledFont.h LibGfx: Add Font::point_size() 2023-03-15 11:43:54 +01:00
Typeface.cpp LibGfx: Pass font width to FontDatabase::get() 2023-02-05 08:06:06 +00:00
Typeface.h LibGfx: Pass font width to FontDatabase::get() 2023-02-05 08:06:06 +00:00
VectorFont.h LibGfx/OpenType: Support one specific type of embedded color bitmaps 2023-03-06 10:52:55 +01:00