{
  "_id": "6a226c0bcd65a98ecbd46f25",
  "Package": "textshaping",
  "Title": "Bindings to the 'HarfBuzz' and 'Fribidi' Libraries for Text\nShaping",
  "Version": "1.0.5.9000",
  "Authors@R": "c(\nperson(\"Thomas Lin\", \"Pedersen\", , \"thomas.pedersen@posit.co\", role = c(\"cre\", \"aut\"),\ncomment = c(ORCID = \"0000-0002-5147-4711\")),\nperson(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\"),\ncomment = c(ROR = \"03wc8by49\"))\n)",
  "Description": "Provides access to the text shaping functionality in the\n'HarfBuzz' library and the bidirectional algorithm in the\n'Fribidi' library. 'textshaping' is a low-level utility package\nmainly for graphic devices that expands upon the font tool-set\nprovided by the 'systemfonts' package.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/r-lib/textshaping",
  "BugReports": "https://github.com/r-lib/textshaping/issues",
  "VignetteBuilder": "knitr",
  "Config/build/compilation-database": "true",
  "Config/testthat/edition": "3",
  "Config/usethis/last-upkeep": "2025-04-23",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "SystemRequirements": "freetype2, harfbuzz, fribidi",
  "Remotes": [
    "r-lib/systemfonts"
  ],
  "Config/pak/sysreqs": "libfontconfig1-dev libfreetype6-dev libfribidi-dev\nlibharfbuzz-dev libicu-dev",
  "Repository": "https://r-lib.r-universe.dev",
  "Date/Publication": "2026-03-18 10:34:44 UTC",
  "RemoteUrl": "https://github.com/r-lib/textshaping",
  "RemoteRef": "HEAD",
  "RemoteSha": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-05 06:16:56 UTC",
    "User": "root"
  },
  "Author": "Thomas Lin Pedersen [cre, aut] (ORCID:\n<https://orcid.org/0000-0002-5147-4711>),\nPosit Software, PBC [cph, fnd] (ROR: <https://ror.org/03wc8by49>)",
  "Maintainer": "Thomas Lin Pedersen <thomas.pedersen@posit.co>",
  "MD5sum": "bbaf0044a924fd2fc8d076a0ff96da8c",
  "_user": "r-lib",
  "_type": "src",
  "_file": "textshaping_1.0.5.9000.tar.gz",
  "_fileid": "464efd84a29d12cc408d7f32b1164565ed2030715908239afc8c765d56e76a2e",
  "_filesize": 234589,
  "_sha256": "464efd84a29d12cc408d7f32b1164565ed2030715908239afc8c765d56e76a2e",
  "_created": "2026-06-05T06:16:56.000Z",
  "_published": "2026-06-05T06:26:19.943Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79674812123,
      "time": 151,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430126138"
    },
    {
      "job": 79674812163,
      "time": 229,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430143741"
    },
    {
      "job": 79674812130,
      "time": 151,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430126537"
    },
    {
      "job": 79674812108,
      "time": 138,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430122886"
    },
    {
      "job": 79674812052,
      "time": 136,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430164227"
    },
    {
      "job": 79674812048,
      "time": 223,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430198807"
    },
    {
      "job": 79674812054,
      "time": 107,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430141134"
    },
    {
      "job": 79674812038,
      "time": 241,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430193517"
    },
    {
      "job": 79674263729,
      "time": 294,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430090247"
    },
    {
      "job": 79674812022,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430122713"
    },
    {
      "job": 79674812039,
      "time": 157,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430127551"
    },
    {
      "job": 79674812034,
      "time": 125,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430119721"
    },
    {
      "job": 79674812033,
      "time": 167,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430129626"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-lib/actions/runs/26998795302",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/r-lib/textshaping",
  "_commit": {
    "id": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
    "author": "Thomas Lin Pedersen <thomasp85@gmail.com>",
    "committer": "Thomas Lin Pedersen <thomasp85@gmail.com>",
    "message": "reformat\n",
    "time": 1773830084
  },
  "_maintainer": {
    "name": "Thomas Lin Pedersen",
    "email": "thomas.pedersen@posit.co",
    "login": "thomasp85",
    "mastodon": "@thomasp85@fosstodon.org",
    "linkedin": "in/thomasp85",
    "orcid": "0000-0002-5147-4711",
    "twitter": "@thomasp85",
    "description": "Maker of tools focusing on data science and data visualisation",
    "uuid": 1775316
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "cpp11",
      "version": ">= 0.2.1",
      "role": "LinkingTo"
    },
    {
      "package": "systemfonts",
      "version": ">= 1.0.0",
      "role": "LinkingTo"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "systemfonts",
      "version": ">= 1.3.2.9000",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "grDevices",
      "role": "Suggests"
    },
    {
      "package": "grid",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "r-lib",
  "_selfowned": true,
  "_usedby": 800,
  "_updates": [
    {
      "week": "2025-24",
      "n": 2
    },
    {
      "week": "2025-36",
      "n": 13
    },
    {
      "week": "2025-40",
      "n": 3
    },
    {
      "week": "2025-41",
      "n": 2
    },
    {
      "week": "2025-42",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 8
    },
    {
      "week": "2026-12",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.0.2",
      "date": "2025-09-01"
    },
    {
      "name": "v1.0.3",
      "date": "2025-09-02"
    },
    {
      "name": "v1.0.4",
      "date": "2025-10-10"
    },
    {
      "name": "v1.0.5",
      "date": "2026-03-06"
    }
  ],
  "_stars": 20,
  "_contributors": [
    {
      "user": "thomasp85",
      "count": 200,
      "uuid": 1775316
    },
    {
      "user": "jeroen",
      "count": 23,
      "uuid": 216319
    },
    {
      "user": "michaelchirico",
      "count": 3,
      "uuid": 7606389
    },
    {
      "user": "jimhester",
      "count": 2,
      "uuid": 205275
    },
    {
      "user": "gaborcsardi",
      "count": 1,
      "uuid": 660288
    },
    {
      "user": "bisaloo",
      "count": 1,
      "uuid": 10783929
    },
    {
      "user": "musvaage",
      "count": 1,
      "uuid": 112724366
    }
  ],
  "_userbio": {
    "uuid": 22618716,
    "type": "organization",
    "name": "R infrastructure"
  },
  "_downloads": {
    "count": 898036,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/textshaping"
  },
  "_devurl": "https://github.com/r-lib/textshaping",
  "_searchresults": 87,
  "_topics": [
    "harfbuzz",
    "freetype",
    "fribidi",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "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",
    "extra/textshaping.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/r-lib/textshaping",
  "_realowner": "r-lib",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-09-17"
    },
    {
      "version": "0.1.1",
      "date": "2020-09-29"
    },
    {
      "version": "0.1.2",
      "date": "2020-10-08"
    },
    {
      "version": "0.2.0",
      "date": "2020-11-12"
    },
    {
      "version": "0.2.1",
      "date": "2020-11-13"
    },
    {
      "version": "0.3.0",
      "date": "2021-02-10"
    },
    {
      "version": "0.3.1",
      "date": "2021-02-22"
    },
    {
      "version": "0.3.2",
      "date": "2021-03-10"
    },
    {
      "version": "0.3.3",
      "date": "2021-03-16"
    },
    {
      "version": "0.3.4",
      "date": "2021-05-11"
    },
    {
      "version": "0.3.5",
      "date": "2021-06-09"
    },
    {
      "version": "0.3.6",
      "date": "2021-10-13"
    },
    {
      "version": "0.3.7",
      "date": "2023-10-09"
    },
    {
      "version": "0.4.0",
      "date": "2024-05-24"
    },
    {
      "version": "0.4.1",
      "date": "2024-12-06"
    },
    {
      "version": "1.0.0",
      "date": "2025-01-20"
    },
    {
      "version": "1.0.1",
      "date": "2025-05-01"
    },
    {
      "version": "1.0.2",
      "date": "2025-09-01"
    },
    {
      "version": "1.0.3",
      "date": "2025-09-02"
    },
    {
      "version": "1.0.4",
      "date": "2025-10-10"
    },
    {
      "version": "1.0.5",
      "date": "2026-03-06"
    }
  ],
  "_exports": [
    "get_font_features",
    "grid.math",
    "lorem_bidi",
    "lorem_text",
    "math_grob",
    "plot_math",
    "plot_shape",
    "shape_math",
    "shape_text",
    "text_width"
  ],
  "_help": [
    {
      "page": "get_font_features",
      "title": "Get available OpenType features in a font",
      "topics": [
        "get_font_features"
      ]
    },
    {
      "page": "lorem_text",
      "title": "Get gibberish text in various scripts",
      "topics": [
        "lorem_bidi",
        "lorem_text"
      ]
    },
    {
      "page": "math_grob",
      "title": "Create a grid grob for a math expression",
      "topics": [
        "grid.math",
        "math_grob"
      ]
    },
    {
      "page": "plot_math",
      "title": "Preview shaped math expression",
      "topics": [
        "plot_math"
      ]
    },
    {
      "page": "plot_shape",
      "title": "Preview shaped text and the metrics for the text box",
      "topics": [
        "plot_shape"
      ]
    },
    {
      "page": "shape_math",
      "title": "Shape LaTeX math expression",
      "topics": [
        "shape_math"
      ]
    },
    {
      "page": "shape_text",
      "title": "Calculate glyph positions for strings",
      "topics": [
        "shape_text"
      ]
    },
    {
      "page": "text_width",
      "title": "Calculate the width of a string, ignoring new-lines",
      "topics": [
        "text_width"
      ]
    }
  ],
  "_readme": "https://github.com/r-lib/textshaping/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "cli",
    "cpp11",
    "jsonlite",
    "lifecycle",
    "rlang",
    "stringi",
    "systemfonts"
  ],
  "_sysdeps": [
    {
      "shlib": "libharfbuzz",
      "package": "libharfbuzz0b",
      "headers": "libharfbuzz-dev",
      "source": "harfbuzz",
      "version": "8.3.0-2build2",
      "name": "harfbuzz",
      "homepage": "https://www.freedesktop.org/wiki/Software/HarfBuzz",
      "description": "OpenType text shaping engine (shared library)"
    },
    {
      "shlib": "libfreetype",
      "package": "libfreetype6",
      "headers": "libfreetype-dev",
      "source": "freetype",
      "version": "2.13.2+dfsg-1ubuntu0.1",
      "name": "freetype",
      "homepage": "https://freetype.org",
      "description": "FreeType 2 font engine, shared library files"
    },
    {
      "shlib": "libfribidi",
      "package": "libfribidi0",
      "headers": "libfribidi-dev",
      "source": "fribidi",
      "version": "1.0.13-3build1",
      "name": "fribidi",
      "homepage": "http://www.fribidi.org/",
      "description": "Free Implementation of the Unicode BiDi algorithm"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "c_interface.Rmd",
      "filename": "c_interface.html",
      "title": "textshaping C interface",
      "engine": "knitr::rmarkdown",
      "headings": [
        "String width",
        "String shape"
      ],
      "created": "2020-08-27 10:11:53",
      "modified": "2025-06-11 06:28:09",
      "commits": 5
    }
  ],
  "_score": 13.896273531515662,
  "_indexed": true,
  "_nocasepkg": "textshaping",
  "_universes": [
    "r-lib",
    "thomasp85"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5.9000",
      "date": "2026-06-05T06:20:11.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "c7d84909438b1ce50874b25bb6b19fd0ba7c35cc993b6fc3d1161e8318620e1f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26998795302"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5.9000",
      "date": "2026-06-05T06:21:24.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "a01dc5cf62a1e7d765772e12af6464cbfa8c06d917a8ca3d683f31e1abe57642",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26998795302"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.5.9000",
      "date": "2026-06-05T06:20:11.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "84231f3acc1926297ef04e0ec622922b51b29eeed35d75924388f6327d4d5f89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26998795302"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.5.9000",
      "date": "2026-06-05T06:20:00.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "9af00b30ee03dc8560fbbae9e96cfa1c43e3cecc74f3c1e605259fd146278d48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26998795302"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5.9000",
      "date": "2026-06-05T06:22:59.000Z",
      "arch": "aarch64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "3421a7ee70149012cb261baf36688dc2ee0e27dee005e09f1439bec120eca57e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26998795302"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5.9000",
      "date": "2026-06-05T06:24:53.000Z",
      "arch": "x86_64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "b65007e941ecde0152b4f920741a0c1bdd50004bccfb3e15cab3601e080dc88c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26998795302"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.5.9000",
      "date": "2026-06-05T06:21:16.000Z",
      "arch": "aarch64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "7f10510935848042aabf1c876b99c7a401458219d221bc137aa68bf81cdc0dac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26998795302"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.5.9000",
      "date": "2026-06-05T06:24:11.000Z",
      "arch": "x86_64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "c5c9ea466d383e8e963d5d3d6491c6f6277d5a649b2acedacfac71f4c418789b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26998795302"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.5.9000",
      "date": "2026-06-05T06:20:07.000Z",
      "arch": "emscripten",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "aef78e66b89589d57cb3edfd732010d1d6c1683b82b3ab3d70a76d1dde5bb8dd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26998795302"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.5.9000",
      "date": "2026-06-05T06:19:10.000Z",
      "arch": "x86_64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "c1201889e2d07087e551ec668f6f38e4fad6a27d8aab8226a749636a4acb6bfc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26998795302"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.5.9000",
      "date": "2026-06-05T06:19:00.000Z",
      "arch": "x86_64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "2d7769aaacbc6a5f66d9f2eeec2259dc1b7f0529e6e712ef7c0c9eb8265b7453",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26998795302"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.5.9000",
      "date": "2026-06-05T06:19:19.000Z",
      "arch": "x86_64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "2e4eb719f4ffededb4cca2e68f215f6698a4a1c9633ab047d8c5cc94fc958c7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/26998795302"
    }
  ]
}