File: font%20cache.md

package info (click to toggle)
ezdxf 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 104,528 kB
  • sloc: python: 182,341; makefile: 116; lisp: 20; ansic: 4
file content (18 lines) | stat: -rw-r--r-- 597 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
alias:: font-cache

- documenation about font caching: <https://ezdxf.mozman.at/docs/tools/fonts.html#font-caching>
- When you install new fonts on your system you have to rebuild the [[font cache]]:
  id:: 6559cccd-b1da-4490-b909-a5cc18d23db7
	- Rebuild the [[font cache]] in a _Python_ script:
	  id:: 6559ccf9-2a1c-4efe-9875-f9a0f5e02b26
	  ```Python
	  import ezdxf
	  from ezdxf.fonts import fonts
	  
	  fonts.build_system_font_cache()
	  ```
	- Call the [[ezdxf]] [[launcher]] to rebuild the [[font-cache]]:
	  id:: 6559cd2e-0bf8-4d2d-885b-3c97ae22f381
	  ```shell
	  ezdxf --fonts
	  ```