hrbrmstr / waffle

:maple_leaf: Make waffle (square pie) charts in R
776 stars 96 forks source link

A dot in my glyphs #34

Open timothyslau opened 7 years ago

timothyslau commented 7 years ago

eg

timothyslau commented 7 years ago

also, some glyphs don't work e.g."black-tie"

hrbrmstr commented 7 years ago

thx for trying the pkg & taking time to file an issue! reproducible code wld help triage this as wld output of sessionInfo() or devtools::session_info(). thx

timothyslau commented 7 years ago

R version 3.4.1 (2017-06-30) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] extrafont_0.17 waffle_0.7.0 ggplot2_2.2.1

loaded via a namespace (and not attached): [1] Metrics_0.1.2 zoo_1.8-0 reshape2_1.4.2 purrr_0.2.3 splines_3.4.1 lattice_0.20-35 colorspace_1.3-2 stats4_3.4.1
[9] yaml_2.1.14 mgcv_1.8-17 Rmisc_1.5 survival_2.41-3 rlang_0.1.1 ModelMetrics_1.1.0 nloptr_1.0.4 foreign_0.8-69
[17] withr_1.0.2 RColorBrewer_1.1-2 TTR_0.23-1 foreach_1.4.3 plyr_1.8.4 quantmod_0.4-9 stringr_1.2.0 MatrixModels_0.4-1 [25] munsell_0.4.3 gtable_0.2.0 caTools_1.17.1 devtools_1.13.1 codetools_0.2-15 memoise_1.1.0 labeling_0.3 SparseM_1.77
[33] gamlss.dist_5.0-2 lmtest_0.9-35 gamlss_5.0-2 caret_6.0-76 gamlss.data_5.0-0 quantreg_5.33 pbkrtest_0.4-7 parallel_3.4.1
[41] Rttf2pt1_1.3.4 xts_0.9-7 Rcpp_0.12.12 scales_0.4.1 lme4_1.1-13 gridExtra_2.2.1 digest_0.6.12 stringi_1.1.5
[49] grid_3.4.1 tools_3.4.1 bitops_1.0-6 magrittr_1.5 lazyeval_0.2.0 tibble_1.3.1 car_2.1-4 extrafontdb_1.0
[57] tidyr_0.6.3 MASS_7.3-47 Matrix_1.2-10 lubridate_1.6.0 minqa_1.2.4 iterators_1.0.8 nnet_7.3-12 nlme_3.1-131
[65] compiler_3.4.1

Session info ----------------------------------------------------------------------------------------------------------------------------------------------------------- setting value
version R version 3.4.1 (2017-06-30) system x86_64, mingw32
ui RStudio (1.1.353)
language (EN)
collate English_United States.1252
tz America/Denver
date 2017-09-14

