# 使用 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mkfontscale>
- **版本:** 1.2.4
- **来源摘要:** Create an index of scalable font files for X
- **主页:** <https://www.x.org/>
- **上游文档:** <https://www.x.org/>
- **许可证:** X11
- **源码归档:** <https://www.x.org/releases/individual/app/mkfontscale-1.2.4.tar.xz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

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

## 依赖

- freetype
- libfontenc

## 构建依赖

- pkgconf
- xorgproto

## macOS 提供的库

- bzip2

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.2.4
- 本地数据: OK
- 上游仓库: https://www.x.org/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mkfontscale
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [freetype](https://pkg.so/zh-hans/brew/freetype/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [xinit](https://pkg.so/zh-hans/brew/xinit/) - Popular package that depends on this formula.
- [libxcvt](https://pkg.so/zh-hans/brew/libxcvt/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [libxpm](https://pkg.so/zh-hans/brew/libxpm/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [bdftopcf](https://pkg.so/zh-hans/brew/bdftopcf/) - Shares pkgdb curated category or tags: cli, fonts, system, x11, xorg.
- [xorg-server](https://pkg.so/zh-hans/brew/xorg-server/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [xinput](https://pkg.so/zh-hans/brew/xinput/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [xauth](https://pkg.so/zh-hans/brew/xauth/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [xkbcomp](https://pkg.so/zh-hans/brew/xkbcomp/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [xeyes](https://pkg.so/zh-hans/brew/xeyes/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
