{"id":23057552,"url":"https://github.com/bodoni/webtype","last_synced_at":"2026-03-08T01:08:32.181Z","repository":{"id":65739627,"uuid":"598591894","full_name":"bodoni/webtype","owner":"bodoni","description":"Parser for fonts in Web Open Font Format","archived":false,"fork":false,"pushed_at":"2024-08-30T13:14:16.000Z","size":183,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-12-07T19:55:53.297Z","etag":null,"topics":["font","parsing","typeface","typography","woff","woff2"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bodoni.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-07T12:33:18.000Z","updated_at":"2024-08-30T13:14:20.000Z","dependencies_parsed_at":"2024-05-17T15:08:56.888Z","dependency_job_id":null,"html_url":"https://github.com/bodoni/webtype","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodoni%2Fwebtype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodoni%2Fwebtype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodoni%2Fwebtype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodoni%2Fwebtype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bodoni","download_url":"https://codeload.github.com/bodoni/webtype/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229897403,"owners_count":18141135,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["font","parsing","typeface","typography","woff","woff2"],"created_at":"2024-12-16T02:12:59.883Z","updated_at":"2026-03-08T01:08:32.141Z","avatar_url":"https://github.com/bodoni.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebType [![Package][package-img]][package-url] [![Documentation][documentation-img]][documentation-url] [![Build][build-img]][build-url]\n\nThe package provides a parser for fonts in Web Open Font Format. It might be\nhelpful to have a look at a higher-level abstraction called [`font`][font],\nwhich internally relies on this package.\n\n## Example\n\n```rust\nuse webtype::opentype::truetype::tables::FontHeader;\nuse webtype::File;\n\nmacro_rules! ok(($result:expr) =\u003e ($result.unwrap()));\n\nlet path = \"NotoNaskhArabic-Regular.woff2\";\nlet mut tape = ok!(std::fs::File::open(path));\nlet File { mut fonts, mut tape } = ok!(File::read(\u0026mut tape));\n\nlet font_header = ok!(ok!(fonts[0].take::\u003c_, FontHeader\u003e(\u0026mut tape)));\nassert_eq!(font_header.units_per_em, 2048);\n```\n\n## Contribution\n\nYour contribution is highly appreciated. Do not hesitate to open an issue or a\npull request. Note that any contribution submitted for inclusion in the project\nwill be licensed according to the terms given in [LICENSE.md](LICENSE.md).\n\n[font]: https://github.com/bodoni/font\n\n[build-img]: https://github.com/bodoni/webtype/workflows/build/badge.svg\n[build-url]: https://github.com/bodoni/webtype/actions/workflows/build.yml\n[documentation-img]: https://docs.rs/webtype/badge.svg\n[documentation-url]: https://docs.rs/webtype\n[package-img]: https://img.shields.io/crates/v/webtype.svg\n[package-url]: https://crates.io/crates/webtype\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodoni%2Fwebtype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbodoni%2Fwebtype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodoni%2Fwebtype/lists"}