Packages --------------------------------------------------------------------------------------------------------------------------------------------------------------- package version date source
base
3.4.1 2017-06-30 local
bitops 1.0-6 2013-08-17 CRAN (R 3.4.1) car 2.1-4 2016-12-02 CRAN (R 3.4.0) caret 6.0-76 2017-04-18 CRAN (R 3.4.0) caTools 1.17.1 2014-09-10 CRAN (R 3.4.1) codetools 0.2-15 2016-10-05 CRAN (R 3.4.1) colorspace 1.3-2 2016-12-14 CRAN (R 3.4.0) compiler 3.4.1 2017-06-30 local
datasets 3.4.1 2017-06-30 local
devtools 1.13.1 2017-05-13 CRAN (R 3.4.0) digest 0.6.12 2017-01-27 CRAN (R 3.4.0) extrafont
0.17 2014-12-08 CRAN (R 3.4.1) extrafontdb 1.0 2012-06-11 CRAN (R 3.4.0) foreach 1.4.3 2015-10-13 CRAN (R 3.4.0) foreign 0.8-69 2017-06-22 CRAN (R 3.4.1) gamlss 5.0-2 2017-05-25 CRAN (R 3.4.1) gamlss.data 5.0-0 2016-10-18 CRAN (R 3.4.0) gamlss.dist 5.0-2 2017-06-09 CRAN (R 3.4.1) ggplot2 2.2.1 2016-12-30 CRAN (R 3.4.0) graphics 3.4.1 2017-06-30 local
grDevices 3.4.1 2017-06-30 local
grid 3.4.1 2017-06-30 local
gridExtra 2.2.1 2016-02-29 CRAN (R 3.4.0) gtable 0.2.0 2016-02-26 CRAN (R 3.4.0) iterators 1.0.8 2015-10-13 CRAN (R 3.4.0) labeling 0.3 2014-08-23 CRAN (R 3.4.0) lattice 0.20-35 2017-03-25 CRAN (R 3.4.1) lazyeval 0.2.0 2016-06-12 CRAN (R 3.4.0) lme4 1.1-13 2017-04-19 CRAN (R 3.4.0) lmtest 0.9-35 2017-02-11 CRAN (R 3.4.0) lubridate 1.6.0 2016-09-13 CRAN (R 3.4.1) magrittr 1.5 2014-11-22 CRAN (R 3.4.0) MASS 7.3-47 2017-02-26 CRAN (R 3.4.1) Matrix 1.2-10 2017-05-03 CRAN (R 3.4.1) MatrixModels 0.4-1 2015-08-22 CRAN (R 3.4.0) memoise 1.1.0 2017-04-21 CRAN (R 3.4.0) methods
3.4.1 2017-06-30 local
Metrics 0.1.2 2017-04-21 CRAN (R 3.4.0) mgcv 1.8-17 2017-02-08 CRAN (R 3.4.1) minqa 1.2.4 2014-10-09 CRAN (R 3.4.0) ModelMetrics 1.1.0 2016-08-26 CRAN (R 3.4.0) munsell 0.4.3 2016-02-13 CRAN (R 3.4.0) nlme 3.1-131 2017-02-06 CRAN (R 3.4.1) nloptr 1.0.4 2014-08-04 CRAN (R 3.4.0) nnet 7.3-12 2016-02-02 CRAN (R 3.4.1) parallel 3.4.1 2017-06-30 local
pbkrtest 0.4-7 2017-03-15 CRAN (R 3.4.0) plyr 1.8.4 2016-06-08 CRAN (R 3.4.0) purrr 0.2.3 2017-08-02 CRAN (R 3.4.1) quantmod 0.4-9 2017-05-29 CRAN (R 3.4.0) quantreg 5.33 2017-04-18 CRAN (R 3.4.0) RColorBrewer 1.1-2 2014-12-07 CRAN (R 3.4.0) Rcpp 0.12.12 2017-07-15 CRAN (R 3.4.1) reshape2 1.4.2 2016-10-22 CRAN (R 3.4.0) rlang 0.1.1 2017-05-18 CRAN (R 3.4.0) Rmisc 1.5 2013-10-22 CRAN (R 3.4.0) Rttf2pt1 1.3.4 2016-05-19 CRAN (R 3.4.0) scales 0.4.1 2016-11-09 CRAN (R 3.4.0) SparseM 1.77 2017-04-23 CRAN (R 3.4.0) splines 3.4.1 2017-06-30 local
stats 3.4.1 2017-06-30 local
stats4 3.4.1 2017-06-30 local
stringi 1.1.5 2017-04-07 CRAN (R 3.4.0) stringr 1.2.0 2017-02-18 CRAN (R 3.4.0) survival 2.41-3 2017-04-04 CRAN (R 3.4.1) tibble 1.3.1 2017-05-17 CRAN (R 3.4.0) tidyr 0.6.3 2017-05-15 CRAN (R 3.4.0) tools 3.4.1 2017-06-30 local
TTR 0.23-1 2016-03-21 CRAN (R 3.4.0) utils
3.4.1 2017-06-30 local
waffle * 0.7.0 2017-01-07 CRAN (R 3.4.1) withr 1.0.2 2016-06-20 CRAN (R 3.4.0) xts 0.9-7 2014-01-02 CRAN (R 3.4.0) yaml 2.1.14 2016-11-12 CRAN (R 3.4.1) zoo 1.8-0 2017-04-12 CRAN (R 3.4.0)

sammerk commented 6 years ago

I have the same issue and discovered the issue in the README of this package, too:

library(extrafont)

waffle(
  parts / 10, rows = 3, colors = c("#969696", "#1879bf", "#009bda"),
  use_glyph = "medkit", size = 8
)

results in medkit-icon with the dot (the original icon doesn't show this dot)

btw: fancy package - thanks!