{
  "_id": "6a102655acfb0bcc41c8f58f",
  "Package": "AddFonts",
  "Title": "Download and Register Fonts from GDPR-Compliant Providers For\nUse In R graphics",
  "Version": "0.2.0",
  "Authors@R": "person(\"Guillaume\", \"Noblet\", , \"gnoblet@zaclys.net\", role = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Download and register fonts from GDPR-compliant providers\nfor use in R graphics. Currently supports Bunny Fonts\n(<https://fonts.bunny.net/>/). Architecture allows for easy\nadditions of font providers.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE, packages = \"roxytypes\")",
  "RoxygenNote": "7.3.3",
  "Config/Needs/documentation": "roxytypes",
  "SystemRequirements": "woff2 (>= 1.0.2): woff2-tools (rpm) or woff2 (deb)\nor woff2 (arch)",
  "Config/testthat/edition": "3",
  "URL": "https://codeberg.org/gnoblet/AddFonts,\nhttp://guillaume-noblet.com/AddFonts/,\nhttps://gnoblet.r-universe.dev/AddFonts",
  "BugReports": "https://codeberg.org/gnoblet/AddFonts/issues",
  "Collate": "'CacheMeta.R' 'CacheEntry.R' 'CacheEntryList.R'\n'FontProvider.R' 'add_font.R' 'as_CacheEntryList.R'\n'as_FontProvider.R' 'as_list.R' 'assert.R' 'cache.R'\n'cache_ttf_path.R' 'cache_variant_paths.R' 'conv_fun.R'\n'download_and_cache.R' 'download_variant_generic.R'\n'download_weights.R' 'preview_font.R' 'register_from_cache.R'\n'register_from_download.R' 'update_download_and_cache.R'\n'utils.R' 'woff2_to_ttf.R' 'zzz.R'",
  "Config/pak/sysreqs": "cmake libfreetype6-dev make libpng-dev libuv1-dev\nlibssl-dev zlib1g-dev",
  "Repository": "https://gnoblet.r-universe.dev",
  "Date/Publication": "2026-02-12 12:32:47 UTC",
  "RemoteUrl": "https://codeberg.org/gnoblet/AddFonts",
  "RemoteRef": "HEAD",
  "RemoteSha": "c02003811cbef5193d28687fa1697999e875a74b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 09:05:07 UTC",
    "User": "root"
  },
  "Author": "Guillaume Noblet [aut, cre, cph]",
  "Maintainer": "Guillaume Noblet <gnoblet@zaclys.net>",
  "MD5sum": "defb0504781ca28f920170c7bcea6cb1",
  "_user": "gnoblet",
  "_type": "src",
  "_file": "AddFonts_0.2.0.tar.gz",
  "_fileid": "0da3e226aa637552cb543615b05bf9d67e58123431eaf9b9e0bc907301013343",
  "_filesize": 444472,
  "_sha256": "0da3e226aa637552cb543615b05bf9d67e58123431eaf9b9e0bc907301013343",
  "_created": "2026-05-13T09:05:07.000Z",
  "_published": "2026-05-22T09:48:04.996Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77355728888,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965950268"
    },
    {
      "job": 77355729151,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965941646"
    },
    {
      "job": 77355729051,
      "time": 172,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965951516"
    },
    {
      "job": 77355729126,
      "time": 171,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965940184"
    },
    {
      "job": 77355728866,
      "time": 161,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965899617"
    },
    {
      "job": 77355728549,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157623790"
    },
    {
      "job": 77355728963,
      "time": 81,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965928041"
    },
    {
      "job": 77355729195,
      "time": 80,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965928213"
    },
    {
      "job": 77355729089,
      "time": 82,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965929344"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gnoblet/actions/runs/25789204703",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://codeberg.org/gnoblet/AddFonts",
  "_commit": {
    "id": "c02003811cbef5193d28687fa1697999e875a74b",
    "author": "gnoblet <gnoblet@zaclys.net>",
    "committer": "gnoblet <gnoblet@zaclys.net>",
    "message": "Update versioning in NEWS.md for AddFonts 0.2.0 release\n",
    "time": 1770899567
  },
  "_maintainer": {
    "name": "Guillaume Noblet",
    "email": "gnoblet@zaclys.net",
    "login": "gnoblet",
    "uuid": 19927541
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.5.0",
      "role": "Depends"
    },
    {
      "package": "sysfonts",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "rappdirs",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "S7",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "showtext",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.3.0",
      "role": "Suggests"
    },
    {
      "package": "usethis",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "codeberg-gnoblet",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-07",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-02-07"
    },
    {
      "name": "v0.2.0",
      "date": "2026-02-12"
    }
  ],
  "_userbio": {
    "uuid": 19927541,
    "type": "user",
    "name": "Guillaume NOBLET"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/AddFonts"
  },
  "_devurl": "https://codeberg.org/gnoblet/addfonts",
  "_pkgdown": "http://guillaume-noblet.com/AddFonts/",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/AddFonts.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "add_font",
    "as_CacheEntryList",
    "as_FontProvider",
    "as_list",
    "cache_clean",
    "CacheEntry",
    "CacheEntryList",
    "CacheMeta",
    "delete_files",
    "preview_font"
  ],
  "_help": [
    {
      "page": "add_font",
      "title": "Add a font to the local cache and register it for use",
      "topics": [
        "add_font"
      ]
    },
    {
      "page": "as_CacheEntryList",
      "title": "Read from list",
      "topics": [
        "as_CacheEntryList"
      ]
    },
    {
      "page": "as_FontProvider",
      "title": "Construct a 'FontProvider' from a named list",
      "topics": [
        "as_FontProvider"
      ]
    },
    {
      "page": "as_list",
      "title": "As list",
      "topics": [
        "as_list"
      ]
    },
    {
      "page": "cache_clean",
      "title": "Clean cache entries",
      "concept": [
        "cache"
      ],
      "topics": [
        "cache_clean"
      ]
    },
    {
      "page": "cache_get",
      "title": "Get certain families from CacheEntryList",
      "concept": [
        "cache"
      ],
      "topics": [
        "cache_get"
      ]
    },
    {
      "page": "cache_get_weights",
      "title": "Check which weights are available in a cache entry",
      "concept": [
        "cache"
      ],
      "topics": [
        "cache_get_weights"
      ]
    },
    {
      "page": "cache_read",
      "title": "Read cache entry from disk",
      "concept": [
        "cache"
      ],
      "topics": [
        "cache_read"
      ]
    },
    {
      "page": "cache_remove",
      "title": "Delete entry from cache",
      "concept": [
        "cache"
      ],
      "topics": [
        "cache_remove"
      ]
    },
    {
      "page": "cache_set",
      "title": "Set cache entries",
      "topics": [
        "cache_set"
      ]
    },
    {
      "page": "cache_ttf_filename",
      "title": "Compose canonical filename for a cached TTF",
      "topics": [
        "cache_ttf_filename"
      ]
    },
    {
      "page": "cache_ttf_path",
      "title": "Compute canonical cache path for a TTF file",
      "topics": [
        "cache_ttf_path"
      ]
    },
    {
      "page": "cache_variant_paths",
      "title": "Compute paths used for caching provider artifacts and any conversion intermediate files.",
      "topics": [
        "cache_variant_paths"
      ]
    },
    {
      "page": "cache_write",
      "title": "Write CacheEntryList to disk as JSON",
      "concept": [
        "cache"
      ],
      "topics": [
        "cache_write"
      ]
    },
    {
      "page": "CacheEntry",
      "title": "S7-backed cache entry (CacheEntry)",
      "topics": [
        "CacheEntry"
      ]
    },
    {
      "page": "CacheEntryList",
      "title": "S7 list of cache entries (CacheEntryList)",
      "topics": [
        "CacheEntryList"
      ]
    },
    {
      "page": "CacheMeta",
      "title": "S7-backed cache metadata (CacheMeta)",
      "topics": [
        "CacheMeta"
      ]
    },
    {
      "page": "conv_fun",
      "title": "Resolve a conversion name to the converter function used by the package (currently only 'woff2_to_ttf').",
      "topics": [
        "conv_fun"
      ]
    },
    {
      "page": "delete_files",
      "title": "Delete files",
      "topics": [
        "delete_files"
      ]
    },
    {
      "page": "download_and_cache",
      "title": "Download font variants and add to cache",
      "topics": [
        "download_and_cache"
      ]
    },
    {
      "page": "download_variant_generic",
      "title": "Download and (if needed) convert a provider artifact to a local TTF file for a given family/weight/style and return the local path.",
      "topics": [
        "download_variant_generic"
      ]
    },
    {
      "page": "download_weights",
      "title": "Download font files for specified weights",
      "topics": [
        "download_weights"
      ]
    },
    {
      "page": "FontProvider",
      "title": "Font provider specification (FontProvider)",
      "topics": [
        "FontProvider"
      ]
    },
    {
      "page": "get_cache_dir",
      "title": "Get the package cache directory for fonts",
      "topics": [
        "get_cache_dir"
      ]
    },
    {
      "page": "get_provider_details",
      "title": "Get provider details from internal data",
      "topics": [
        "get_provider_details"
      ]
    },
    {
      "page": "preview_font",
      "title": "Preview a font by ensuring it's installed and drawing a sample string",
      "topics": [
        "preview_font"
      ]
    },
    {
      "page": "register_from_cache",
      "title": "Validate a cache entry and register the font with sysfonts if the required files exist. Returns the prepared 'files' list or 'NULL' when registration cannot proceed.",
      "topics": [
        "register_from_cache"
      ]
    },
    {
      "page": "register_from_download",
      "title": "Download necessary variants for a font, write a cache entry and register the font with 'sysfonts'. Returns the prepared 'files' list on success, or 'NULL' if a regular font could not be obtained.",
      "topics": [
        "register_from_download"
      ]
    },
    {
      "page": "safe_id",
      "title": "Create a filesystem-safe id from a name",
      "topics": [
        "safe_id"
      ]
    },
    {
      "page": "update_download_and_cache",
      "title": "Download missing weights and update an existing cache entry",
      "topics": [
        "update_download_and_cache"
      ]
    },
    {
      "page": "woff2_to_ttf",
      "title": "Convert a .woff2 font to .ttf using the system 'woff2_decompress' tool",
      "topics": [
        "woff2_to_ttf"
      ]
    }
  ],
  "_pkglogo": "https://codeberg.org/gnoblet/AddFonts/raw/HEAD/man/figures/logo.png",
  "_readme": "https://codeberg.org/gnoblet/AddFonts/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "fs",
    "glue",
    "httr2",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "openssl",
    "R6",
    "rappdirs",
    "rlang",
    "S7",
    "showtext",
    "showtextdb",
    "sys",
    "sysfonts",
    "vctrs",
    "withr"
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "addfonts",
  "_universes": [
    "gnoblet",
    "codeberg-gnoblet"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-13T09:07:32.000Z",
      "distro": "noble",
      "commit": "c02003811cbef5193d28687fa1697999e875a74b",
      "fileid": "abe541b25e20c2e1c0c314e2f5f8348d09b105de2854c981c8d9e55b83283acb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gnoblet/actions/runs/25789204703"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-13T09:07:06.000Z",
      "distro": "noble",
      "commit": "c02003811cbef5193d28687fa1697999e875a74b",
      "fileid": "cf51fb2859accda10f2123f5eab5940a1da0c4ae12d8faa8876924049d3c1191",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gnoblet/actions/runs/25789204703"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-13T09:07:38.000Z",
      "commit": "c02003811cbef5193d28687fa1697999e875a74b",
      "fileid": "0059b31769665ee7caf7d4855a587c89097535130ba4e00eda1b29e88ad8873f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gnoblet/actions/runs/25789204703"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-13T09:07:02.000Z",
      "commit": "c02003811cbef5193d28687fa1697999e875a74b",
      "fileid": "01eef7c83062f945d0335490c5d1c3092ffa70545654bb50785e2db738b198af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gnoblet/actions/runs/25789204703"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-13T09:06:18.000Z",
      "commit": "c02003811cbef5193d28687fa1697999e875a74b",
      "fileid": "8f32cc15c88d2150d0dc203bb91e68d0b39f9176a4b8507310f1380d4608f6a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gnoblet/actions/runs/25789204703"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-13T09:06:20.000Z",
      "commit": "c02003811cbef5193d28687fa1697999e875a74b",
      "fileid": "608ee95a564ed830a4a1e4add8f9814592df3af6d9cd59463fee55d8a1f54f9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gnoblet/actions/runs/25789204703"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-13T09:06:25.000Z",
      "commit": "c02003811cbef5193d28687fa1697999e875a74b",
      "fileid": "02e0a22ea5962e2db701cf4d0bfc4fc7623e4397d1efb84c55e26673449fe17e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gnoblet/actions/runs/25789204703"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-05-22T09:47:50.000Z",
      "commit": "c02003811cbef5193d28687fa1697999e875a74b",
      "fileid": "e0c5854f072d9cff2e320623a64b2ee10ffc7a9f6b92fa44bc076f68b9ad38e5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gnoblet/actions/runs/25789204703"
    }
  ]
}