# Fonts（字体）

字体指纹识别–是您拥有的字体以及如何绘制字体。基于测量文本HTML元素填充的尺寸，可以构建一个标识符，该标识符可用于随时间跟踪同一浏览器。

基于字体指标的指纹与画布指纹紧密结合。这可能是一种较弱的指纹识别技术，因为画布不仅会获取边界框，还会获取像素数据。另一方面，字体指纹更难防御。

文本渲染是网络浏览器的一个细微而复杂的部分。甚至在拉丁字母中，布局也不仅仅是将框堆叠在一起：连字，字距调整和组合字符等考虑因素都已发挥作用。其他一些书写系统甚至更加复杂，导致浏览器依赖于OS提供的库来进行文本布局。这些库，包括GNU / Linux上的Pango，Windows上的图形设备接口（GDI）或DirectWrite，以及Mac OS X上的Core Text，都是独立的代码库，行为不相同。浏览器还在基本文本呈现之上强加了自己的自定义项。

资料来源：<https://browserleaks.com/fonts>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.bitbrowser.net/zh/fingerprint/10.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
