docs: fix repo owner path (jason -> mpm)
This commit is contained in:
+3
-3
@@ -140,7 +140,7 @@ The tool is designed to be embedded as an iframe in the ADA Signage Guidelines K
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
<iframe
|
<iframe
|
||||||
src="https://git.mpm.to/jason/ada-font-analyzer/raw/branch/main/ada-font-analyzer.html"
|
src="https://git.mpm.to/mpm/ada-font-analyzer/raw/branch/main/ada-font-analyzer.html"
|
||||||
width="100%"
|
width="100%"
|
||||||
height="900px"
|
height="900px"
|
||||||
frameborder="0"
|
frameborder="0"
|
||||||
@@ -149,7 +149,7 @@ The tool is designed to be embedded as an iframe in the ADA Signage Guidelines K
|
|||||||
```
|
```
|
||||||
|
|
||||||
**Hosting options:**
|
**Hosting options:**
|
||||||
1. Gitea raw file URL (CoWork-native, recommended) — `https://git.mpm.to/jason/ada-font-analyzer/raw/branch/main/ada-font-analyzer.html`
|
1. Gitea raw file URL (CoWork-native, recommended) — `https://git.mpm.to/mpm/ada-font-analyzer/raw/branch/main/ada-font-analyzer.html`
|
||||||
2. MPM server / CDN static file host
|
2. MPM server / CDN static file host
|
||||||
3. Odoo attachment with direct URL (check if Odoo serves raw attachment files)
|
3. Odoo attachment with direct URL (check if Odoo serves raw attachment files)
|
||||||
|
|
||||||
@@ -162,7 +162,7 @@ The file has no cross-origin dependencies other than `fonts.googleapis.com` and
|
|||||||
When starting a CoWork session to maintain or extend this tool:
|
When starting a CoWork session to maintain or extend this tool:
|
||||||
|
|
||||||
1. **Read this file first** to understand scope, architecture, and current limitations
|
1. **Read this file first** to understand scope, architecture, and current limitations
|
||||||
2. **Load the HTML file** — from Gitea: `https://git.mpm.to/jason/ada-font-analyzer/raw/branch/main/ada-font-analyzer.html`
|
2. **Load the HTML file** — from Gitea: `https://git.mpm.to/mpm/ada-font-analyzer/raw/branch/main/ada-font-analyzer.html`
|
||||||
3. **Key functions to know:**
|
3. **Key functions to know:**
|
||||||
- `parseTTF(buffer)` — binary font table parser, returns `{tables, metrics, errors}`
|
- `parseTTF(buffer)` — binary font table parser, returns `{tables, metrics, errors}`
|
||||||
- `canvasMeasure(fontName, weight)` — canvas pixel scan, returns `{oiRatio, strokePct}`
|
- `canvasMeasure(fontName, weight)` — canvas pixel scan, returns `{oiRatio, strokePct}`
|
||||||
|
|||||||
Reference in New Issue
Block a user