dahtah / imager

R package for image processing
GNU Lesser General Public License v3.0
187 stars 43 forks source link

fsize parameter in `draw_text` not working #108

Closed niedermansam closed 4 years ago

niedermansam commented 4 years ago

Changing the value of fsize doesn't seem to do anything.

color = "#AA3939"

imfill(200, 200, val = color) %>%
  draw_text(x = 10, y = 10, text = color, color = "white", fsize = 20) %>%
  plot(axes=F)

imfill(200, 200, val = color) %>%
  draw_text(x = 10,y = 10 , text = color, color = "white", fsize = 80) %>%
  plot(axes=F)

I am using imager version 0.41.2 on Windows 10.

ShotaOchi commented 4 years ago

The error has been fixed in the development version of imager. See #94.

You can download the windows binary of the development version from https://github.com/ShotaOchi/imager/releases/download/0.41.1/imager_0.41.1.zip