mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 19:10:26 +00:00
LibPDF: Remove an unused variable
This commit is contained in:
parent
3b686ea6ef
commit
117a5f1bd2
Notes:
sideshowbarker
2024-07-17 07:35:03 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/117a5f1bd2 Pull-request: https://github.com/SerenityOS/serenity/pull/19973
1 changed files with 0 additions and 1 deletions
|
@ -47,7 +47,6 @@ PDFErrorOr<void> SimpleFont::initialize(Document* document, NonnullRefPtr<DictOb
|
|||
|
||||
PDFErrorOr<Gfx::FloatPoint> SimpleFont::draw_string(Gfx::Painter& painter, Gfx::FloatPoint glyph_position, DeprecatedString const& string, Color const& paint_color, float font_size, float character_spacing, float horizontal_scaling)
|
||||
{
|
||||
auto so = make_object<StringObject>(string, true);
|
||||
for (auto char_code : string.bytes()) {
|
||||
// Use the width specified in the font's dictionary if available,
|
||||
// and use the default width for the given font otherwise.
|
||||
|
|
Loading…
Reference in a new issue