The trekfont
package contains 107 Star Trek fonts. These
are not part of rtrek
but rtrek
offers a
convenient function st_font()
for previewing them.
Since accessing these fonts can easily be done directly and doing so
is also not a significant purpose of rtrek
, this function
is only useful if you choose to install optional packages not otherwise
required for rtrek
. These include showtext
,
ggplot2
, and of course trekfont
. As long as
you have these packages installed, you do not need to load them
explicitly in order to use st_font()
.
If you call st_font()
without passing the
family
argument, it will return a vector of all available
font families.It does so with the font file extensions removed, in
contrast to trekfont::trekfonts
. This function is only for
previewing fonts.
Brought to you by Worf, who has intercepted many messages in his time as security chief.
## [1] "AmarilloUSAF" "Ba'ku"
## [3] "BernyKlingon" "Borg"
## [5] "CorporateURW" "Crillee"
## [7] "CrilleeItalicBT" "DeltaFlyer"
## [9] "Enterprise" "Fabrini"
## [11] "Federation" "FederationBold"
## [13] "FederationClassic" "FederationClassicMovie"
## [15] "FederationCrille" "FederationDS9Title"
## [17] "FederationHull" "FederationStarfleet"
## [19] "FederationStarfleetSquare" "FederationTNGTitle"
## [21] "FederationWide" "FinalFrontier"
## [23] "FutureRegular" "GallaudetRegular"
## [25] "GornathonRegular" "Iconian"
## [27] "Khan" "Klingon"
## [29] "KlingonBlade" "KlingonDagger"
## [31] "KlingonScript" "KlingonStilleto"
## [33] "KlingonTNG" "Klinzhai"
## [35] "Klinzhaihollow" "Malcorian"
## [37] "ModernVulcan" "Modernvulcan1.1"
## [39] "Montalban" "MontalbanBold"
## [41] "MontalbanBoldItalic" "MontalbanCondensed"
## [43] "MontalbanCondensedBold" "MontalbanCondensedBoldItalic"
## [45] "MontalbanCondensedItalic" "MontalbanItalic"
## [47] "OldVulcan" "Preservers"
## [49] "Romulan" "RomulanEagle"
## [51] "RomulanFake" "RomulanFalcon"
## [53] "RomulanHawk" "RomulusPlain"
## [55] "SliderRegular" "Son'a"
## [57] "Square721CondensedBT" "StarCine"
## [59] "StarDown" "StarDownV1.1"
## [61] "StarfleetBoldExtendedBT" "StarNext"
## [63] "StarSeries" "StarTitle"
## [65] "StarTrekBT" "StarTrekFilmBT"
## [67] "StarTrekGenHeavyBT" "StarTrekNextExtraBoldBT"
## [69] "StarTrekNextPiBT" "StarTrekPiBT"
## [71] "STBajoranAncient" "STBajoranIdeogram"
## [73] "STbinar" "STCardassian"
## [75] "STDominion" "STElAurian"
## [77] "STFerengi1L" "STFerengi1R"
## [79] "STFerengiGothicR" "STFerengiL"
## [81] "STFerengiR" "STGothicFerengi"
## [83] "STKlinzhai" "Stop"
## [85] "Swiss911ExtraCompressedBT" "Swiss911UltraCompressedBT"
## [87] "TholianRegular" "TNGcast"
## [89] "TNGMonitorsPlain" "Transitional521BT"
## [91] "Trekbats" "TrekbatsRegular"
## [93] "TrekClassicShipHull" "TrekDS9CreditsText"
## [95] "TrekDS9Hollow" "TrekGeneration1"
## [97] "TrekGeneration2" "TrekkerRegular"
## [99] "TrekkerTwoRegular" "TrekMovie2"
## [101] "TrekTNGMonitors" "TRHeavy"
## [103] "Trill" "Venetian301BT"
## [105] "Vidiian" "VothSTVoyager"
## [107] "ZiganTradOkudeska"
st_font("Khan")
Worf is here to guide your selections, though he has a bit of a one-track mind when it comes to Star Trek universe calligraphy.
The RStudio graphics device in Windows may not show the fonts. It is recommended you use the regular R GUI.
This font previewer does just that. If you want to install and use
fonts from trekfont
, just do so using sysfonts
and showtext
. See these packages for details.