mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:07:45 +00:00
LibPDF: Remove an unused variable
This commit is contained in:
parent
3b686ea6ef
commit
117a5f1bd2
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…
Add table
Add a link
Reference in a new issue