Skip to content
ggplot2 themes based on the Hind fonts
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
README_figs
inst/fonts/Hind
man
vignettes
.Rbuildignore
.gitignore
.travis.yml
CONDUCT.md
DESCRIPTION
LICENSE
LICENSE.note
NAMESPACE
NEWS.md
README.Rmd
README.md
appveyor.yml
cran-comments.md
fontHind.Rproj

README.md

Hind font Based ggplot2 Themes.

Project Status: Active – The project is being actively developed. Last-changedate License: MIT keybase verified

Travis-CI Build Status AppVeyor Build Status

minimal R version packageversion CRAN_Status_Badge


This is an add-on pacakge for hrbrthemes pacakge. It provides ggplot2 theme based on Hind font.

Hind is an Open Source typeface supporting the Devanagari and Latin scripts. Developed explicitly for use in User Interface design, the Hind font family includes five styles. More information about the font can be found at https://fonts.google.com/specimen/Hind.

The package is released under MIT License while the Hind fonts are released under the SIL Open Font License 1.1.

Installation

install.packages('hrbrthemes')

if(!require(devtools)) {
  install.packages("devtools")
}
devtools::install_github('bhaskarvk/fontHind')
fontHind::import_hind() # Required only once

The fontHind::import_hind() call will import the Hind fonts in your extrafont database. You will then need to install the Hind fonts in the directory mentioned in the output of that call as per your operating system's way of installing fonts.

Usage

Hind Fonts

library(ggplot2)
library(fontHind)

gg <- ggplot(mtcars, aes(mpg, wt)) +
  geom_point() +
  labs(x="Fuel efficiency (mpg)", y="Weight (tons)",
       title="Seminal ggplot2 scatterplot example",
       subtitle="A plot that is only useful for demonstration purposes",
       caption="Brought to you by the letter 'g'")

gg + theme_ipsum_hind()

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

You can’t perform that action at this time.