File: fontset-symbola.R

package info (click to toggle)
r-cran-fontquiver 0.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 3,460 kB
  • sloc: sh: 13; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 483 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#' @references \url{http://users.teilar.gr/~g1951d/}
#' @include fontset.R
fontset_symbola <- function(variant = "symbols", style = "regular") {
  font <- font_get("Symbola", variant, style, pkg = "fontquiver")
  font$name <- "Symbola"
  font$fullname <- "Symbola"
  font
}

fontset_symbola_files <- list(
  symbols = list(
    regular = symbol("Symbola", face = "symbol", weight = 80)
  )
)

fontset_register("Symbola",
  getter = fontset_symbola,
  files = fontset_symbola_files
)