{"id":19954030,"url":"https://github.com/mkht/dscr_font","last_synced_at":"2025-10-29T02:42:33.325Z","repository":{"id":53784238,"uuid":"93953843","full_name":"mkht/DSCR_Font","owner":"mkht","description":"PowerShell DSC Resource to add / remove Font.","archived":false,"fork":false,"pushed_at":"2021-03-14T08:38:01.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-29T15:34:06.440Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkht.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-10T17:06:04.000Z","updated_at":"2021-03-14T08:12:23.000Z","dependencies_parsed_at":"2022-09-26T21:40:27.571Z","dependency_job_id":null,"html_url":"https://github.com/mkht/DSCR_Font","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkht%2FDSCR_Font","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkht%2FDSCR_Font/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkht%2FDSCR_Font/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkht%2FDSCR_Font/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkht","download_url":"https://codeload.github.com/mkht/DSCR_Font/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241382622,"owners_count":19953972,"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":[],"created_at":"2024-11-13T01:18:38.347Z","updated_at":"2025-10-29T02:42:33.218Z","avatar_url":"https://github.com/mkht.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"DSCR_Font\r\n====\r\n\r\nPowerShell DSC Resource to add / remove Font.\r\n\r\n## Install\r\nYou can install Resource through [PowerShell Gallery](https://www.powershellgallery.com/packages/DSCR_Font/).\r\n```Powershell\r\nInstall-Module -Name DSCR_Font\r\n```\r\n\r\n## Resources\r\n* **cFont**\r\nPowerShell DSC Resource to add / remove Font.\r\n\r\n## Properties\r\n### cFont\r\n+ [string] **Ensure** (Write):\r\n    + Specify installation state of the font.\r\n    + The default value is Present. { Present | Absent }\r\n\r\n+ [string] **FontName** (Key):\r\n    + The name of the font.\r\n    + You should specify the exact font name. To check the font name, install the font manually and refer to the `HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Fonts` registry key.\r\n\r\n+ [string] **FontFile** (Require):\r\n    + The path of the font file.\r\n    + You can specify remote file path. (UNC/http/https/ftp)\r\n    + Make sure the extension of the file path is { .ttf | .ttc | .otf | .fon}\r\n\r\n+ [PSCredential] **Credential** (Write):\r\n    + The credential for access to remote source if needed.\r\n\r\n## Examples\r\n+ **Example 1**: Install the \"Noto Serif\" font\r\n```Powershell\r\nConfiguration Example1\r\n{\r\n    Import-DscResource -ModuleName DSCR_Font\r\n    cFont Add_NotoSerif\r\n    {\r\n        Ensure   = 'Present'\r\n        FontName = 'Noto Serif (TrueType)'\r\n        FontFile = 'C:\\NotoSerif-Regular.ttf'\r\n    }\r\n}\r\n```\r\n\r\n+ **Example 2**: Remove the \"Noto Sans\" font\r\n```Powershell\r\nConfiguration Example2\r\n{\r\n    Import-DscResource -ModuleName DSCR_Font\r\n    cFont Remove_NotoSans\r\n    {\r\n        Ensure   = 'Absent'\r\n        FontName = 'Noto Sans Regular (TrueType)'\r\n        FontFile = 'NotoSans-Regular.ttf'\r\n    }\r\n}\r\n```\r\n\r\n## ChangeLog\r\n### v0.7.0\r\n+ Fix compatibility with Windows 10 1809 or later.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkht%2Fdscr_font","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkht%2Fdscr_font","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkht%2Fdscr_font/lists"}