# 使用 Homebrew, apk, dnf, MacPorts, Nix, zypper 安装 mkfontscale

查看 mkfontscale 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:mkfontscale
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mkfontscale
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mkfontscale
```

  证据: MacPorts ports tree: x11/mkfontscale/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add mkfontscale
```

  证据: Alpine Linux edge package indexes: mkfontscale from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install mkfontscale
```

  证据: Fedora Rawhide package metadata: mkfontscale from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mkfontscale
```

  证据: nixpkgs package indexes: pkgs/by-name/mk/mkfontscale/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install mkfontscale
```

  证据: openSUSE Tumbleweed package metadata: mkfontscale from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:mkfontscale
- **软件包管理器:** Homebrew
- **版本:** 1.2.4
- **来源摘要:** Create an index of scalable font files for X
- **主页:** <https://www.x.org/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mkfontdir (别名)
- mkfontscale (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.2.4
## 项目历史与用法

mkfontscale is an X.Org command-line utility for the legacy X11 font system. Its manual states that the version shipped with X.Org was originally written by Juliusz Chroboczek for the XFree86 project and that its functionality was inspired by Joerg Pommnitz's ttmkfdir utility. The program scans scalable font files and writes index data that X11 font machinery can use; the related mkfontdir command creates fonts.dir files.

### 使用方式

The package's role is infrastructural rather than application-facing. X.Org and downstream package managers keep it available for systems that still need X11 core font directories, scalable font indexes, or compatibility with older X font workflows. The freedesktop GitLab project describes it as utilities for creating the fonts.scale and fonts.dir index files used by the legacy X11 font system, while Homebrew packages it with freetype and libfontenc dependencies and installs both mkfontscale and mkfontdir.

### 来源

- <https://formulae.brew.sh/api/formula/mkfontscale.json>
- <https://gitlab.freedesktop.org/api/v4/projects/xorg%2Fapp%2Fmkfontscale>
- <https://gitlab.freedesktop.org/xorg/app/mkfontscale>
- <https://www.x.org/archive/X11R7.5/doc/man/man1/mkfontscale.1.html>
- <https://www.x.org/releases/current/doc/man/man1/mkfontscale.1.xhtml>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - mkfontscale: normalized package name match | nixpkgs package indexes: pkgs/by-name/mk/mkfontscale/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - mkfontscale - 1.2.4-r0: normalized package name match | Alpine Linux edge package indexes: mkfontscale from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Scalable font index generator for X | https://xorg.freedesktop.org/
- apk - mkfontscale-doc - 1.2.4-r0: normalized package name match | Alpine Linux edge package indexes: mkfontscale-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Scalable font index generator for X (documentation) | https://xorg.freedesktop.org/
- dnf - mkfontscale - 1.2.4-5.fc45: normalized package name match | Fedora Rawhide package metadata: mkfontscale from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tool to generate legacy X11 font system index files | https://www.x.org
- zypper - mkfontscale - 1.2.4-1.4: normalized package name match | openSUSE Tumbleweed package metadata: mkfontscale from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Utility to create index of scalable font files for X | https://xorg.freedesktop.org/
- MacPorts - mkfontscale: normalized package name match | MacPorts ports tree: x11/mkfontscale/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - mkfontdir: installed executable or alias match | nixpkgs package indexes: mkfontdir from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix


## Combined YAML source

View the package source record on GitHub. [combined/mkfontscale.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mkfontscale.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
