Skip to content

Commit

Permalink
Fixed non-Qt builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koefferlein committed Aug 9, 2024
1 parent 13dec27 commit aada342
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/laybasic/laybasic/layLayoutViewBase.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3017,7 +3017,7 @@ LayoutViewBase::save_image_with_options (const std::string &fn,
#elif defined(HAVE_PNG)
void
LayoutViewBase::save_image_with_options (const std::string &fn,
unsigned int width, unsigned int height, int linewidth, int oversampling, double resolution,
unsigned int width, unsigned int height, int linewidth, int oversampling, double resolution, double font_resolution,
tl::Color background, tl::Color foreground, tl::Color active, const db::DBox &target_box, bool monochrome)
{
tl::SelfTimer timer (tl::verbosity () >= 11, tl::to_string (tr ("Save image")));
Expand All @@ -3036,7 +3036,7 @@ LayoutViewBase::save_image_with_options (const std::string &fn,

} else {

tl::PixelBuffer img = mp_canvas->image_with_options (width, height, linewidth, oversampling, resolution, background, foreground, active, target_box);
tl::PixelBuffer img = mp_canvas->image_with_options (width, height, linewidth, oversampling, resolution, font_resolution, background, foreground, active, target_box);
img.set_texts (texts);
img.write_png (stream);

Expand Down

0 comments on commit aada342

Please sign in to comment.