Draw a Chunlian (Spring Festival couplet) using ggplot2

chunlian(
  words = NULL,
  bg_size = 20,
  bg_shape = 22,
  bg_fill = "red2",
  text_size = 10,
  text_params = list(),
  font_file = NULL,
  download_dir = "plot4fun_temp"
)

Arguments

words

A character vector containing three strings for the three lines of the couplet

bg_size

Size of the points in geom_point, 20

bg_shape

Shape of the points in geom_point (21~25), 22 or 23 are very good.

bg_fill

Fill color of the points in geom_point

text_size

Size of the text in geom_text, 10

text_params

parameters parse to geom_text

font_file

font file, e.g XX.ttf, XX.ttc

download_dir

download_dir for font_file

Value

A ggplot object representing the Chunlian