File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 6
6
# ' @importFrom showtext showtext_auto
7
7
# ' @importFrom proto proto
8
8
9
- gillproto <- proto :: proto(expr = {
9
+ cabinproto <- proto :: proto(expr = {
10
10
get_path <- function () {
11
11
font_folder <- " fonts"
12
12
system.file(font_folder , package = " dataedu" )
@@ -28,13 +28,13 @@ gillproto <- proto::proto(expr={
28
28
}
29
29
})
30
30
31
- # ' Load Gill Sans MT Font
31
+ # ' Load Cabin Font
32
32
# '
33
33
# '
34
- # ' @title load.gillsansmt
35
- # ' @param font Gill Sans MT
34
+ # ' @title load.cabin
35
+ # ' @param font Cabin
36
36
# ' @return NULL
37
37
# ' @export
38
- load.gillsansmt <- function (font = " GillSansMT .ttf" ) {
39
- gillproto $ load_font(font = font )
38
+ load.cabin <- function (font = " Cabin .ttf" ) {
39
+ cabinproto $ load_font(font = font )
40
40
}
Original file line number Diff line number Diff line change 1
1
.onAttach <- function (libname , pkgname ) {
2
- load.gillsansmt ()
2
+ load.cabin ()
3
3
}
You can’t perform that action at this time.
0 commit comments