# \#font

**URL:** https://forum.mupdf.com/tag/font/5.md

[Latest](https://forum.mupdf.com/latest.md) · [Categories](https://forum.mupdf.com/categories.md) · [Tags](https://forum.mupdf.com/tags.md)

---

## [Import pymupdf4llm silently activates pymupdf.layout and changes find\_tables() results](https://forum.mupdf.com/t/import-pymupdf4llm-silently-activates-pymupdf-layout-and-changes-find-tables-results/350)

<div class="topic-metadata">

**Author:** [@Pierpaolo\_Ferrante](https://forum.mupdf.com/u/Pierpaolo_Ferrante)\
**Replies:** 1\
**Last updated:** [May 24, 2026, 1:33pm UTC](https://forum.mupdf.com/t/import-pymupdf4llm-silently-activates-pymupdf-layout-and-changes-find-tables-results/350 "2026-05-24T13:33:04Z")

</div>

Environment pymupdf version: 1.27.2.3 pymupdf4llm version: 1.27.2.3 Python: 3.12.3 (also reproduced on 3.14, Windows) OS: tested on Linux and Windows Summary Simply importing pymupdf4llm — without using an…

---

## [Embed Font in existing PDF](https://forum.mupdf.com/t/embed-font-in-existing-pdf/283)

<div class="topic-metadata">

**Author:** [@arne123](https://forum.mupdf.com/u/arne123)\
**Replies:** 6\
**Last updated:** [May 20, 2026, 11:01pm UTC](https://forum.mupdf.com/t/embed-font-in-existing-pdf/283 "2026-05-20T23:01:16Z")

</div>

Hi there, I do have a legacy 3rd party tool, generating a pdf with a lot of graphics and texts. This tool can not embed fonts. This Tool somehow removes spaces from font names. I use “JetBrains Mono” for some texts, …

---

## [Pymupdf4llm forcing re-OCR, on doc that has ocr\_spans](https://forum.mupdf.com/t/pymupdf4llm-forcing-re-ocr-on-doc-that-has-ocr-spans/336)

<div class="topic-metadata">

**Author:** [@digger250](https://forum.mupdf.com/u/digger250)\
**Replies:** 9\
**Last updated:** [April 17, 2026, 1:02am UTC](https://forum.mupdf.com/t/pymupdf4llm-forcing-re-ocr-on-doc-that-has-ocr-spans/336 "2026-04-17T01:02:44Z")

</div>

This is a PDF where OCR has already been done on it: Whenever I run pymupdf4llm.to\_markdown, it determines it needs to re-OCR it. Here is the output of pymupdf4llm.helpers.utils.analyze\_page: \`\`\` {‘covered’: Rect(0…

---

## [Page.get\_texttrace(): Font glyph id and font subsets](https://forum.mupdf.com/t/page-get-texttrace-font-glyph-id-and-font-subsets/260)

<div class="topic-metadata">

**Author:** [@Vallery](https://forum.mupdf.com/u/Vallery)\
**Replies:** 1\
**Last updated:** [January 7, 2026, 10:34pm UTC](https://forum.mupdf.com/t/page-get-texttrace-font-glyph-id-and-font-subsets/260 "2026-01-07T22:34:20Z")

</div>

The chars given by page.get\_texttrace() includes font glyph id and its font name. However, provided that fonts in pdf usually come in multiple subsets, does pymupdf include any information about which subset a font glyph…

---

## [PyMuPDF and using custom TrueType font](https://forum.mupdf.com/t/pymupdf-and-using-custom-truetype-font/168)

<div class="topic-metadata">

**Author:** [@Jamie\_Lemon](https://forum.mupdf.com/u/Jamie_Lemon)\
**Replies:** 2\
**Last updated:** [September 24, 2025, 3:07pm UTC](https://forum.mupdf.com/t/pymupdf-and-using-custom-truetype-font/168 "2025-09-24T15:07:57Z")

</div>

Hello @HaraldLieder ! I’m trying to use a TTF font file to render some text as follows: import pymupdf doc = pymupdf.open() n = doc.insert\_page(-1) page = doc\[0\] pontano = pymupdf.Font(fontname="Pontano Sans Regular",…
